Planning a computer program involves creating an image of how the program will be created and run. There are three main types of planning and problem solving tools for computer programs: algorithms, flow charts, and pseudo codes. Algorithms use well-defined steps, flow charts provide a visual representation of the algorithm using different symbols, and pseudo codes write the program logic in a simplified syntax closer to a high-level language.
Planning a computer program involves creating an image of how the program will be created and run. There are three main types of planning and problem solving tools for computer programs: algorithms, flow charts, and pseudo codes. Algorithms use well-defined steps, flow charts provide a visual representation of the algorithm using different symbols, and pseudo codes write the program logic in a simplified syntax closer to a high-level language.
Planning a computer program involves creating an image of how the program will be created and run. There are three main types of planning and problem solving tools for computer programs: algorithms, flow charts, and pseudo codes. Algorithms use well-defined steps, flow charts provide a visual representation of the algorithm using different symbols, and pseudo codes write the program logic in a simplified syntax closer to a high-level language.
• Planning means creating an image about what you will do in
future. In computer programming it means creating an image about how you will create a specific program.
Planning and problem solving of computer can be divided into
three types. * Algorithms * Flow Charts * Pseudo codes. Alograthims It is a set of well defined instructions in a sequence to solve a problem. An algorithm should have • A clear starting point, • Clear processing steps. • A clear stopping point. It is written in a format that is closer to higher level language. Forexample Step 1: Start Step 2: Declare variables number 1, number 2 and sum Step 3: Read values. Step 4: Add number 1 and number 2 and store in sum Step 5: Display Sum Step 6: Stop Flow Charts It is a visual representation of algorithm . You can also say that is the diagrammatic representation of an algorithm. Importance of flow chart: • Using flow chart technique the sequence of program can be easily determined. • Different Symbols are used to show the flow of program. Pseudo Codes: It is a simple way of writing a program code in a syntax closer to high level language. It does not use program language syntax. It is a simple phrase to plan our program before we actually develop a program. A pseudo code: • Helps to understand the program easy way. • Is easy to understand. • Is generally short and precise.