Computer Science: Software Development

Time Allowed: 45 Minutes | Total Marks: 30
1 (a) Identify and describe the first two stages of the Program Development Life Cycle (PDLC).
[4]
Stage 1:
Stage 2:
1 (b) Define the term Abstraction as used by a digital detective during the Analysis stage.
[2]
2. Scenario A: A school is developing a "Late-Comer Tracker." Students arriving after 08:00 must enter their Name and how many Minutes they are late (1 to 60). The program checks if the time is valid and calculates a "Total Late Time" for the week.
(a) Decompose the Late-Comer Tracker into three smaller sub-tasks.
[3]
1.
2.
3.
(b) Identify one piece of Extreme test data for the 'Minutes Late' input.
[1]
(c) Using Cambridge Pseudocode, write an algorithm that inputs a minute value and outputs "Invalid" if it is outside the range 1 to 60.
[5]
3 (a) Study the following Python code snippet:
numbers = [12, 45, 2, 19] highest = numbers[0] for n in numbers: if n > highest: highest = n print(highest)
Identify the standard algorithm being used above and state the final output.
[3]
Algorithm:
Output:
3 (b) A 2D array named class_data contains [StudentName, Grade]. Write the Python line of code to print the Grade of the first student in the list.
[2]
4. Circle the correct answer for the following:

i. Which check ensures a required field is not left empty?

A: Range Check    B: Type Check    C: Presence Check    D: Length Check [1]

ii. In which PDLC stage are flowcharts and structure diagrams created?

A: Analysis    B: Design    C: Coding    D: Testing [1]
*** END OF EXAM ***
📄 View Marking Scheme (PDF)