• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/28

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

28 Cards in this Set

  • Front
  • Back

What does casting accomplish

Temporarily allows a variable of a particular type to be viewed as another type

Preprocessor

Combines all source files into single file

Precedence table must be memorized

False

If-else can be used to choose between ____ options

Exactly 2.

atan2() had no quadrant ambiguities

T

Ternary (?:) can be used to choose between ___ options

Exactly 2

Counter controlled while loop

Keeps track of how many times you loop

Idiom

Convention style

Post and pre incrementing have the same effect as long as the variable being incremented is NOT in the context, or affecting the calculation of a larger expression

T

Syntax error

Error compiler catches AND code that violates rules of language

Constant integral expression

Any combination of character and integer constants that evaluates to a coaster integer value

Logical operators allow you to make compound tests of arbitrary complexity

T

What is true of variable declared as CONST?

not allowed to be changed from original value and is compile time error if changed

.h files are

Prototypes

.cpp files are

Function body

Double aFunction(int)

Takes an int and returns a double

An identifiers storage class determines the period during which that identifier exits in memory

T

Local variables are

Automatic

Variables of static storage class, exist from when they are created and then to the end of the program

T

Types of scores

Block, function, file

Void

Specifies that a function takes no arguments

Passed by reference means it is passed as a copy

F

Reasons for using reference and pointers

Allow low level programming and better performance

The type double & is

Reference to type double

Declaring a parameter as a constant reference (I.e. CONST)

Stimulates the appearance and security of pass-by-law

Pasd by security weakens security

True

Once a reference is declared and bound to a variable it cannot be changed

T

Once a pointer is declared and loaded to a variable it cannot be changed

F