C++ Basics
Variables
Assign or Initialize
Data sizes
Boolean Values
100

This basic element of a program specifies a computation to be performed.

What is an Expression?

100

In C++ this is an object that has a name.

What is a Variable?

100

X = 7;

What is assign?

100

Boolean

What is 1 byte?

100

This type of variable can only have two possible values: True (1), and False (0).

What is a boolean variable?

200

This basic element of a program is the smallest independent unit in the C++ programming language.

What is a Statement?

200

This is a piece of memory that can be used to store values.

What is an Object?

200

first = 127.16;

What is assign?

200

Character

What is 1 byte?
200

This C++ keyword is used to declare a boolean variable.

What is bool?

300

This basic element of a program is a collection of statements that execute sequentially.

What is a Function?

300

This term is used to describe when a piece of memory from RAM will be set aside.

What is Instantiation?

300

int bigNumber;

What is Definition?

300

int

What is 2 bytes?

300

When boolean variables are used within the context of an if statement the expression is called this.

What is a conditional expression?

400

This type of statement tells the C++ compiler that a variable holds a value.

What is a Declaration Statement?

400

A term used to describe when you both define a variable AND give it an initial value.

What is initialization?

400

string firstName = "Bob";

What is initialization?

400

long

What is 4 bytes?

400

When x = 0, does this return a value of True or False?

if (x == 0) 

What is true?

500

This is a collection of precompiled code (e.g. functions).

What is a Library?

500

This describes a variable that has not been given a known value.

What is an Uninitialized Variable?

500

int x;

cout << x;

What is Uninitialized?

500

Float

What is 4 bytes?

500

If y = True, what does this statement return?

x = False;
y = x;
if (y == true)

What is false?