(a) Examine the following state-transition diagram. [Figure 2.a]
- (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]
- (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]
- (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]
- (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]
- (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] (a)(i) The number of transitions that result in a different state: 3
- [1] (a)(i) The number of transitions with associated outputs: 2
- [1] (a)(i) The label that should replace 'X': Start
- [1] (a)(i) The final or halting state: S3
- [1] (a)(ii) Number of outputs: 1
- [1] (a)(ii) Current state: S2
- [1] (b)(i) User ID / Username
- [1] (b)(i) Book ID
- [1] (b)(i) Date of loan / return date
- [1] (b)(ii) Users name / address / phone number / DOB
- [1] (b)(ii) Book title / author / publisher / library rack number / ISBN number / price
- [1] (b)(ii) Date of loan / return date (if not already given in part (i))
- [1] (b)(ii) The length of the loan (assumed to be the same for all books)
- [1] (b)(iii) Create loan / borrow book
- [1] (b)(iii) Return book
- [1] (b)(iii) Send letter / email / contact a user ref an overdue book
- [1] (b)(iii) View the loan history for a given book
- [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 →