Note AcademyNote Academy

Computer Science · May / June 2019 · Paper 22 · Question 3

2210

As printed in the paper

The question as text

This flowchart inputs the marks gained in an examination. An input of –1 ends the routine. OUTPUT "Number of Distinctions ", Distinction OUTPUT "Average Mark " Total/Count START END Is Mark = –1 ? Is Mark >= 80 ? INPUT Mark Total 0 Count 0 Distinction 0 No No Yes Yes Total Total + Mark Count Count + 1 Distinction Distinction + 1 Complete the trace table for the mark input data: 50, 70, 65, 30, 95, 50, 55, 85, 65, 35, –1, 45 Total Count Distinction Mark OUTPUT

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.