Skip to main content
A-LevelComputer ScienceSoftware development9618/22 · May/June 2022 · Q111 Marks

Refer to the insert for the list of pseudocode functions and operators. A programmer is testing a program using an Integrated Development Environment (IDE). The programmer wants the program to stop when it reaches a specific instruction or program statement in order to check the value assigned to a variable.

  1. (a)Give the technical term for the position at which the program stops.[1]
  2. (b)The following table lists some activities from the program development life cycle. Complete the table by writing the life cycle stage for each activity. Activity Life cycle stage An identifier table is produced. Syntax errors can occur. The developer discusses the program requirements with the customer. A trace table is produced.[4]
  3. (c)An identifier table includes the names of identifiers used. State two other pieces of information that the identifier table should contain. 1 2[2]
  4. (d)The pseudocode statements in the following table may contain errors. State 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 Status ← TRUE AND FALSE IF LENGTH("Password") < "10" THEN Code ← LCASE ("Electrical") Result ← IS_NUM(-27.3)[4]

Mark scheme

Marking points from the official mark scheme (May/June 2022). The mark or mark type is shown in brackets.

  1. [1] Correct answer only: Breakpoint
  2. [1] One mark per row
  3. Activity | Life cycle stage
  4. An identifier table is produced. | Design
  5. Syntax errors can occur. | Coding
  6. The developer discusses the program requirements with the customer. | Analysis
  7. A trace table is produced. | Testing
  8. [2] One mark per bullet point to Max 2
  9. • A description of what the identifier is used for / the purpose of the identifier
  10. • The data type of the identifier
  11. • The number of elements of an array // the length of a string
  12. • An example data value
  13. • Value of any constants used
  14. • The scope of the variable (local or global)
  15. [4] One mark per row
  16. Statement | Error
  17. Status ← TRUE AND FALSE | NO ERROR
  18. IF LENGTH("Password") < "10" THEN | "10" shouldn't be a string // must be an integer
  19. Code ← LCASE("Electrical") | Parameter must be a char // cannot be a string
  20. Alternative: LCASE should be TO_LOWER
  21. Result ← IS_NUM(-27.3) | Parameter must be a string / char // cannot be a number

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Software development, A-Level Computer Science (syllabus 9618). Structured question, 11 marks.
Source
A-Level Computer Science, May/June 2022 Paper 2 Variant 2, question 1.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep