Data types

Easy
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
Question 50
Easy

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?

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

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

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

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

Data types Questions

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