Computer science revision Flashcards
What is a sequence?
A sequence is where only one line of code is executed - one line at a time.
What is selection
Selection is where only a specific part of the code is executed.
What is iteration?
Iteration is where code repeats or loops a certain number of times or while a certain statement is true.
What are the 3 basic programming constructs?
The three programming constructs are Sequence, selection and iteration.
What does a variable do?
A variable stores data in the memory of the computer.
What is an IDE? What does it do?
An IDE, which is short for Integrated Development Environment, helps programmers to write code, test it and debug it.
What is an algorithm?
An algorithm is a set of step by step instructions which are used to plan programs before writing the code. In this way, computer programmes can plan exactly what the program needs to do in clear detail.
What is an syntax error?
An syntax error is where a word is misspelled etc.
What is a logic error?
An logic error is where
What is a procedure
A procedure is something that the programmer uses if a certain piece of code is likely to be used many times