The Student Room Group

CIE IGCSE computer science paper 2 (/21)

How did everyone find the paper?
Feel free to discuss answers below!
Reply 1
What did u put for the trace table?
invalid
invalid
invalid
valid
valid

You?
Original post by Choi 34
What did u put for the trace table?
Reply 3
I put the same
i put the same, but apparently you arent meant to use all the data. the test data, 60, didnt need to be used at all.
Thats what some people are saying
Original post by mentalistwho?
invalid
invalid
invalid
valid
valid

You?
The correct answer is:
Data .....Output
.
----- ..... Input a number between 0 and 100 inclusive
300 ..... Invalid number, try again
200 ..... Invalid number, try again
-1 ........ Invalid number, try again
50 ....... Accepted: 50


The 60 shouldn't be written as the program ends when it prints Accepted: 50, it doesn't ask for another input
Original post by SkaterMater
i put the same, but apparently you arent meant to use all the data. the test data, 60, didnt need to be used at all.
Thats what some people are saying
(edited 4 years ago)

Quick Reply