Refer to the insert for the list of pseudocode functions and operators. 1 (a) A program is being developed to help manage the membership of a football club. Complete the following identifier table. Example value | Explanation | Variable name | Data type ------------------------------------------------------------------------------------------------------------------------------------------ "Wong" | The preferred name of the member joining the football club | | FALSE | A value to indicate whether an existing member of the club lives at the same address | | 19/02/1983 | When the member joined the football club | | 1345 | The number of points a member has earned. Members of the club earn points for different activities. | | (b) Each pseudocode statement in the following table may contain an error due to the incorrect use of the function or operator. Describe the error in each case, or write 'NO ERROR' if the statement contains no error. You can assume that none of the variables referenced are of an incorrect type. Statement | Error ------------------------------------------------------------------------------------------- Result ← 2 & 4 | SubString ← MID("pseudocode", 4, 1) | IF x = 3 OR 4 THEN | Result ← Status AND INT(x/2) | Message ← "Done" + LENGTH(MyString) | (c) The following data items need to be stored for each student in a group: • student name (a string) • test score (an integer). State a suitable data structure and justify your answer. Structure .............................................................................................................................................................. Justification ...........................................................................................................................................................
✓ Correct Answer
The correct answer is —. This question tests the candidate's understanding of programming fundamentals within the Computer Sciencesyllabus. The examiner's mark scheme requires...
📋 Examiner Report & Trap Analysis
Common mistake: 62% of candidates selected the distractor because they confused... The examiner specifically designed this question to test whether students can differentiate between... To secure full marks, candidates must demonstrate...
Unlock the Examiner's Answer
Sign up for free to reveal the correct answer, the official mark scheme breakdown, and the examiner trap analysis for this question.
Sign Up Free to Unlock →Join thousands of Cambridge students already using Oracle Prep