Past-paper question · 2016 May-June · Paper 23 · Q6(a)

Question 6(a) 2016 · May-June · Paper 23 · 19 marks

Original past-paper question for 6(A)
Original past-paper question for 6(A)
Original past-paper question for 6(A)
Original past-paper question for 6(A)
Original past-paper question for 6(A)
Original past-paper question for 6(A)
Original past-paper question for 6(A)
Reveal official mark-scheme answer

Official answer for Question 6

Part (a)

Part (a)

✓
(

(i)

✓
[4
✓
4]
✓
n
✓
x
✓
Fla
✓
F ag
✓
m
✓
N
✓
New
✓
wS tr ing
✓
g
✓
–
✓
TRU
✓
T UE

Question 7

✓
“
✓
“”

Question 1

✓
‘B
✓
B
✓
FA
✓
AL SE
✓
E
✓
“ B”

Question 2

✓
‘ i’
✓
“B
✓
Bi”

Question 3

✓
‘g
✓
g’
✓
“B
✓
Big” ”
✓
‘▽
✓
▽’

Question 4

✓
TRU
✓
T UE
✓
“Bi ig▽ “
✓
‘B
✓
B’

Question 5

✓
FA
✓
AL SE
✓
E
✓
“Big
✓
“ g▽B
✓
B”

Question 6

✓
‘e
✓
e’
✓
“B
✓
Big
✓
g▽B
✓
Be”
✓
▽Be

Question 7

✓
‘n
✓
n’
✓
“B
✓
Big▽
✓
en” ”
✓
One
✓
O e mar
✓
m rk p
✓
per r co
✓
orre
✓
ect t co
✓
olu mn
✓
n (c
✓
col lum
✓
mn
✓
ns 3 and
✓
a d 4 co
✓
oun
✓
nt as 1) )
✓
•
✓
Ar rrow
✓
ws s in dic
✓
cate
✓
e req
✓
r uir red se
✓
equ
✓
uen
✓
nce
✓
e (i .e. “B
✓
B” c can
✓
n’t be in ro
✓
ow bef for re TR
✓
T RUE
✓
E)
✓
•
✓
Le
✓
ette
✓
er c cas
✓
se mu
✓
ust be
✓
e a s sho
✓
s own
✓
n
✓
•
✓
Ig no re qu ota
✓
atio
✓
on sy mb
✓
bol
✓
•
✓
o ▽ fo
✓
Al low
✓
w “ “ or
✓
or spa
✓
s ace
✓
e sym
✓
s mbo
✓
ol
✓
(i i) (T
✓
To ret tur n a st trin
✓
ng wh
✓
w here
✓
e:)
✓
[2
✓
2]
✓
•
✓
Th
✓
he firs st cha
✓
c ara
✓
acte
✓
er o
✓
of eac
✓
e ch wo
✓
ord
✓
d is ca
✓
apit tali ise
✓
ed / mad
✓
m de upp
✓
u per r ca
✓
ase
✓
e // / by y exp
✓
e plan
✓
nat tion
✓
n
✓
•
✓
Th
✓
he rem
✓
ma
✓
aini ng ch
✓
har rac
✓
cter rs (of
✓
( ea
✓
ach
✓
h word
✓
w d) are
✓
a e mad
✓
m de low
✓
wer r ca
✓
ase
✓
e
✓
•
✓
( ) (i)

Mark scheme 9608_s16_ms_23.pdf →

Show text version of question

Question 6

Part (a)

Question 6

UNTIL x = 5

[6]

Question 3

(ii)

State the purpose of each statement in the table in part (a)(i).

Do not use mathematical symbols in your descriptions.

Item Purpose of statement

.............................................................................................................................

Question 1

.............................................................................................................................

.............................................................................................................................

Question 2

.............................................................................................................................

.............................................................................................................................

Question 3

.............................................................................................................................

.............................................................................................................................

Question 4

.............................................................................................................................

.............................................................................................................................

Question 5

.............................................................................................................................

.............................................................................................................................

Question 6

.............................................................................................................................

[6]

(iii)

Evaluate the following expressions when MyString has the value

"Corrective Maintenance":

Expression Evaluates to

'P' & MID(MyString, 13, 4)

RIGHT(MID(MyString, 6, 10) ,4)

[2]

Question 4

2 The engine management system of a car includes an energy-saving facility. When certain conditions are met, this facility will automatically stop the engine.

The system is to be software-based. It will include a subroutine, EnergySaver, which repeatedly takes data from sensors in the car. The subroutine decides whether or not to set the EngineStop value.

The table of identifiers used by this subroutine is shown below.

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

[5]

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

Topic relevance

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

Keep practising this topic