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

Karteikarten

Writing and Following Algorithms

James Norman OCR A level Computer Science A level Englisch 3 Karten

Karten in diesem Stapel (3)

  1. 1Properties of a good algorithm1. Clear and precisely stated steps that produce the correct output for any set of valid inputs
    2. Allows for invalid inputs
    3. Terminates at some point
    4. Executes efficiently, in as few steps as possible
    5. Designed to allow others to understand and modify it if necessary
  2. 2Steps for interpreting algorithms1. Read the comments on the program
    2. Look at variable names
    3. Follow the algorithm through
    4. Try a dry run with some data
  3. 3Trace TablesUsed to perform a dry run of an algorithm
    While following the algorithm, variables and their values at each stage are displayed in the table

Informationen

Beschreibung
Tiny topic, seems more skill-based than memory based
Erstellt von
James Norman
Aufrufe
4
Bewertung

Mehr zu Algorithm Design and Problem Solving

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck