Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos


<=Back

<=CDACC ICT Technician Level 6 : Develop Computer Program past paper July 2023

Design a program to calculate and output the area and perimeter of a rectangular football field
using:
a) Pseudocode
b) A flowchart

    Viewed:  76  times
For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!

  Share in:
        

Question 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 {


About Us

Contact us

Terms of use | Privacy policy

Follow Us:               

All Rights Reserved © 2024; pscustudies.com