Data Types
What the Lib
Back to Basics
Structures and rand()
Smooth Operator
100

Whole numbers represent this data type 

What is an integer data type

100

This library is included in every program you will type in this class 

what is iostream

100

This symbol is used to indicate to the computer that a line of code is complete

What is a semi-colon ( ; )

100

The process of changing one variable type to another

what is casting or Static Cast

Syntax = static_cast < new_type > ( expression ) 

100

Symbols +, - , *, and / represent this operator 

What is Arithmetic Operators

200

Numbers such as 22.6 and 345.8 are this variable type

What is a double data type

200

This library is included to enter a user's entire name (first and last)

What is string

200

In c++ this is used to hold a value

What is a variable

200

This tells the computer to leave the switch statement at that point.

What is Break Statement

200

This logic operator is only true when any of the inputs are true

What is the or ( || ) logic operator

300

Letter grades are a good representation of this data type

What is a character data type

300

This library is included to use any math function ( such as sqrt() and pow() )

What is cmath

300

The ( // ) along with ( /* and */) represent this

What is a comment

300

This keyword never has an expression after it

What is an else statement 

recall that it is ALWAYS else {

                                  }

i.e. there is no expression associated with an else

300

This logic operator is only true when both inputs are true

What is the and ( && ) logic operator

400

User's full name can be contained in this data type 

What is a string

recall that the string data type is complex and tends to not show up ad a "keyword" in an IDE

400

This library is included to seed the random number generator with the seconds that have transpired since Jan 1 1970

What is ctime

400

C++, although not exclusively, is this type of programming language that executes commands line by line

What is procedural programming language

400

Produces a random number between 15 and 30

What is (rand()% 16) + 15

400

This operator is often used to determine if a number is even or odd

What is the modulo operator

500

The national debt can be contained in this variable type

What is Long Long

A (unsigned) long long can be up to 9,223,372,036,854,775,807 

500

This library is included to use the functions rand() and srand()

what is cstdlib

500

Please Excuse My Dear Aunt Sally is an mnemonic that refers to what

The order of operation / calculation precedence in a c++ program

500

Produces a random number between 64 and 78 with a seed of time

What is srand(time(0)) then ((rand()% 15) + 64)

500

These two operators are found in one of Shakespeare's  famous quotes

What is or ( || ) and not ( ! )

The famous quote is "To be or not to be"

M
e
n
u