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

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;

5 Cards in this Set

  • Front
  • Back

what 3 things can a cpu do

1. move data


2. arithmetic and logic operations


3. control the flow of instructions

value model of varables

a := 2




leftside: memory location


rightside: value

reference model of variables

a := new Point




variables on both sides

why do we use iteration constructs instead of goto (2 reasons)

reduce the complexity of the program and make it easier to read

two issues when designing iteration constructs

1. if loop body modifies index inappropiately


2. if loop body modifies variable that determine the bounds


3. enter and leaving loop other than way provided


4. uses index after loop completes