Data types
26
0/1

An aerospace telemetry centre needs to monitor real-time satellite diagnostics.

The data from the database table telemetry_records 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 satelliteData.

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

TimestampSatIDSubsystemTempCelsius
08:15:22SAT-AlphaPropulsion42
08:15:45SAT-BetaGuidance-5
08:16:12SAT-AlphaPower18
08:16:30SAT-GammaPayload30

In this table, the value of satelliteData[1, 1] contains "SAT-Beta".

Because an array can only store data of one data type, any non-string data (such as the integer values representing temperature) 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]

Data types Questions

Practise OCR GCSE Computer Science Data types with exam-style questions for GCSE Computer Science. 26 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

Previous

Data types Questions

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