SOUTH EASTERN KENYA UNIVERSITY
UNIVERSITY EXAMINATIONS 2022/2023
SEPTEMBER/DECEMBER: SERIES FOR BUSINESS AND TECHNICAL
EXAMINANITIONS MODULE 1
2920: DIPLOMA IN INFORMATION AND COMMUNICATION TECHNOLOGY
PAPER CODE: 2920/103B: STRUCTURED PROGRAMMING IN PASCAL.
DATE: 13TH DECEMBER 2022. TIME: 4:00 – 6:00PM
INSTRUCTIONS TO CANDIDATES
This paper consists of FIVE questions.
Attempt ALL the Questions
All questions must be answered in English
All answers should be written in the provided booklet.
1. (a) Differentiate between structured and unstructured programming. (4marks)
(b) Explain two reasons why program documentation is necessary in all stages (2marks)
of system development.
(c) Outline any four stages of the Software Development Life Cycle. (4marks)
(d) Data types are core to programming languages. What do you understand by the (4marks)
term “Data type?” Giving examples explain any four of the main data types
supported in Pascal.
(4marks)
2. (a) Outline the syntax of a Pascal program.
(b) Using a Pascal Code segment, differentiate between variable declaration and variable
initialization. (4marks)
Page 1 of 3
UNIVERSITY EXAMINATIONS 2022/2023
SEPTEMBER/DECEMBER: SERIES FOR BUSINESS AND TECHNICAL
EXAMINANITIONS MODULE 1
2920: DIPLOMA IN INFORMATION AND COMMUNICATION TECHNOLOGY
PAPER CODE: 2920/103B: STRUCTURED PROGRAMMING IN PASCAL.
DATE: 13TH DECEMBER 2022. TIME: 4:00 – 6:00PM
INSTRUCTIONS TO CANDIDATES
This paper consists of FIVE questions.
Attempt ALL the Questions
All questions must be answered in English
All answers should be written in the provided booklet.
1. (a) Differentiate between structured and unstructured programming. (4marks)
(b) Explain two reasons why program documentation is necessary in all stages (2marks)
of system development.
(c) Outline any four stages of the Software Development Life Cycle. (4marks)
(d) Data types are core to programming languages. What do you understand by the (4marks)
term “Data type?” Giving examples explain any four of the main data types
supported in Pascal.
(4marks)
2. (a) Outline the syntax of a Pascal program.
(b) Using a Pascal Code segment, differentiate between variable declaration and variable
initialization. (4marks)
Page 1 of 3