lOMoARcPSD|30088291
Structured Programming Revision Questions
Communication skills (University of Embu)
Scan to open on Studocu
Studocu is not sponsored or endorsed by any college or university
Downloaded by Jabez Onunda ()
, lOMoARcPSD|30088291
STRUCTURED PROGRAMMING REVISION
C AND PASCAL
1|Page
Downloaded by Jabez Onunda ()
, lOMoARcPSD|30088291
PROGRAMMING LANGUAGES REVISION
QUESTIONS
1. Outline four functions of a computer compiler (4 marks)
2. Describe each of the following terms as used in programming
a. Structured programming (2 marks)
b. Web scripting programming (2 marks)
3. Under which circumstance would a programmer choose to use fifth generation
programming language (2 marks)
4. Distinguish between monolithic and modular programming approaches
(4 marks)
5. Differentiate between source code and object code as used in computer
programming (4 marks)
6. Describe compilation as used in programming (2 marks)
7. An ICT company intends to develop a new program. The team leader is faced
with a challenge over which programming language to use. Explain four factors
that the leader should consider when making a decision (8 marks)
8. Outline four characteristics of assembly language (4 marks)
9. Explain three reasons for developing a computer program (6 marks)
10. Patrick, a programmer, developed a program for his client. Outline four ways that
he could make the program easy to read and understandable (4 marks)
11. Maria decided to use a compiler rather than an interpreter during program
translation. Outline four reasons that could have led her to make this decision
(4 marks)
12. Distinguish between program designing and program coding stages in system
development (4 marks)
13. Define the term modular programming (2 marks)
14. Outline four advantages of monolithic programming (4 marks)
15. Describe three features of third generation programming languages (6 marks)
16. Outline three sources of programming projects (3 marks)
17. State four examples of structured programming language other than Pascal and
C languages (2 marks)
18. Outline four advantages of assembly language (4 marks)
19. Give four examples of tokens in assembly language (4 marks)
20. Write a simple assembly language program to add two integer numbers by an
x86 microprocessor (4 marks)
21. Outline four factors to consider when selecting an appropriate programming
language (4 marks)
22. Explain each of the following approaches in structured programming
a. Top- down (2 marks)
b. Bottom – up (2 marks)
2|Page
Downloaded by Jabez Onunda ()
, lOMoARcPSD|30088291
23. Distinguish between procedural and non-procedural languages (4 marks)
24. Explain two reasons that would make a programmer to opt for top-down design
when developing a program (4 marks)
25. Outline three types of utility programs used in program translation (3 marks)
26. Explain the term module as used in programming (2 marks)
27. Outline three advantages of structured programming languages (3 marks)
28. Explain three advantages of modular programming (6 marks)
29. Distinguish between object oriented and visual programming (2 marks)
30. State four programming paradigms giving an example of a programming
language in each case (8 marks)
31. Explain each of the following stages used when solving a problem through
computer programming
a. Problem definition
b. Writing an algorithm
c. Testing the solution (6 marks)
32. Distinguish between compilation and debugging as used in programming
(2 marks)
33. Explain the term procedural programming (2 marks)
34. Outline two circumstances that would make a programmer to use structured
programming languages when writing a program (2 marks)
35. Outline three circumstances under which a programmer would prefer to use an
interpreter when translating a program (3 marks)
36. Explain the term stepwise refinement as used in programming (2 marks)
37. Two programmers shared the work of creating a program amongst themselves
a. Identify the programming approach that they are using (1 mark)
b. Outline three advantages of this approach (3 marks)
38. Outline four advantages of machine language (4 marks)
39. John, a programmer at Waka Computer solutions created a program using
unstructured programming language. Outline four challenges he may have
encountered (4 marks)
40. Outline four advantages of bottom –up approach in structured programming
(4 marks)
3|Page
Downloaded by Jabez Onunda ()
Structured Programming Revision Questions
Communication skills (University of Embu)
Scan to open on Studocu
Studocu is not sponsored or endorsed by any college or university
Downloaded by Jabez Onunda ()
, lOMoARcPSD|30088291
STRUCTURED PROGRAMMING REVISION
C AND PASCAL
1|Page
Downloaded by Jabez Onunda ()
, lOMoARcPSD|30088291
PROGRAMMING LANGUAGES REVISION
QUESTIONS
1. Outline four functions of a computer compiler (4 marks)
2. Describe each of the following terms as used in programming
a. Structured programming (2 marks)
b. Web scripting programming (2 marks)
3. Under which circumstance would a programmer choose to use fifth generation
programming language (2 marks)
4. Distinguish between monolithic and modular programming approaches
(4 marks)
5. Differentiate between source code and object code as used in computer
programming (4 marks)
6. Describe compilation as used in programming (2 marks)
7. An ICT company intends to develop a new program. The team leader is faced
with a challenge over which programming language to use. Explain four factors
that the leader should consider when making a decision (8 marks)
8. Outline four characteristics of assembly language (4 marks)
9. Explain three reasons for developing a computer program (6 marks)
10. Patrick, a programmer, developed a program for his client. Outline four ways that
he could make the program easy to read and understandable (4 marks)
11. Maria decided to use a compiler rather than an interpreter during program
translation. Outline four reasons that could have led her to make this decision
(4 marks)
12. Distinguish between program designing and program coding stages in system
development (4 marks)
13. Define the term modular programming (2 marks)
14. Outline four advantages of monolithic programming (4 marks)
15. Describe three features of third generation programming languages (6 marks)
16. Outline three sources of programming projects (3 marks)
17. State four examples of structured programming language other than Pascal and
C languages (2 marks)
18. Outline four advantages of assembly language (4 marks)
19. Give four examples of tokens in assembly language (4 marks)
20. Write a simple assembly language program to add two integer numbers by an
x86 microprocessor (4 marks)
21. Outline four factors to consider when selecting an appropriate programming
language (4 marks)
22. Explain each of the following approaches in structured programming
a. Top- down (2 marks)
b. Bottom – up (2 marks)
2|Page
Downloaded by Jabez Onunda ()
, lOMoARcPSD|30088291
23. Distinguish between procedural and non-procedural languages (4 marks)
24. Explain two reasons that would make a programmer to opt for top-down design
when developing a program (4 marks)
25. Outline three types of utility programs used in program translation (3 marks)
26. Explain the term module as used in programming (2 marks)
27. Outline three advantages of structured programming languages (3 marks)
28. Explain three advantages of modular programming (6 marks)
29. Distinguish between object oriented and visual programming (2 marks)
30. State four programming paradigms giving an example of a programming
language in each case (8 marks)
31. Explain each of the following stages used when solving a problem through
computer programming
a. Problem definition
b. Writing an algorithm
c. Testing the solution (6 marks)
32. Distinguish between compilation and debugging as used in programming
(2 marks)
33. Explain the term procedural programming (2 marks)
34. Outline two circumstances that would make a programmer to use structured
programming languages when writing a program (2 marks)
35. Outline three circumstances under which a programmer would prefer to use an
interpreter when translating a program (3 marks)
36. Explain the term stepwise refinement as used in programming (2 marks)
37. Two programmers shared the work of creating a program amongst themselves
a. Identify the programming approach that they are using (1 mark)
b. Outline three advantages of this approach (3 marks)
38. Outline four advantages of machine language (4 marks)
39. John, a programmer at Waka Computer solutions created a program using
unstructured programming language. Outline four challenges he may have
encountered (4 marks)
40. Outline four advantages of bottom –up approach in structured programming
(4 marks)
3|Page
Downloaded by Jabez Onunda ()