Skip to content

Course home

Additional programming techniques

Additional programming techniques

EasyMedium
123
Question 3

An automated oceanic research buoy network logs telemetry data whenever a drone or buoy makes a transmission. The record format is given in the table:

FieldnameDescription
TransmissionTimeThe time the telemetry was recorded
PlatformIDThe unique ID of the recording platform
PlatformTypeThe type of platform – Buoy, Glider, or Submersible
SalinityThe salinity measurement in PSU (Practical Salinity Units)

The log is stored in a database table called telemetry_records. The current contents of telemetry_records are shown:

TransmissionTimePlatformIDPlatformTypeSalinity
08:30BY_X1Buoy34.2
09:15GL_Y3Glider35.1
10:00SB_Z1Submersible33.8
10:45BY_X2Buoy35.5
11:30GL_Y3Glider34.9
12:15BY_X1Buoy36.1
13:00SB_Z2Submersible34.0

Write an SQL statement to display the platform IDs of the glider platforms that have recorded a salinity of less than 35.0.

[3]
Markscheme

Additional programming techniques Questions

  1. GCSE
  2. /Computer Science
  3. /Additional programming techniques

5 exam-style questions on OCR GCSE Computer Science Additional programming techniques. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank