Page 80 - Touchcode_C8_Flipbook
P. 80
C. Fill in the blanks.
HELP BOX error, selection, algorithm, iteration, bug
1. ........................... is an example of sequence.
2. ........................... describe any unexpected problem with hardware or software.
3. Skipping any step of the given sequence leads to ........................... in the program.
4. Making decision is an example of ........................... .
5. ........................... means repeating the block of code for multiple times
D. Match the following:
1. Sequence a. Making choice
2. Bug b. Repeating a block of code
3. Selection c. Ordered set of tasks
4. Iteration d. Change in the expected and actual output of the program
E. Answer the following questions:
1. What do you mean by bug?
.............................................................................................................................................................
.............................................................................................................................................................
2. Define the term algorithm.
.............................................................................................................................................................
.............................................................................................................................................................
3. Name the three basic building blocks of an algorithm.
.............................................................................................................................................................
.............................................................................................................................................................
4. Define the term sequencing.
.............................................................................................................................................................
.............................................................................................................................................................
Applied Project
To find the area of a triangle by using Heron’s formula
In this task you will learn to find the area of a triangle by using the Heron’s formula.
To perform the task, follow the steps:
78 Touchcode-VIII

