Page 105 - Computer Science Class 11 With Functions
P. 105
Ø Pseudocode is an algorithm using constructs similar to a programming language but not specific to any
programming language.
Ø Coding is the process of translating an algorithm into a computer program.
Ø Source code and code are synonyms for the program.
Ø Debugging is the process of removing errors from a program.
Ø A variable is a name for a sequence of memory locations.
Ø Sequential flow (straight-line program) is a sequence of instructions that are executed exactly once in the
same sequence in which they appear.
Solved Exercise
A. Multiple Choice questions
1. Which of the following is the correct sequence of steps in problem-solving cycle?
a. Problem Analysis → Program Design → Testing and Debugging → Coding
b. Problem Analysis → Program Design → Coding → Testing and Debugging
c. Program Design → Problem Analysis → Coding → Testing and Debugging
d. Program Design → Problem Analysis → Testing and Debugging → Coding
2. In which of the following steps of the problem-solving cycle, do we identify the inputs needed and output produced by the
program?
a. Coding b. Testing and Debugging c. Problem Analysis d. Program Design
3. In which of the following steps of the Problem-Solving cycle, is the solution of the problem represented in the form of an
algorithm, flowchart, or pseudocode?
a. Problem Analysis b. Coding c. Testing and Debugging d. Program Design
4. Which of the following is not a high level language?
a. Python b. C++ c. Machine language d. Java
5. Which of the following is a correct symbol for a decision box?
a.
b.
c.
d.
B. State whether the following statements are True or False:
1. Once a program has been developed, it should always be tested. _________
2. A pseudocode almost looks like code written in a programming language. _________
3. A pseudocode should never be language-independent. _________
4. A pseudocode is the same as a flowchart. _________
5. A flowchart is a pictorial description of an algorithm. _________
6. A pseudocode can be executed using a computer. _________
Problem Solving 103

