Question 4(c) 2014 · May-June · Paper 23 · 6 marks
Question 4
Part (c)
Question 4
Question 5
2 Sheena wants to set up a business selling home-made cakes. She wants customers to order online. She needs to know:
- customer’s name
- customer’s contact telephone number
- the date the cake is to be ready
- the type of cake
- whether the cake is to be delivered or not.
o fruit cake o victoria sponge o gateau o cheesecake
Part (c)
When the user enters a character, the program needs to check it is a digit.
The character is stored in the character variable Entry.
Write the Boolean expression required to check that it is a digit.
Reveal official mark-scheme answer
Official answer for Question 4
Part (c)
Part (c)
(Entry>='1') AND (Entry<='9')
Why this question appears here
92% assigned-topic match · Hardware › Logic gates and logic circuits
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9691_s14_qp_23.pdf
