Question 6(a)(i) 2016 · May-June · Paper 23 · 8 marks
Reveal official mark-scheme answer
Official answer for Question 6
Part (a)
(i)
(i)
Question 7
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6
Question 7
Show text version of question
Question 6
Part (a)
(i)
Part (a)
Complete the identifier table below by stating the data types.
Identifier Data type Description Accelerator pedal position Values: 0 to 100 in steps of 1 Accelerator .......................... Meaning: 0: none (not pressed) 100: maximum (fully pressed) Engine temperature in °C EngineTemp .......................... (-50 to +150 stored to 1 decimal place) Normal engine temperature in °C NormalTemp .......................... Whole number; typical value 90 Road speed of car (in km/hr) Speed .......................... Values: 0 to 200 in steps of 1 Value used to signal engine must be stopped Possible values: EngineStop .......................... TRUE: stop engine FALSE: run engine
The condition for stopping the engine is that all three of the following are true: • Accelerator is not pressed • Engine temperature is normal or above • Car speed is zero
Question 5
The initial design stage will produce a prototype of EnergySaver, with a user interface. The structured English for this is: 1. INPUT value for accelerator pedal position 2. INPUT value for engine temperature 3. INPUT value for normal engine temperature 4. INPUT value for car speed 5. EVALUATE engine stopping condition 6. IF stopping condition satisfied SET engine stop value to TRUE 7. IF stopping condition not satisfied SET engine stop value to FALSE 8. OUTPUT message indicating engine stop value
Part (a)
(i)
Explain the benefit of making the stored data into fixed-length strings. ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... State a drawback of this file design. ........................................................................................................................................... ...........................................................................................................................................
Question 12
Why this question appears here
82% 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 9608_s16_qp_23.pdf
