Level 2
Level 1

Constants, variables and data types


27 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
Facts or numbers that haven't been processed or understood.
Define data
Data that has been processed so that it is useful in some way.
Define information
A value that doesn't change while your program runs.
What is a constant?
A value that might change while your program runs.
What is a variable?
When you need to keep track of a value that may change when your program runs.
When would you use a variable?
To represent a value that won't change.
When would you use a constant?
A whole number
What is an integer?
True or False
What is a boolean?
A decimal number
What is a float/real?
A single letter or number
What is a character?
More than one character
What is a string?
Keeping track of a number
What is the purpose of an integer?
Checking if something is true or false
What is the purpose of a boolean?
Storing numbers with decimal places
What is the purpose of a float/real?
Storing individual characters. Sometimes used for individual key presses.
What is the purpose of a character?
Processing or displaying text.
What is the purpose of a string?
A data structure that holds multiple pieces of data
What is an array?
True
What does this expression evaluate to? - True AND True
False
What does this expression evaluate to? - True AND False
False
What does this expression evaluate to? - False AND True
False
What does this expression evaluate to? - False AND False
True
What does this expression evaluate to? - True OR True
True
What does this expression evaluate to? - True OR False
True
What does this expression evaluate to? - False OR True
False
What does this expression evaluate to? - False OR False
True
What does this expression evaluate to? - NOT False
False
What does this expression evaluate to? - NOT True