Past-paper question · 2007 October-November · Paper 1 · Q6

Question 6 2007 · October-November · Paper 1 · 7 marks

Original past-paper question for 6
Reveal official mark-scheme answer Official mark-scheme answer for 6Official mark-scheme answer for 6

Official answer for Question 6

✓
WHILE DOOR NOT SHUT
✓
SHUT DOOR
✓
END WHILE
✓
IF HOT WASH THEN T = 80
✓
ELSE T = 40
✓
END IF
✓
HEATER ON
✓
REPEAT
✓
UNTIL WATER TEMP = T
✓
HEATER OFF
✓
TURN M ON
✓
FOR TIME = 1 TO 20 STEP 5
✓
IF WATERTEMP < T
✓
THEN SUSPEND TIMER, REPEAT
✓
TURN HEATER ON
✓
UNTIL WATERTEMP = T, HEATER OFF
✓
RESTART TIMER
✓
ENDIF
✓
NEXT TIME
✓
TURN OFF M
✓
SOUND BUZZER
✓
Mark points:
✓
*- Condition door is shut with action to shut door/loop to shut door
✓
*- Condition hot or cool to set parameter
  • Turn on heater H
  • Loop until temperature met
  • Turn M on
✓
*- For loop with correct count…
✓
*- and correct step
  • Check for temperature in loop and correct action
✓
*- Sound buzzer
✓
(1 per *-, and any 2 other -, max 7)
[7]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
GCE A/AS LEVEL – October/November 2007
✓
9691
✓
01

Mark scheme 9691_w07_ms_1.pdf →

Show text version of question

Question 6

A
washing machine is computer controlled.

The full cycle consists of

  • Check the door is shut
  • Heat water with heater (H) to 80 degrees if hot wash has been selected, 40 degrees if a
  • cool wash has been selected

  • Run wash motor (M) for 20 minutes, checking water every 5 minutes to see if heater (H)
  • should be turned on again

  • Sound buzzer to signify that wash cycle is complete.

Note: M can be set to “on” or “off”.

Write an algorithm, in whatever form, to show the working of the washing machine.

[7]

The remaining questions refer to the following information.

A
company specialises in surveying land for oil companies.

Part of their work involves using radar and other scientific procedures to search underground for likely oil-bearing formations. The results of the surveys are stored numerically, ready for processing.

Topic relevance

Why this question appears here

91% assigned-topic match · Programming › Constructs

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

Keep practising this topic