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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are the main components of algorithms

A
  • variables
    -statments
    - declaration/assignment
    - inpur/output/return
    control structures
    - condition, iteration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly