Data types and structures

EasyMedium
1234567891011121314151617181920212223242526272829303132333435
Question 32
Easy

Data about each oceanographic reading is stored as a STRING variable named sensorLog in a research database.

The data string for a specific acoustic Doppler profiler reading is shown below:

ADCP-08B 348.5m 2026-04-12T14:35:02Z OK

Using 0-based indexing:

a.

State the indexing expression (using the variable name sensorLog) for the first character of the ISO 8601 timestamp (2026-04-12T14:35:02Z).

[1]
b.

State the indexing expression (using the variable name sensorLog) for the last character of the ISO 8601 timestamp (2026-04-12T14:35:02Z).

[1]
c.

State the total number of characters (length) of the entire ISO 8601 timestamp substring.

[1]

Data types and structures Questions

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