An algorithm designed for an automated weather station uses a RECORD structure to store information about weather sensors.
RECORD SensorNode
nodeName : String
elevation : Integer
statusCode : Character
batteryLow : Boolean
ENDRECORD
node1 ← SensorNode('North_Ridge', 1420, 'A', False)
node2 ← SensorNode('Valley_Flow', 450, 'F', True)
node3 ← SensorNode('East_Slope', 980, 'B', False)
stationList ← [node1, node2, node3]
Under the standard 7-bit ASCII character set, how many different unique values can the field statusCode represent?
777
128128128
256256256
127127127
Practise AQA GCSE Computer Science Data types with exam-style questions for GCSE Computer Science. 50 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 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.