Question 1(b)(i) 2019 · May-June · Paper 22 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
(i)
Question 5
Question 11
Question 8
Show text version of question
Question 1
Part (b)
(i)
Program variables have values as follows:
Variable Value Married 03/04/1982 ID "M1234" MiddleInitial 'J' Height 5.6 IsMarried TRUE Children 2
(i)
Evaluate each expression in the following table.
If an expression is invalid, write ERROR.
For the built-in functions list, refer to the Appendix on page 16.
Expression Evaluates to STRING_TO_NUM(RIGHT(ID, 3)) INT(Height * Children) IsMarried AND Married < 31/12/1999 LENGTH(ID & NUM_TO_STRING(Height)) MID(ID, INT(Height) – Children, 2)
Why this question appears here
71% 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 9608_s19_qp_22.pdf
