Quiz
INTRODUCTION TO PROGRAMING AND ALGORITHM
INSTRUCTIONS
1. Do not write anything on this question paper
2. Answer question ONE (compulsory) and Any other THREE questions
Question one
a) Define the following as used in computer programming (6 Marks)
i) Program
ii) Algorithm
iii) Compiler
iv) Data type
v) Variable
b) Discuss two types of programming languages (4 Marks)
c) Explain three (3)
i) Advantages of each of the programming languages (6 Marks)
ii) Disadvantage of each type of programming languages (6 Marks)
d) Describe a flow chart as used in computer programming (3 Marks)
Question Two
a) Discuss seven stages of writing a computer program (7 Marks)
b) Explain four advantages of using a pseudo code ( 4 Marks)
c) Define control structures (3 Marks)
d) Flow of control through any given function is implemented with three basic types of control
structures. Name and explain (6 Marks)
INTRODUCTION TO PROGRAMING AND ALGORITHM
INSTRUCTIONS
1. Do not write anything on this question paper
2. Answer question ONE (compulsory) and Any other THREE questions
Question one
a) Define the following as used in computer programming (6 Marks)
i) Program
ii) Algorithm
iii) Compiler
iv) Data type
v) Variable
b) Discuss two types of programming languages (4 Marks)
c) Explain three (3)
i) Advantages of each of the programming languages (6 Marks)
ii) Disadvantage of each type of programming languages (6 Marks)
d) Describe a flow chart as used in computer programming (3 Marks)
Question Two
a) Discuss seven stages of writing a computer program (7 Marks)
b) Explain four advantages of using a pseudo code ( 4 Marks)
c) Define control structures (3 Marks)
d) Flow of control through any given function is implemented with three basic types of control
structures. Name and explain (6 Marks)