State two qualities of a good pseudocode.
(b) With the aid of flowchart diagrams, describe each of the following programme control structures:
|
K |
M |
M[K] |
1 |
10 | 10 |
2 |
10 | 20 |
3 |
10 | 30 |
4 |
10 | 40 EXIT |
(a) Write a program segment for the flowchart using a high level language (7mks)
(a) What is meant by each of the following terms:
-
(i) Pseudo code (1½Marks)
Pseudo code (or structured English) describes module design in words using syntax like programming language. It aims at proving programmers with clear and unambiguous process specification.
-
(ii) Flowchart
A flowchart is a diagrammatic or pictorial representation that illustrates the sequence of operations to be performed to get the solution of a problem.
(b) A program is required to list the first 1000 numbers in the series 2, 4, 6, 8, 10 ……. Draw a flowchart and write a program that can be carry out this task (12mks)
A program is required for reading in a student’s name and scores obtained in two subjects. The output of the program will consist of the student’s name, the two scores, the average of the two scores and comment. The comment is based on the average as follows:
Show how you arrive at your answer.
The roots of the equation ax2 +bx + c= 0 are by the formula
Categories
All
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2022
Analogue And Digital Systems
Applications Areas Of ICT
Areas Where Computers Are Used
Auxiliary Storage Devices
Basic Computer Set Up And Cabling
Binary Conversion
Booting
CABLES AND PORTS
Career Opportunities In ICT
Classification Of Computers
Coaxial Cables
Coding Schemes
COMPACT DISK
COMPLETE PAPERS
Computer Crimes
Computer Files
Computer Memory
Computer Software
Computer Systems
COMPUTER VIRUS
Dashboard
Database
Data Collection
Data Communication
Data Integrity
Data Processing
Data Representation In A Computer
Data Security And Controls
Definition And Development Of Algorithm
Desktop Publisher
Development-of-computers
DTP
DVD
Electronic Data Processing Modes
Elementary Programming Principles
Errors-in-data-processing
Evolution-of-computer-systems
Fibre Optic Cables
File Management Using An Operating System
File-organization-methods
Flowchart
Form 1 Level
Form 2 Level
Form 3 Level
Form 4 Level
Formatting Features
Hands On Skills
HARDCOPY OUTPUT DEVICES
Hard Disk
Hardware
Impact Of Ict On Society
IMPACT PRINTERS
Information
Input Devices
Internet And Email
Introduction To Computers
Introduction To Networking And Data Communication
ISP
Levels-of-programming-languages
Midterm-exams
Mind-blowing-q-a
Mocks
Network Topologies
Network-topology
NON-IMPACT PRINTERS
Ones And Twos Compliments
Operating Systems
Output Devices
Paper 1
Parts Of A Computer
Practical Hands On Skills
Printers
Processing-devices
Processors
Program-construction
Program-control-structures
Program-design
Program Development
Program-documentation
Protocols
Registers
Review Questions
Revision Kits
Secondary Storage Media
Section A
Section B
Security Threats And Control Measures
Software
Spreadsheets
Stages Of System Development
Storage Devices
Symbolic-representation
System-design
System Development
System-documentation
Term-1
TERM 2
The Computer Laboratory
The CPU
The Keyboard
Types Of Computer Files
Types-of-networks
User Interface
Uses-of-computers
Word Processors
Worksheet-formatting
Archives
December 2024
July 2023
June 2023
February 2023
November 2022
September 2022
April 2022
January 2022
December 2021
November 2021
July 2021
March 2021
February 2021
January 2021
December 2020
October 2020
April 2020
February 2020
October 2019
August 2019
July 2019
April 2019
March 2019
November 2018
August 2018
July 2018
December 2017
November 2017
October 2017
July 2017
August 2016
June 2016
January 2016
December 2015
November 2015