Program Development
11 Grade 10 Computer Studies questions on Program Development, with worked marking schemes. 11 questions are available on this topic in full.
Question 1
1 markTwo years after a program for recording school bus fares was installed, the fare rates changed and the program had to be altered to use the new rates. The stage of program development under which this alteration falls is:
A. program maintenance
B. program testing
C. problem recognition
D. program design
(1 mark)
Marking scheme for this question
Create a free account to see itQuestion 2
1 markDuring the design stage, a Grade 10 learner plans the solution to a school water-billing problem using labelled shapes joined by arrows that show the order of the steps. The planning tool the learner is using is:
A. a user manual
B. the source code
C. a flowchart
D. a test data table
(1 mark)
Marking scheme for this question
Create a free account to see itQuestion 3
5 marksOutline the five stages of program development, in the order in which they are carried out.
(5 marks)
Marking scheme
Award 1 mark for each stage correctly named AND placed in the right order (maximum 5). 1. Problem recognition and definition - the problem to be solved is identified and clearly stated. 2. Problem analysis and program design - the problem is broken down and a solution is planned using an algorithm, pseudocode or a flowchart. 3. Coding - the algorithm is translated into statements of a programming language. 4. Testing and debugging - the program is run with test data and the errors found are removed. 5. Implementation, documentation and maintenance - the program is installed for use, documented and later modified as needs change. If the stages are correct but out of order, award a maximum of 2 marks.
Question 4
3 marksSuggest three reasons why a program that has been in use at a poultry farm for three years may need to be maintained.
(3 marks)
Marking scheme for this question
Create a free account to see itQuestion 5
1 markBefore typing her algorithm into the computer, a learner works through it on paper using 12 kg and 3 kg of tea leaves, writing down the value held by each variable at every step. This activity is known as:
A. compiling
B. implementation
C. debugging
D. dry running (desk checking)
(1 mark)
Marking scheme for this question
Create a free account to see itQuestion 6
1 markA learner types the instructions of her shop stock program into an editor using a high-level language. The instructions in this form, before they are translated, are known as the:
A. pseudocode
B. source code
C. machine code
D. object code
(1 mark)
Marking scheme for this question
Create a free account to see itQuestion 7
1 markWhich one of the following is an example of internal documentation of a program that records milk deliveries at a dairy cooperative?
A. Comments written within the source code explaining what each module does
B. A help screen the clerk opens from the menu
C. An installation guide supplied on a memory stick
D. A printed user manual issued to the clerk
(1 mark)
Marking scheme for this question
Create a free account to see itQuestion 8
4 marksExplain four reasons why a program written to manage stock in a school canteen should be properly documented.
(4 marks)
Marking scheme
Award 1 mark for each reason explained (maximum 4). 1. It guides the user (the canteen clerk) on how to install, start and operate the program correctly. 2. It makes maintenance easier - another programmer can understand the logic and modify the program without rewriting it. 3. It serves as a permanent record of the design, so knowledge is not lost when the original programmer leaves the school. 4. It speeds up the tracing and correction of errors, since each module and variable is explained. 5. It assists in training new users of the system. A bare list without any explanation scores a maximum of 2 marks.
Question 9
4 marksA trader in Nyeri sells eggs at KSh 15 each. Using pseudocode written in words, describe an algorithm that accepts the number of eggs bought, works out the total cost and displays it.
(4 marks)
Marking scheme for this question
Create a free account to see itQuestion 10
1 markA large program for a school library is broken down into smaller parts such as Registration, Borrowing and Returning, each written and tested separately. The main advantage of developing the program in this way is that:
A. the program no longer needs to be translated into machine language
B. the finished program is guaranteed to run faster than one large program
C. it removes the need to test the program with data
D. each part can be written and tested separately, so errors are easier to trace
(1 mark)
Marking scheme for this question
Create a free account to see itQuestion 11
6 marksDescribe three types of test data a programmer would use to test a program that accepts a learner's mark out of 100, giving one example of each.
(6 marks)
Marking scheme
Award 1 mark for naming/describing each type and 1 mark for a correct matching example (maximum 6). 1. Normal (valid) data - values that lie within the accepted range and that the program should process without complaint (1). Example: 45 or 78 (1). 2. Extreme (boundary) data - values that lie exactly at the edges of the accepted range, used to check the limits (1). Example: 0 and 100 (1). 3. Erroneous (invalid) data - values that the program should reject and respond to with an error message (1). Example: 120, -5 or the word "seven" (1). Examples must match the type named; an example alone earns no mark.
8 more marking schemes are on this page. A free account opens all of them, and lets you build your own paper on the topics you have actually taught, laid out in KNEC format with its full marking scheme.
Create a free account