Back to marketplace

Constants, variables and data types

No description yet. This curated deck is ready for daily study.

Total cards: 19•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (19)

#1
Front (Question)

What is a variable?

Back (Answer)

A variable is a label for stored information that can change while the program is running

#2
Front (Question)

What is a constant?

Back (Answer)

A constant is label for stored information that cant change while the program is running

#3
Front (Question)

Which data type stores whole numbers?

Back (Answer)

Integer

#4
Front (Question)

Which data type stores text?

Back (Answer)

String

#5
Front (Question)

Which data type only has two possible values?

Back (Answer)

Boolean (true or false)

#6
Front (Question)

Which data type can store a single letter (or number, symbol etc)

Back (Answer)

Character (char)

#7
Front (Question)

Which data type stores any numbers including fractions?

Back (Answer)

Real (sometimes called float)

#8
Front (Question)

Which data type would you use to store 15/4/12?

Back (Answer)

Date/Time

#9
Front (Question)

Which data type would you use to store 20:15?

Back (Answer)

Date/Time

#10
Front (Question)

Which data type would you use to store 4 September 2014 13:30 ?

Back (Answer)

Date/Time

#11
Front (Question)

What characters can you start a variable name with?

Back (Answer)

letter or underscore

#12
Front (Question)

What characters can you use in the main part of a variable name?

Back (Answer)

letter, number, underscore

#13
Front (Question)

True or false? if a is true and b is true, a AND b is…

Back (Answer)

true

#14
Front (Question)

If A is false and B is false then A AND B is…

Back (Answer)

false

#15
Front (Question)

if A is false and B is true then A and B is….

Back (Answer)

false

#16
Front (Question)

if a is true and b is true, a OR b is…

Back (Answer)

true

#17
Front (Question)

if a is true and b is false, a OR b is…

Back (Answer)

true

#18
Front (Question)

if a is false and b is false , a OR b is…

Back (Answer)

false

#19
Front (Question)

if A is true, NOT A is…

Back (Answer)

false