Note AcademyNote Academy

Computer Science · Oct / Nov 2016 · Paper 22 · Question 3

2210

As printed in the paper

The question as text

The flowchart below inputs an integer. The predefined function DIV gives the value of the division, for example Z ← 11 DIV 3 gives the value Z = 3. The predefined function MOD gives the value of the remainder, for example Z ← 11 MOD 3 gives the value Z = 2. 67$57 ,1387 ; 287387 % (1' <HV 1R 287387 ; ; $ ,V ; ! " $ % ; ',9 ; 02' Complete a trace table for each of the two input values 33 and 75. Trace table for input value 33 X A B OUTPUT Trace table for input value 75 X A B OUTPUT [4]

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

Show the answer and mark scheme

Trace table for input value 33 X A B OUTPUT 33

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