basic algorithms Flashcards
1
Q
why do we use pseudocode
A
- high level description of an algorithm
- more structured than english prose
- less detailed than a program
- preferred notation for describing algorithms
- hide program design issues
2
Q
what are the main components of algorithms
A
- variables
-statments
- declaration/assignment
- inpur/output/return
control structures
- condition, iteration