Past-paper question · 2014 October-November · Paper 21 · Q3(b)

Question 3(b) 2014 · October-November · Paper 21 · 3 marks

Original past-paper question for 3(B)
Original past-paper question for 3(B)
Original past-paper question for 3(B)
Reveal official mark-scheme answer

Official answer for Question 3

Part (b)

Part (b)

(RoomWidth >=100) AND (RoomWidth < 1000)

Mark scheme 9691_w14_ms_21.pdf →

Show text version of question

Question 3

Part (b)

Question 3

Ahmed runs his own business. He lays floor tiles in rooms for customers. Ahmed wants a program that calculates how many tiles he needs when he inputs the measurements of the length and width of the room he is working on.

Part (b)

The width of a room will measure at least 100 cm and less than 1000 cm.

The program must validate the width input. Write a logic expression that is TRUE when the width stored in the variable RoomWidth is within the expected range. ................................................................................................................................................... ...............................................................................................................................................[3]

Question 9

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Programming basics

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_w14_qp_21.pdf

Keep practising this topic