GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

ICS 114 Algorithms

Tristan Mosher Englisch 13 Karten

Karten in diesem Stapel (13)

  1. 1Define an algorithm and state 4 characteristics.A specification of a solution to a problem that is:
    1. Unambiguous
    2. Effective
    3. Finite in terms of time and space
    4. Has a finite number of inputs/outputs
  2. 2How does top-down design work?Start with a big problem, break those down into smaller problems.
  3. 3What are the 3 flow of control structures?1. Sequential
    2. Selection
    3. Repetition
  4. 4How does sequential flow of control perform?Performs one step after the other
  5. 5How does selection flow of control perform?Performs (or not) different actions based on a condition.
  6. 6How does repetition flow of control perform?Perform one or more steps more than or equal to 0 times.
  7. 7"If" is what kind of flow of control?Selection
  8. 8"If-else" (nested or otherwise) is what kind of flow of control?Selection
  9. 9Loops are what kind of flow of control?Repetition
  10. 10Which loop is pre-tested and definite?For loop
  11. 11Which loop is pre-tested and indefinite?While loop
  12. 12Which loop is post-tested and indefiniteDo-while loop
  13. 13Which loop would be good for getting user input?Do-while loop

Informationen

Beschreibung
Karteikarten am ICS 114 Algorithms, erstellt von Tristan Mosher am 21/09/2018.
Erstellt von
Tristan Mosher
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck