Programming Key Terms Flashcards
Algorithm
A list of rules to follow in order to solve a problem
Arithmetic Operators
Used in calculations such as +*/-
Assignment
When you assign some data to a variable or constant using the = sign
Condition
Features of a selection or iteration statement, which is usually some kind of question with a true or false answer
Constant
Refers to a fixed value. The value is set when the program is written and cannot change whilst the program is running
Data type
Different types of things that can be assigned to variables e.g. float, integer, Boolean
Debug
Identifying and getting rid of errors within the program
Debugger
A computer program that helps to identify and get rid of errors within the program
IDE
Integrated development environment-software which enables you to enter, edit, compile and run your programs
Identifier
The name given to identify structures such as variables, functions and arrays
Iteration
When a set of instructions are repeated in a sequence a specified number of times or until the condition is met. A while loop or a for loop or examples.
Logic error
When your compiles and runs, but does the wrong thing. This is a human error e.g. 2+2=5. The program will still run but not output what you wanted.
Operators
A symbol which helps the user to command the computer to do a certain mathematical or logical manipulation.
Psuedocode
A program that roughly resembles a programming language which includes some common English terminology
Variable
A name used to refer to a particular memory location that is used to store data. The value stored in the memory location can be changed while the program is running
Relational operators
Used to compare two values. Operators include: =, , <=, >=, ==
Runtime error
Like a syntax error but the program is capable to start but finds a problem halfway through such as a misspelt variable name.
Selection
Uses a Boolean condition to determine, or select, whether or not to run a certain block of statements. An IF statement is an example.
Sequence
When two or more statements are executed one after the other
Syntax error
Where the compiler find something wrong with your program, and you can run it. For example, you may have incorrect indention, a missing bracket or may be trying to use a variable that hasn’t been declared