0478.1.0.07 — can be static or dynamic: past paper questions
Real questions on 0478.1.0.07 — can be static or dynamic
The newest 20 of 182 written questions. Open one to see it on the real paper.
- 0478/22 · May/June 2026 · Q6b[1]
State the purpose of the algorithm shown by the flowchart.
See it on the paper → - 0478/23 · May/June 2026 · Q9[6]
Outline two techniques that can be used to create a maintainable program.
See it on the paper → - 0478/22 · February/March 2026 · Q1[1]
Tick (3) one box to identify the reason for applying a verification check to input data. A To make sure that all the data is in the correct range. B To make sure that all the data is accurate. C To make sure that no errors have been introduced during input. D To make sure that all the data is of the correct length.
See it on the paper → - 0478/22 · February/March 2026 · Q2a(i)[1]
A check to make sure that data input follows a set pattern such as two letters followed by three numbers.
See it on the paper → - 0478/22 · February/March 2026 · Q2a(ii)[1]
A check to make sure that only whole numbers can be input.
See it on the paper → - 0478/22 · February/March 2026 · Q2b[3]
Explain the reasons why validation checks are necessary when data is input.
See it on the paper → - 0478/22 · February/March 2026 · Q2c[6]
Write the pseudocode for an algorithm to perform a validation check on each number as it is input to meet the following criteria: • • • • Input 20 numbers, one at a time. If a number is negative, store it in the current element of array NegNumbers[] If a number is not negative, ask for it to be input again until a nega...
See it on the paper → - 0478/22 · February/March 2026 · Q3[6]
The program development life cycle is split into a number of stages. Describe what happens during the analysis and design stages of the program development life cycle. analysis design
See it on the paper → - 0478/22 · February/March 2026 · Q4[1]
Tick (3) one box to identify which of the following does not help to create a maintainable program. A Use meaningful identifiers for variable names. B Remove blank lines to make the program code shorter. C Use procedures and functions. D Use the commenting feature provided by the programming languages. Turn over
See it on the paper → - 0478/22 · February/March 2026 · Q5a[5]
Identify the line numbers of five errors in the pseudocode and suggest corrections. error 1 line number correction error 2 line number correction error 3 line number correction correction error 4 line number error 5 line number correction
See it on the paper → - 0478/22 · February/March 2026 · Q5b[4]
Write the pseudocode for an algorithm, using nested iteration, to output the contents of Names[]
See it on the paper → - 0478/22 · February/March 2026 · Q5c[2]
Describe a possible problem with the algorithm that could mean the names are not sorted accurately.
See it on the paper → - 0478/21 · October/November 2025 · Q2[3]
Identify three different types of test data that can be used to test a program.
See it on the paper → - 0478/21 · October/November 2025 · Q3[1]
Tick (✓) one box to identify the operator that returns the quotient of a calculation with the fractional part discarded. A / B DIV C ^
See it on the paper → - 0478/21 · October/November 2025 · Q4a[5]
A restaurant offers a fixed priced menu. A meal for an adult costs $9.99 and a meal for a child costs $6.99. If there are 6 or more people at a table, a 15% discount is applied to the total cost of the order. Write an algorithm in pseudocode to: • • • input the number of adults and the number of children at a table cal...
See it on the paper → - 0478/21 · October/November 2025 · Q4b[2]
The final cost of the order after the discount may have more than 2 decimal places. Write a pseudocode statement to set the final cost of the order to 2 decimal places. You do not need to rewrite the whole algorithm.
See it on the paper → - 0478/21 · October/November 2025 · Q6a[4]
Identify the line numbers of the four errors in the pseudocode and suggest a correction for each error. Error 1 line number Correction Error 2 line number Correction Error 3 line number Correction Error 4 line number Correction
See it on the paper → - 0478/21 · October/November 2025 · Q10b[4]
The procedure Time(TotalSeconds) takes the number of seconds as a parameter. The procedure converts the value held in the parameter into minutes and seconds and outputs the result. Write this procedure in pseudocode.
See it on the paper → - 0478/22 · October/November 2025 · Q2a[5]
Identify the line numbers of five errors in the pseudocode and suggest a correction for each error. Error 1 line number Correction Error 2 line number Correction Error 3 line number Correction Error 4 line number Correction Error 5 line number Correction
See it on the paper → - 0478/23 · October/November 2025 · Q1[3]
Give three ways of creating a maintainable program.
See it on the paper →
What examiners said
Comprehensive responses • Most candidates correctly ticked option C to show their understanding of the meaning of verification checks during input. Limited responses • Option B was a common incorrect answer.
— Examiner report, February/March 2026, 0478/22 Q1 (Cambridge)
Comprehensive responses • Most candidates understood that a format check was the correct check in this case. Limited responses • Some candidates confused a format check with a type check.
— Examiner report, February/March 2026, 0478/22 Q2(a)(i) (Cambridge)
Comprehensive responses • Most candidates understood that a type check was the correct check. Limited responses • Some candidates mixed up the name of the check and used incorrect names such as integer check or number check instead.
— Examiner report, February/March 2026, 0478/22 Q2(a)(ii) (Cambridge)
Past papers, syllabus and examiner reports © UCLES (Cambridge University Press & Assessment). Questions are matched to topics from the official syllabus. AssessPro is independent and not endorsed by Cambridge.