Page 79 - Touchcode_C8_Flipbook
P. 79
Exercise
A. Tick ( ) the correct option.
1. Which of the following is an ordered set of instructions or tasks?
a. Sequence b. Selection
c. Iteration d. Looping
2. Which of the following is an unexpected problem in your program?
a. Bug b. Value
c. Data d. Algorithm
3. Which of the following are the basic building blocks to write an algorithm?
a. Sequencing b. Selection
c. Iteration d. All of the above
4. Which of the following describes the sequence?
a. Our manner of thinking can be easily replicated in sequence programming
b. Sequence of programming reflects logical thinking
c. Both a. and b.
d. None of the above
5. Which of the following is a step by step process of solving a problem?
a. Algorithm b. Sequencing
c. Loops d. Selection
B. State whether the following statements are true (T) or false (F).
1. In programming, tasks need to be done in the correct sequence to get the
desired output.
2. A sequence is an unordered set of instructions.
3. An algorithm is a process or set of rules which need to be followed to solve
the given problem.
4. A bug is an expected problem in your program.
5. Sequencing, selection and iteration help to uncover the solution to
a complex problem.
Advanced Sequencing 77

