Skip to main content
O-LevelComputer ScienceDatabases2210/21 · May/June 2018 · Q68 Marks

A database table, PERFORMANCE, is used to keep a record of the performances at a local theatre. | Show Number | Type | Title | Date | Sold Out | |-------------|-----------|---------------------------|----------|----------| | SN091 | Comedy | An Evening at Home | 01 Sept | Yes | | SN102 | Drama | Old Places | 02 Oct | No | | SN113 | Jazz | Acoustic Evening | 03 Nov | No | | SN124 | Classical | Mozart Evening | 04 Dec | Yes | | SN021 | Classical | Bach Favourites | 01 Feb | Yes | | SN032 | Jazz | 30 Years of Jazz | 02 Mar | Yes | | SN043 | Comedy | Street Night | 03 Apr | No | | SN054 | Comedy | Hoot | 04 May | No |

  1. (a)State the number of fields and records in the table.[2]
  2. (b)Give two validation checks that could be performed on the Show Number field.[2]
  3. (c)Using the query-by-example grid, write a query to identify jazz performances that are not sold out. Only display the date and the title. Field: Show Number Type Title Date Sold Out Table: Performance Performance Performance Performance Performance Sort: Show: Criteria: Jazz = No or:[4]

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 2018). The mark or mark type is shown in brackets.

  1. [1] (a) Fields: 5
  2. [1] (a) Records: 8
  3. [1] (b) Length check
  4. [1] (b) Type check
  5. [1] (b) Presence check
  6. [1] (b) Format check
  7. [4] (c) One mark per correct column.

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, 8 marks.
Source
O-Level Computer Science, May/June 2018 Paper 2 Variant 1, question 6.

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