(a)
Define the term programming
(b)
State and explain briefly the software development method
(a)
Define the term algorithm
A light bulb is not working.
Use the above information to answer the following questions:
(b)
Design an algorithm to solve the problem.
(c)
Draw a flowchart to represent the algorithm.
(d)
Write a pseudocode to represent the algorithm.
The following is the B.E.C.E grading system.
| Score | Grade |
| 75% - 100% | 1 |
| 70% - 74% | 2 |
| 65% - 69% | 3 |
| 60% - 64% | 4 |
| 55% - 59% | 5 |
| 50% - 54% | 6 |
| 45% - 49% | 7 |
| 40% - 44% | 8 |
| 0% - 39% | 9 |
Use the information to answer the following questions
(a)
Define the following terms:
(i)
pseudocode;
(ii)
flowchart.
(b)
Write an algorithm to solve the problem.
(c)
Draw a flowchart to represent the algorithm.
(d)
Your computing teacher tasked you to write a pseudocode for a program which asks the user to enter the score and the program displays the grade for that score. Write down your pseudocode
In a country, only mentally sound male citizens aged 18 or older can vote. You have been tasked with building software that takes a citizen's age, gender and mental status as input and determines if they are eligible to vote.
(a)
Write an algorithm to determine if a citizen is eligible to vote.
(b)
Draw a flowchart to represent the algorithm.
(c)
Write a pseudocode to represent the algorithm.