Skip to main content
O-LevelComputer ScienceDatabases2210/22 · Oct/Nov 2016 · Q512 Marks

A database, PLAYPRODUCTION, was set up to show the performance dates, prices and number of seats available at a theatre specialising in Shakespeare productions. | Play | Performance Date | Number Seats Stalls | Number Seats Circle | Price Stalls Seats $ | Price Circle Seats $ | |----------------------|------------------|---------------------|---------------------|----------------------|----------------------| | As You Like It | 01/07/2016 | 120 | 90 | 20.00 | 30.00 | | As You Like It | 02/07/2016 | 85 | 45 | 30.00 | 40.00 | | As You Like It | 09/07/2016 | 31 | 4 | 30.00 | 40.00 | | Macbeth | 14/07/2016 | 101 | 56 | 25.00 | 35.00 | | Macbeth | 15/07/2016 | 50 | 34 | 25.00 | 35.00 | | Macbeth | 16/07/2016 | 12 | 5 | 35.00 | 50.00 | | Julius Caesar | 22/07/2016 | 67 | 111 | 20.00 | 20.00 | | Julius Caesar | 23/07/2016 | 21 | 24 | 15.00 | 15.00 | | A Comedy of Errors | 30/07/2016 | 45 | 36 | 35.00 | 45.00 |

  1. (a)Give the number of fields that are in each record.[1]
  2. (b)State the data type you would choose for each of the following fields. Play Number Seats Stalls Price Stalls Seats $[3]
  3. (c)The query-by-example grid below selects all the productions with more than 100 seats left in either the stalls or the circle. Field: Play Performance Date Number Seats Stalls Number Seats Circle Table: PLAYPRODUCTION PLAYPRODUCTION PLAYPRODUCTION PLAYPRODUCTION Sort: Ascending Show: [checkbox checked] [checkbox checked] [checkbox unchecked] [checkbox unchecked] Criteria: > 100 or: > 100 Show what would be output from the query-by-example.[3]
  4. (d)Complete the query-by-example grid below to select all the productions with at least six seats left in the circle and show the Play, Performance Date and Price Circle Seats $ in Performance Date order. Field: Table: Sort: Show: Criteria: or:[5]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2016). The mark or mark type is shown in brackets.

  1. [1] (a) - 6
  2. [3] (b) Play // text
  3. No Seats Stalls // number
  4. Price Stalls Seats $ // currency
  5. [3] (c) 1 mark for correct plays, 1 mark for correct dates with each play and no extra fields or text, 1 mark for the order
  6. As You Like It // 01/07/2016
  7. Julius Caesar // 22/07/2016
  8. Macbeth // 14/07/2016
  9. [5] (d) Field: Play // Performance Date // Number Seats Circle // Price Circle Seats $
  10. Table: PLAYPRODUCTION // PLAYPRODUCTION // PLAYPRODUCTION // PLAYPRODUCTION
  11. Sort: // Ascending/Descending // //
  12. Show: [tick] // [tick] // // [tick]
  13. Criteria: // // >=6 //
  14. or: // // //
  15. (2 marks) 1 for Criteria // 1 for correct Field & Table & Sort & Show & or

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
Databases, O-Level Computer Science (syllabus 2210). Structured question, 12 marks.
Source
O-Level Computer Science, Oct/Nov 2016 Paper 2 Variant 2, question 5.

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