LESSON 3 Flashcards

1
Q

Named storage that programs can use (placeholders).​​

A

Variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Names use for classes, variables, and methods. ​​

A

Identifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The operating system allocates memory based on the data type of the variable. ​

A

Data Types​

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Two data types available in C++:

A

Primitive data types​​

Reference data types​

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Stores either value true or false.​

A

bool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Typically a single octet (one byte). This is an integer type.

A

char

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The most natural size of integer for the machine.​

A

int

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A single-precision floating point value.

A

float

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

double-precision floating point value.​

A

double

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Special characters are represented by so-called _________, which begins with a back-slash () followed by a pattern, e.g., \t for tab, \n for newline.

A

Escape sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

C++ OPERATORS

A

Arithmetic
Compound Assignment
Increment and Decrement
Relational
Logical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly