Skip to content

Course home

Data types

Data types

Easy
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
Question 50

Refer to the following algorithm segment written in pseudo-code for a remote weather telemetry station:

isRaining ← False
windSpeedKnots ← 12.4
readingCount ← 48

Which of the following correctly identifies the most suitable data types for the variables isRaining, windSpeedKnots, and readingCount respectively?

A

Boolean\text{Boolean}Boolean, Integer\text{Integer}Integer, Real\text{Real}Real

B

Boolean\text{Boolean}Boolean, Real\text{Real}Real, Integer\text{Integer}Integer

C

String\text{String}String, Real\text{Real}Real, Integer\text{Integer}Integer

D

Boolean\text{Boolean}Boolean, Real\text{Real}Real, Real\text{Real}Real

Markscheme

Data types Questions

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

50 exam-style questions on AQA GCSE Computer Science Data types. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank