Skip to main content
A-LevelComputer ScienceComputational thinking and problem-solving9618/22 · May/June 2021 · Q211 Marks

(a) Examine the following state-transition diagram. [Figure 2.a]

  1. (a)(i)Complete the table with reference to the diagram. The number of transitions that result in a different state The number of transitions with associated outputs The label that should replace 'X' The final or halting state[4]
  2. (a)(ii)The current state is S1. The following inputs occur. 1. Low level detected 2. Low level detected 3. Low level detected 4. Low level detected Give the number of outputs and the current state. Number of outputs Current state[2]
  3. (b)(i)A system is being developed to help manage book loans in a library. Registered users may borrow books from the library for a period of time. State three items of data that must be stored for each loan.[2]
  4. (b)(ii)State one item of data that will be required in the library system but does not need to be stored for each loan.[1]
  5. (b)(iii)One operation that manipulates the data stored for each loan, would produce a list of all overdue books. Identify two other operations. Operation 1 Operation 2[2]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

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

  1. [1] (a)(i) The number of transitions that result in a different state: 3
  2. [1] (a)(i) The number of transitions with associated outputs: 2
  3. [1] (a)(i) The label that should replace 'X': Start
  4. [1] (a)(i) The final or halting state: S3
  5. [1] (a)(ii) Number of outputs: 1
  6. [1] (a)(ii) Current state: S2
  7. [1] (b)(i) User ID / Username
  8. [1] (b)(i) Book ID
  9. [1] (b)(i) Date of loan / return date
  10. [1] (b)(ii) Users name / address / phone number / DOB
  11. [1] (b)(ii) Book title / author / publisher / library rack number / ISBN number / price
  12. [1] (b)(ii) Date of loan / return date (if not already given in part (i))
  13. [1] (b)(ii) The length of the loan (assumed to be the same for all books)
  14. [1] (b)(iii) Create loan / borrow book
  15. [1] (b)(iii) Return book
  16. [1] (b)(iii) Send letter / email / contact a user ref an overdue book
  17. [1] (b)(iii) View the loan history for a given book
  18. [1] (b)(iii) View the loan history for a given user

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
Computational thinking and problem-solving, A-Level Computer Science (syllabus 9618). Structured question, 11 marks.
Source
A-Level Computer Science, May/June 2021 Paper 2 Variant 2, question 2.

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