IGCSE COMPUTER SCIENCE · 0478 / 0984
IGCSE Computer Science Made easy
Tailored notes, practice questions and mock exams
Free trial on annual plans. Cancel anytime.
PROGRAMMING · QUESTION 64 marks
Write a program that inputs three scores and outputs the highest.
QUESTION 6 · PROGRAMMING · 4 MARKS
Write a program that inputs three scores and outputs the highest.
highest.pyRun
1highest = 0
2for i in range(3):
3 score = int(input("Score: "))
4 if score > highest:
5 highest = score
6print("Highest:", highest)
OUTPUT
Score: 54
Score: 92
Score: 71
Highest: 92
MARK SCHEME
- Loops three times
- Inputs each score
- Keeps the highest
- Outputs the result
Your mark–/44/4
PRACTICE QUESTIONS
Every question type, at your fingertips
Multiple choice, truth tables, trace tables, SQL and more.
MOCK EXAMS
Mock exams, marked and explained
Take a full paper and review the feedback on your answers.
CAMBRIDGE IGCSE · 0478/12
COMPUTER SCIENCE
Paper 1 Computer Systems
Mock exam · 1 hour 45 minutes
CandidateDani R.
CentreCtrlAltRevise
Answer all questions. Write in the spaces provided. The total mark for this paper is 75.
MARKED
61/75
GRADE A
4[4]
(b) Describe two differences between RAM and ROM.
RAM can be read and written to,
but ROM can only be read.
RAM is wiped when power is off.
(c) Explain the term volatile memory.[1]
Data is lost when power is off.
FEEDBACK
4th mark: say ROM keeps its data when the power is off. It is non-volatile.
KEEP THEM IN THE LOOP
Let your parents
see your progress.
Link a parent account to share your learning activity, practice and mock results.
Shared with your permission.
Try your first question.
Full course access requires a paid plan.