Algorithms

Description

GCSE Computing (7 Programming) Flashcards on Algorithms, created by Anisha Rai on 20/04/2016.
Anisha Rai
Flashcards by Anisha Rai, updated more than 1 year ago
Anisha Rai
Created by Anisha Rai over 8 years ago
14
0

Resource summary

Question Answer
What is a sequence in an algorithm? It means that the step-by-step instructions are executed one after the other
What does selection in an algorithm do? Tests a condition Executes a certain block of code depending on the result
Give examples of how selection can be represented IF something is true (or untrue) THEN execute this code Can also use IF ... ELSE IF ... ELSE CASE statements can also be used for selection
What is iteration? Repeating a block of code (loops)
Give examples of how iteration can be represented FOR 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
What can conditional loops become? Infinite loops
Show full summary Hide full summary

Similar

A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Computing
Kwame Oteng-Adusei
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Historical Development of Computer Languages
Shannon Anderson-Rush
Useful String Methods
Shannon Anderson-Rush
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar