Algorithms

Anisha Rai
Flashcards by Anisha Rai, updated more than 1 year ago
Anisha Rai
Created by Anisha Rai almost 5 years ago
10
0

Description

GCSE Computing (7 Programming) Flashcards on Algorithms, created by Anisha Rai on 04/20/2016.

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
Useful String Methods
Shannon Anderson-Rush
Historical Development of Computer Languages
Shannon Anderson-Rush
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar