Skip to content

Course home

Sign up

Data types and structures

EasyMedium
12345678910111213141516171819202122232425262728293031323334
Question 16

Telemetry data from a marine research buoy is stored as a STRING variable named buoyReading.

The data string for a specific sensor reading taken on 12 August 2026 is shown below:

TX982_W-SPD08.4_2026/08/12_P04

Using 0-based indexing:

a.

State the indexing expression (using the variable name buoyReading) for the first character of the date substring (2026/08/12).

[1]
b.

State the indexing expression (using the variable name buoyReading) for the last character of the date substring (2026/08/12).

[1]
c.

State the total number of characters (length) of the entire date substring.

[1]
Markscheme

Data types and structures Questions

  1. GCSE
  2. /Computer Science
  3. /Data types and structures

44 exam-style questions on Edexcel GCSE Computer Science Data types and structures, covering Primitive and structured data types, Using variables and constants, and Manipulating strings. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank