Afritutor
Study Portal
Menu
Home
College Level
Junior & Senior secondary
All Senior and Junior Resources
Grade 7 Exams
Grade 8 Exams
Grade 9 Exams
Grade 10 Exams
JSS Schemes of Work
JSS Study/Class Notes
JSS Lesson Plans
JSS Holiday Homeworks
Senior School Schemes of Work
Senior School Study/Class Notes
Senior School Lesson Plans
Senior School Holiday Homeworks
All Classes Online Video Lessons & Revision(
Highly Demanded
)
Grade 9 Online Videos Revision
Lower & Upper Primary
All Lower and Upper Primary Resources
Play Group Exams
PP2 Exams
PP1 Exams
Grade 1 Exams
Grade 2 Exams
Grade 3 Exams
Grade 4 Exams
Grade 5 Exams
Grade 6 Exams
Schemes of Work
Study/Class Notes
Lesson Plans
Holiday Homeworks
All Academic resources
Premium Content
Join
Login
<=Back
<=CDACC ICT Technician Level 6 : Develop Computer Program past paper July 2023
Explain FIVE benefits of using functions in program development.
 Viewed:
532
times
Share in:
Question Answer:
Login to View Answer
Questions List:
1.
Distinguish between imperative programming and object programming languages giving TWO examples in each
2.
Identify TWO valid reasons for a software developer to use each of the following approaches in a project: a) Waterfall Model b) Agile Methodology c) Spiral Model
3.
Using C language examples, explain ONE program control structure for: a) Decision/Branching b) Looping
4.
Define the following program development phases
5.
Explain THREE program design tools.
6.
Describe FOUR building blocks of object-oriented programming (OOP)
7.
Using Java language, illustrate ONE example of the following error types. a) Syntax error b) Run time error c) Logic error
8.
Design a program to calculate and output the area and perimeter of a rectangular football field using: a) Pseudocode b) A Flowcharts
9.
The following C++ program is intended to calculate and display the mean scoreof 10 students who sat for “Computer programming” test. Identify the errors in the program. #include<iostream.h>; #define STUDENTS 10 INT main() { Int count; float testScore[STUDENTS]; float sumOfScores, averageOfScores sum=0; // Enter the 10 test scores and update the sum for(count=1;counter<STUDENTS;
10.
Explain FIVE benefits of using functions in program development.
11.
Consider the following program conditional requirements. If the Purchase Amount is greater than Sh.50,000 If Customer Duration is 5 Years and Above Then Customer Pays 90% of Purchase Amount (10% Discount) Else Customer Pays 92.5% of Purchase Amount (7.5% Discount) Else If Customer Duration is 5 Years and Above Then Customer Pays 97%% of Purchase Amount (3% Discount) Else Customer Pays Full
12.
Consider the following Java program that uses the Inheritance concept. class Calculation { int z; public void addition(int x, int y) { z = x + y; System.out.println("The sum of the given numbers:"+z); } public void Subtraction(int x, int y) { z = x - y; System.out.println("The difference between the given numbers:"+z); } } public class My_Calculation extends Calculation {