logo

Cambridge IGCSE Computer Science practice

Which data type would you use to store the value 'True'?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

P rogramming concepts

Exam-style question

Try this first

Which data type would you use to store the value 'True'?.

  1. A.Integer
  2. B.Real
  3. C.Char
  4. D.Boolean

Answer and explanation

Concise answer

Boolean

Why this is correct

Boolean data types are used to store true or false values, such as 'True'.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions