Question 8(b) 2023 · October-November · Paper 23 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 8
Part (b)
Question 3
- after the Input box // before the first decision box
- insert a process box
- to convert the input to upper case
- change the first decision / add another decision box
- to accept 'y' as well
- by adding OR PartOK = 'y'
Show text version of question
Question 8
Part (b)
Question 8
This is an algorithm to find if a batch of parts has been manufactured successfully.
START
Accept 0 Reject 0
INPUT PartOK
No IS PartOK Reject Reject + 1 = 'Y'? Yes
Accept Accept + 1
No IS Accept = 10 ?
Yes
Yes IS Reject Error Reject/Accept * 100 > 1?
No OUTPUT "Too many rejected ", OUTPUT Error, "% error" "Success"
STOP
Question 11
Part (b)
Describe how the algorithm should be changed to accept ‘Y’ or ‘y’ for a successfully
manufactured part.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 12
Why this question appears here
99% assigned-topic match · Programming › Programming concepts
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 0478_w23_qp_23.pdf
