Invitation: Chapter 2 Flashcards Preview

Intro to Java > Invitation: Chapter 2 > Flashcards

Flashcards in Invitation: Chapter 2 Deck (6)
Loading flashcards...
1

Definition of Pseudocode

an informal design notation used solely to express algorithms. includes instructions to carry out the three basic sequential operations: computation, input and output

2

3 qualities of good pseudocode

its intent is clear, it is effectively computable, and it is unambiguous

3

definition of sequential algorithm

a "straight line" algorithm that executes its instructions in a straight line from top to bottom and then stops.

4

Name two types of control operations, one conditional, and one iterative

conditional: if/then/else
iterative: while/do

5

definition of variable

a named storage location that can hold a data value

6

definition of library

a collection of useful, pre-written algorithms