Skip to content

Course home

Sign up

Data types and structures

EasyMedium
12345678910111213141516171819202122232425262728293031323334
Question 20

A telemetry logging service for a high-performance racing car captures a packet of data at regular millisecond intervals. Each packet is defined as a custom record:

structure LapReadingtimestamp:Realengine_rpm:Integertyre_pressures:Array of Realdrs_active:Booleanendstructure\begin{aligned} &\textbf{structure } \text{LapReading} \\ &\quad \text{timestamp} : \text{Real} \\ &\quad \text{engine\_rpm} : \text{Integer} \\ &\quad \text{tyre\_pressures} : \text{Array of Real} \\ &\quad \text{drs\_active} : \text{Boolean} \\ &\textbf{endstructure} \end{aligned}​structure LapReadingtimestamp:Realengine_rpm:Integertyre_pressures:Array of Realdrs_active:Booleanendstructure​

Which term best describes the classification of the overall LapReading\text{LapReading}LapReading type, as opposed to its individual components like engine_rpm\text{engine\_rpm}engine_rpm or drs_active\text{drs\_active}drs_active?

A

Structured data type

B

Primitive data type

C

Abstract data type

D

Enumerated data type

Markscheme

Data types and structures Questions

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

44 exam-style questions on Edexcel GCSE Computer Science Data types and structures, covering Primitive and structured data types, Using variables and constants, and Manipulating strings. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank