Question 3(c)(ii) 2014 · October-November · Paper 23 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 3
Part (c)
(ii)
RoomWidth MOD 30 > 0 // RoomWidth MOD 30 != 0[1]
Show text version of question
Question 3
Part (c)
(ii)
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 (c)
Ali is going to write the program for Ahmed. The size of one floor tile is 30 cm × 30 cm. Ali
knows that the following calculations are required: TilesForWidth ← RoomWidth DIV 30 TilesForLength ← RoomLength DIV 30 TilesRequired ← TilesForWidth * TilesForLength
(ii)
Write a logic expression that is TRUE when the room width is not an exact multiple of 30 cm. .......................................................................................................................................[1]
Why this question appears here
71% 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_w14_qp_23.pdf
