Tell the robot exactly how to draw a square on the board.
-
Upload
anissa-cooper -
Category
Documents
-
view
215 -
download
1
Transcript of Tell the robot exactly how to draw a square on the board.
Tell the robot exactly how to draw a square on the board
ComputerScience
InformationTechnology
DigitalLiteracy
AlgorithmLogical reasoning ProgramDebuggingLogic
SelectionSequenceRepetitionVariablesData representation
AlgorithmA precise method for solving a given problem A sequence of instructions, or a set of rules, for performing a specific task Logical reasoning Being able to explain cause and effect, rather than randomly guess without reasoning. It includes predicting what will happen as a result of running a program.e.g. "If the robot turns right four times (through a right angle), it will be facing the same way as it started". ProgramA set instructions that are understand by the computer and carried out DebuggingFinding and fixing mistakes in programsMost programs don’t work as they should first time round. Mistakes in programs are called ‘bugs’ and finding and fixing them is ‘debugging’.
SelectionInstructions that are carried out if a particular condition is metSequenceInstructions that are carried out in orderRepetitionInstructions that are repeated – a certain number of times, until a condition is met or until the program is stopped VariablesNumbers and text stored and referred to in programs e.g. name = “Bob” Data representationData can be stored and used by a computer as text, images, sound or video LogicUsing the values of true and false alongside operations such as AND, OR and NOT
Computing terms
Algorithm Method for solving a problem
Program Series of instructions
Debug Finding and fixing mistakes in programs
Logic True/False, AND, OR, NOT etc.
Selection Instructions carried out if a condition is met
Sequence Instructions carried out in order
Repetition Repeat set of instructions
Variable Values stored to refer to later
Tell the robot exactly how to draw a square on the board
Algorithm Method for solving a problem
Program Series of instructions
Debug Finding and fixing mistakes in programs
Logic True/False, AND, OR, NOT etc.
Selection Instructions carried out if a condition is met
Sequence Instructions carried out in order
Repetition Repeat set of instructions
Variable Values stored to refer to later
Tell the robot exactly how to draw a square on the board