0478.1.0.08 — Understand that there are different types of • Including the characteristics of, and differences: past paper questions
Real questions on 0478.1.0.08 — understand that there are different types of • including the characteristics of, and differences
The newest 20 of 36 written questions. Open one to see it on the real paper.
- 0478/22 · October/November 2024 · Q2[1]
A pseudocode example of a selection statement is
See it on the paper → - 0478/22 · October/November 2024 · Q3a[4]
Draw one line to link each flowchart symbol to its correct purpose. Not all purposes will be used.
See it on the paper → - 0478/22 · October/November 2024 · Q3b[6]
An algorithm needs to total 50 numbers between 1 and 100 inclusive. Draw a flowchart that: uses a count-controlled loop from 1 to 50; uses an appropriate prompt to ask for a number between 1 and 100; totals the numbers as they are entered; outputs the total after the loop has completed with an appropriate message.
See it on the paper → - 0478/22 · October/November 2024 · Q4a[5]
Identify the line numbers of five errors in the pseudocode and suggest a correction for each error.
See it on the paper → - 0478/22 · October/November 2024 · Q4b[3]
A bubble sort algorithm can be written to include features that make it more efficient. Explain why the corrected bubble sort algorithm is efficient.
See it on the paper → - 0478/21 · May/June 2024 · Q4a[4]
Identify the line numbers of four errors in the pseudocode and suggest corrections.
See it on the paper → - 0478/21 · May/June 2024 · Q4b[2]
Write the pseudocode statement that would output the average calculated in line 13 of the algorithm rounded to one decimal place.
See it on the paper → - 0478/21 · May/June 2024 · Q4c[4]
Explain how you should alter the original corrected algorithm to make sure that all the numbers entered are between 1 and 500 inclusive. If any numbers fall outside these limits, a replacement value is requested and entered. You do not need to re-write the algorithm.
See it on the paper → - 0478/21 · May/June 2024 · Q5[5]
Write the pseudocode statements to perform this task: accept the input of a whole number from 1 to 4 inclusive use a CASE statement to: output the number (1 to 4 inclusive) that was entered output the word “ERROR” if a 1 to 4 inclusive number was not entered.
See it on the paper → - 0478/21 · May/June 2024 · Q6a[7]
Complete the trace table for the input data: 7, 47, 50, 52, 60, 80, 63, 70
See it on the paper → - 0478/21 · May/June 2024 · Q6b[3]
Outline the processes involved in the algorithm shown in the flowchart on page 6.
See it on the paper → - 0478/22 · February/March 2024 · Q5a[3]
Identify the line numbers of three errors in the pseudocode and suggest corrections. Error 1 line number Correction Error 2 line number Correction Error 3 line number Correction
See it on the paper → - 0478/22 · February/March 2024 · Q5b(i)[3]
Write pseudocode to reject the input of values less than zero for variables Cost and Sell
See it on the paper → - 0478/23 · October/November 2023 · Q2[1]
Tick (3) one box to show which library routine returns the remainder of a division. A DIV B MOD C RANDOM
See it on the paper → - 0478/21 · May/June 2023 · Q4[4]
Explain the purpose of the library routines DIV and ROUND
See it on the paper → - 0478/21 · May/June 2023 · Q5a[4]
Identify the four errors in the pseudocode and suggest a correction for each error.
See it on the paper → - 0478/21 · May/June 2023 · Q5b[4]
Describe how you could change the corrected algorithm to record and output how many positive numbers have been included in the final total. You do not need to rewrite the algorithm.
See it on the paper → - 0478/21 · May/June 2023 · Q6[4]
State two features that should be included to create a maintainable program. Give a reason why each feature should be used.
See it on the paper → - 0478/23 · May/June 2023 · Q2[4]
Explain the purpose of the library routines MOD and RANDOM MOD RANDOM
See it on the paper → - 0478/23 · May/June 2023 · Q3[3]
Describe what happens when a function is called during the execution of a program.
See it on the paper →
What examiners said
Most candidates were able to correctly identify MOD as the correct answer.
— Examiner report, October/November 2023, 0478/23 Q2 (Cambridge)
Few candidates understood the purpose of DIV and ROUND. Candidates who understood the library routines were able to give a suitable example.
— Examiner report, May/June 2023, 0478/21 Q4 (Cambridge)
Most candidates were able to provide two or more of the errors within the algorithm. Many candidates provided all four errors and the corrections.
— Examiner report, May/June 2023, 0478/21 Q5(a) (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.