programming
What are the types of programming languages?
What is programming language?
Complete Guide to Becoming a Web Developer
How to learn programming
Basic concepts of programming. Those who are reading this post must have come to know about the program. Today I will learn and know programming with you in simple and very simple language. In this era of information technology, it is very important to know these things. Let's start
translator program
A program written in a language other than the machine language is called a translator program . The program used to translate the machine language is called a translator program . The translator program translates the computer source program into machine language and converts it into an object program. The source program isthe language in which the program was originally written . Either that means the program to write the program is the source program or the source program . And the conversion of the source program into machine language is called the object program program .
compiler
Compiler
translates high level language into machine language . Compiler reads the complete program together and translates it together . Different types of compilers are used to convert different types of high-level languages into machine language , such as compilers can translate BASIC language programs into machine language translations and so on .
Fortran
can not translate programs into Cobalt . _
Interpreter
Interpreter
's job is to convert high- level language
into machine language . Compiler done reads and translatesthe program all at once but interpreter reads and translates one line at a time .
Inter
- printer programs take longer to execute than compilers . _ .
Structure of a program
To solve a problem with the help of a computer , first see what the problem is ? The input will be . what _ The type of processing will be done . And how to take the result . So it can be said that every program consists of these main parts .
Input
- this part gives the required data or instructions to the
program .
Processing – Input data Processing is done according and instructions .
Result - none Displays the results of processing section .
Steps to create a
program
Programs are created to solve any problem with the help of computer . Correctly program the program or the user while writing or using the program
must be careful to write or use the
. a ideal exact requirement is to modify and enhance the program properly and for long -term use of the program
How many ways are divided and from the beginning the program has to be written by completing the steps step by step .
Program Writing
Steps
are given
below
1.Finding information and describing the problem
2. Analysis of the problem
3. Program Design Algorithm Flowchart Sudocode
4.
Write programs or coding
5. Program
implementation
6. Program
documentation
7. Program
maintenance
Information search and
describing the problem
To solve a problem with the help of computer To get a clear idea about the problem . To be well aware of what kind of problem to solve . The problem is about what kind of input will be and what kind of output will be required through proper analysis
Decide
the .
Problem analysis
After identifying the problem , analyze it and solve it
a be . The topics in this
section covered in are given below _ _
1.
Whether a computer is needed to solve the problem Determining the problem
2. Prepare a
structured description of the problem
3. If necessary
Preparation of mathematical model of the problem if necessary
4. Describing input output characteristics
5. Input
output equipment Selection and computer as required memory as
Also how much time it will take to solve the problem of this part and how much time to spend
determines how it will .
Program design
After problem analysis the program design
work is started . The most important task of program design is to design the output . output
Input is processed according to
The following points of design in the program considers the of viz
1. Output
design
2. Input design
3.
Design the relationship between input and output
4. Under consideration of all the problems in implementing the various parts of the program
steps should be followed to
5. Algorithm
6.
Flowchart
7. Pseudocode
Algorithm -
Algorithm is the most essential part of writing a program to solve a problem . The steps from beginning to end of algorithm program writing and execution are listed step by step
- step .
Flowcharting - The most essential
part of writing a program to solve a problem is just as well as the sequential representation of an algorithm written for writing a program is called a flowchart . This phase describes the algorithm 's mathematical and logical steps with the help of design
with the It makes program coding easier _
.
Pseudocode - Pseudocode
is a Greek
word
meaning that which is not true .
As an alternative to programming algorithms
An describing program steps in simple yet concise language _ _
.
Many programs use this sudo code before coding the program . The difference between sudocode and algorithm is that in algorithm , the tasks to be done by the program are described in simple language in complete sentences . On the other hand, some work. How many words are the programming steps for the functions to be performed ?
A description performed .
Writing programming
or _
After creating the algorithm and flowchart , the actual program is written . Which language to write the program depends on the structure and type of the program . Writing programs according to algorithms and flowcharts or writing programming and language is called coding .
Program Execution –
After coding the program , the program is executed . In this part the program is tested to see if there are any errors in the program . Almost all programs have typos and some mistakes
. _ _ _ What is called a program error ?
bug
And
the method of correcting program errors is called Debugging Program implementation has 2 steps
1. Program debugging .
2. Program testing
Program Documentation –
Program documentation refers to the description of the problem coding algorithms and flowcharts . Preparation of written description document of test results etc. necessary instructions for the user . Every step of programming should be documented as documentation helps in creating the program and thus the program is permanently saved
. No documentationhow
if there are any changes the program later It becomes difficult or impossible to program specially written by others . That 's why the program
documentation is very important.
program Debugging
A program
error is called a bug . The process of correcting a program error
is called debugging a program .
is divided into viz .
1. Syntax incorrect
2. Logical
3. Information incorrect
Debugging is the process of finding and correcting errors in a program . _ After that , any errors that remain are remotely corrected first by syntax errors
are the and then the logical mistakes .
Ideal program
and
its
qualities
যে
প্রগ্রামে কম্পিউটার প্রোগ্রামের যাবতীয় গুণাবলী বা বৈশিষ্ট্য বিদ্যমান
থাকে তাকে আদর্শ প্রোগ্রাম বলে । আধুনিক মাইক্রোকম্পিউটারের
বিভিন্ন প্রকার প্রোগ্রাম ব্যবহার করা হয়. যেমন basic pascal dbase
c++ ইত্যাদি
১।সমস্যাটি সঠিকভাবে চিহ্নিত
করতে হবে
২। প্রোগ্রামটি নির্ভুল
হতে হবে
৩। নির্দেশ সমূহের
যুক্তিপূর্ণ বিন্যাস হতে হবে
4. Instructions should be arranged in sequence
5. Instructions should be as simple and concise as
possible
6. The program should be easily modified and modified _
Program documentation must be in place
Algorithm - The word algorithm
Post a Comment