Data types and structures

EasyMedium
1234567891011121314151617181920212223242526272829303132333435
Question 20
Easy

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?

Structured data type

Primitive data type

Abstract data type

Enumerated data type

Data types and structures Questions

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