A regional environmental agency needs to analyze daily precipitation data.
The data from the database table rainfall_readings 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 weatherData.
The data to be stored is shown in the table below:
| Date | StationID | SensorType | RainfallDepth |
|---|---|---|---|
| 12/10/2024 | ST1 | Pluviometer | 12 |
| 12/10/2024 | ST2 | Radar | 4 |
| 13/10/2024 | ST1 | Pluviometer | 0 |
| 13/10/2024 | ST3 | Gauge | 15 |
In this table, the value of weatherData[1, 1] contains "ST2".
Because an array can only store data of one data type, any non-string data (such as the integer values representing rainfall depth) 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.
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.