Week 3 Intro To C++ Flashcards

1
Q

what is the =

A

Assignment Operator

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

What is Initialization?

A

Assigns values to variables when they are defined.

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

What is scope?

A

The part of the program that has access to the variable

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

Arithmetic Operators

A

Manipulate Data

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

What are the three types of Arithmetic Operators

A

Unary: single operand
Binary: 2 operands
Ternary: three operands

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

What is cin?

A

Input

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

What do you have to do before the input?

A

Prompt output.

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

What comes after cin ?

A

> > (stream extraction operator)

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

Where does data go with&raquo_space;

A

from console to variable

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

Where does data go with «

A

data on right to console

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

What is the input buffer?

A

Where the data is held before it goes into a variable.

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

What is Implicit Type Conversion?

A

Going from a larger to smaller size data type. You will loose data by truncating.

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