0% found this document useful (0 votes)
14 views

Rift Valley Institute of Science and Technology

This document contains instructions for a written assessment to develop a computer program. It has two sections - Section A contains 11 short answer questions about programming concepts like variables, data types, errors, and testing. Section B asks to attempt any 3 of 4 extended response questions, including explaining program development tools, creating an algorithm and data flow chart for a voting process, drawing a flowchart for a program that accepts values and finds a sum, and writing a C program to perform various calculations.

Uploaded by

hillary kiprono
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Rift Valley Institute of Science and Technology

This document contains instructions for a written assessment to develop a computer program. It has two sections - Section A contains 11 short answer questions about programming concepts like variables, data types, errors, and testing. Section B asks to attempt any 3 of 4 extended response questions, including explaining program development tools, creating an algorithm and data flow chart for a voting process, drawing a flowchart for a program that accepts values and finds a sum, and writing a C program to perform various calculations.

Uploaded by

hillary kiprono
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

ICT TECHNICIAN-L6-23S.

RIFT VALLEY INSTITUTE OF SCIENCE AND TECHNOLOGY

MAIN CAMPUS
ICT DEPARTMENT
ICT TECHNICIAN-L6-23S.
WRITEN ASSESSMENT
DEVELOP COMPUTER PROGRAM.
SUBJECT CODE: IT/OS/ICT/CR/10/6/A
EXAMINATION SESSION: NOVEMBER 2023. TIME: 2 HOURS

Instructions:
i. This assessment has two sections (A and B).
ii. Attempt all questions in section A
iii. Select any three questions in section B

SECTION A: SHORT ANSWER QUESTIONS (40 MARKS)

1. As a program developer which four programming approaches would you apply when
coming up with a program[4 Marks]
2. Which four characteristics would you consider when selecting a programming language to
use for a business application?[4 Marks]
3. During the development and compilation of a program, which three types of errors are likely
to occur[3 Marks]
ICT TECHNICIAN-L6-23S.

4. State four different types of variables as used in C program.[4 Marks]


5. When writing a program using a C program, what would you use printf and scanf.
command for[4 marks]
6. As a program developer which four rules would you observe when coming up with a
variable in a C program [4 marks]
7. Differentiate between “=” and “==” operators as used in c programming [2 marks]
8. Which are the three parts of a C program structure [3 Marks]
9. Mention four types of built-in data types in programs [4 Marks]
10. As a programmer, which two reasons would you give for testing a program before
implementation? [ 4Marks]
11. You have been requested to write a program and include comments in the program Justify
two uses of this comment in the program. [4marks]

SECTION B: EXTENDED RESPONSE QUESTIONS (60 MARKS)


Attempt any 3 questions

1. During program development, there are various tools a system analyst use. Explain the
tools using diagrams where applicable. [20marks]
2. A voting process in Kenya is taking place. If a citizen is above the age of 18 years they
will be allowed to vote otherwise they will be sent home. There are four candidates to
vote for but they must start with the presidential vote. The other three candidate can be
voted depending on the constituencies in which they come from. Create an algorithm and
a data flow chart to depict the is scenario. [20Marks]
3. Assume you have been tasked to develop a program that accepts values and finds the sum
of the values and finally terminates if the value entered is the value 5. Draw a flowchart
for this scenario. [20 marks]
4. Write a c program to do following computation: [20 marks]
A. Add and subtract variables
B. Area and circumference of a circle
C. Area of a triangle and a rectangle
ICT TECHNICIAN-L6-23S.

You might also like