• 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/16

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;

16 Cards in this Set

  • Front
  • Back

Flow of Order

Order in which the statements in a program are performed

Boolean Expression

An expression that can be thought of as being true or false

Precedence Rules

Order which computer evaluates expressions

Higher Precedence

One operation is evaluated before another, the one that is evaluated first has higher precedence

Short-Circuit Evaluation

Short cut computer takes when evaluating && and || with precedence rules

Enumeration Type

Type whose values are defined by a list of constants of type int

Branching Mechanism

Any programming constant that chooses one from a number of alternative actions

Dangling else Problem

Pair the one else with the second if rather than the first

Switch Statement

Also implements multiway branches

Controlling Expression

switch () controls the choice of branch

Break Statement

Break; after case label, continues until it reaches a break statement

Menu

Presents a list of alternatives on the screen for the user to use

Local Variable

Exist only within the compound statement in which they are declared

Block

A compound statement that contains variable declarations (C++ code in {})

Local to the Block (Have the black as there scope)

variables declared within the block

Statement Block

When it is not the body of a function