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

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;

20 Cards in this Set

  • Front
  • Back
When you declare an object...
...the name is a memory address, or reference.
Name the three control structures
Sequence, selection, repetition. All three have one entry and one exit.
In a sequence structure...
...you perform a sequence of events, without the ability to branch off and skip any of them.
In a selection (decision) structure...
...you ask a question, and then take a course of action that depends on the answer.
How many types of selection structures are there?
Single alternative/unary (if-then), Dual alternative/binary (if-then-else), and Multiple alternative (case).
Repetition structure
Also known as an Iteration or Loop structure. In this structure, you ask a question, and perform the required action, then when finished, ask the question again.
While loop/while-do loop
In these loops, a process continues while a condition remains true.
Stacking
attaching structures end to end.
Nesting
putting a structure within another.
do-until loop
makes sure a procedure executes at least once, then either runs or does not run depending on the result.
Priming read/priming input
beginning statement in a structure.
Block
a group of statements that execute as a whole.
Boolean expressions/logic
only has two states: true or false. Boolean expressions work in the selection structure.
Boolean operators
are NOT,AND,OR. Boolean operators follow an order of operations that is as follows, NOT,AND,OR.
These operators create what are know as Compound conditions.
NOT operator
Reverses the meaning of a boolean expression. NOT is evaluated first.
AND operator
combines decisions so that both/all must be true for an action to occur.
AND is evaluated second (or first, if there is no NOT operator).
OR operator
combines decisions so that only one must be true for an action to occur. OR is evaluated last.
Boolean orders of operations
Parenthesis/brackets, NOT, AND, OR.
Relational comparison operators
symbols that express boolean operations such as =,<,>,<=,>=
Case structure
A convenient alternative to other structures. Allows one selection between multiple alternatives by testing a variable between several values. Replaces if-then-else structure.