Skip to content

Course home

Data types

Data types

Easy
1234567891011121314151617181920212223242526
Question 21

An engineering team at a motorsport racing event needs to analyze vehicle telemetry data.

The data from the database table lap_telemetry is imported into a program written in a high-level programming language.

The program stores this data in a two-dimensional (2D) string array with the identifier telemetryData.

The data to be stored is shown in the table below:

LapNumberDriverCodeSectorMaxSpeed
4HAMS1312
4VERS2325
5HAMS1315
5LECS3210

In this table, the value of telemetryData[1, 1] contains "VER".

Because an array can only store data of one data type, any non-string data (such as the integer values representing maximum speed) must be converted to a string before it can be stored in the array.

Identify the computing term used to describe converting a value from one data type to another.

[1]
Markscheme

Data types Questions

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

26 exam-style questions on OCR GCSE Computer Science Data types. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank