Karteikarten
Algorithms
Karten in diesem Stapel (6)
- 1What is a sequence in an algorithm?It means that the step-by-step instructions are executed one after the other
- 2What does selection in an algorithm do?Tests a condition
Executes a certain block of code depending on the result - 3Give examples of how selection can be representedIF something is true (or untrue) THEN execute this code
Can also use IF ... ELSE IF ... ELSE
CASE statements can also be used for selection - 4What is iteration?Repeating a block of code (loops)
- 5Give examples of how iteration can be representedFOR a fixed number of times
Conditional loops
WHILE loop - tests the condition before the loop is run
REPEAT loop - tests the condition after the loop is run, so it will run at least once - 6What can conditional loops become?Infinite loops
Informationen
- Beschreibung
- GCSE Computing (7 Programming) Karteikarten am Algorithms, erstellt von Anisha Rai am 20/04/2016.
- Erstellt von
- Anisha Rai
- Aufrufe
- 24
- Tags
- Bewertung