Week 3 Intro To C++ Flashcards Preview

C++ > Week 3 Intro To C++ > Flashcards

Flashcards in Week 3 Intro To C++ Deck (12):
1

what is the =

Assignment Operator

2

What is Initialization?

Assigns values to variables when they are defined.

3

What is scope?

The part of the program that has access to the variable

4

Arithmetic Operators

Manipulate Data

5

What are the three types of Arithmetic Operators

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

6

What is cin?

Input

7

What do you have to do before the input?

Prompt output.

8

What comes after cin ?

>> (stream extraction operator)

9

Where does data go with >>

from console to variable

10

Where does data go with <<

data on right to console

11

What is the input buffer?

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

12

What is Implicit Type Conversion?

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