100% found this document useful (1 vote)
168 views1 page

Published Answer Marks One Mark For Each Point (Max Three) - 3

This document contains the answers and marking scheme for a Cambridge O Level exam on computer programming concepts. It provides the answers to multiple choice questions on input validation techniques, such as range checks and presence checks. It also gives examples of pseudocode that could be used to verify user input through iteration and comparing two inputs. The last part notes that Question 5 has been removed from the exam due to an issue.

Uploaded by

Riaz Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
168 views1 page

Published Answer Marks One Mark For Each Point (Max Three) - 3

This document contains the answers and marking scheme for a Cambridge O Level exam on computer programming concepts. It provides the answers to multiple choice questions on input validation techniques, such as range checks and presence checks. It also gives examples of pseudocode that could be used to verify user input through iteration and comparing two inputs. The last part notes that Question 5 has been removed from the exam due to an issue.

Uploaded by

Riaz Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

2210/22 Cambridge O Level – Mark Scheme May/June 2023

PUBLISHED
Question Answer Marks

4(a) One mark for each point (max three). 3


 range check with acceptable values is (greater than) zero and less than 1000
 presence check to ensure the program will not continue until a value has been entered
 type/character check to ensure that a number is entered
 length check to ensure there are no more than 3 digits entered

4(b)(i) To verify the data / for verification / as a verification check // to make sure that no changes are made to the data on entry 1

4(b)(ii) One mark for each point (max three). 3


 use of iteration
 use of two inputs
 to check that the two inputs are the same / different
 use of the given variable Measurement

For example
REPEAT
OUTPUT "Please enter measurement "
INPUT Measurement
OUTPUT "Please re-enter measurement "
INPUT MeasurementCheck
UNTIL Measurement = MeasurementCheck

Question Answer Marks

5 Due to an issue with Question 5, the question has been removed from the question paper.

© UCLES 2023 Page 5 of 16

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy