Data types and structures

EasyMedium
1234567891011121314151617181920212223242526272829303132333435
Question 35
Easy

Data about each museum exhibit is stored as a STRING variable named exhibitRecord in a collections database.

The data string for a specific Roman vase catalogued on 15 November 2024 is shown below:

V5102 9174 2024-NOV-15 EX09

0-indexed memory layout of the exhibit record

Using 0-based indexing:

a.

State the indexing expression (using the variable name exhibitRecord) for the first character of the registration date (2024-NOV-15).

[1]
b.

State the indexing expression (using the variable name exhibitRecord) for the last character of the registration date (2024-NOV-15).

[1]
c.

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

[1]

Data types and structures Questions

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