Back to marketplace

CS Key Terms

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

Iteration

Back (Answer)

A block of code is executed repeatedly, either until a condition is met or for a set number of times.

#2
Front (Question)

Statement

Back (Answer)

Any individual step/instruction in the code

#3
Front (Question)

Assignment

Back (Answer)

Assignment is used to set the value of a variable, e.g. x := 5; (Usually described as X becomes equal to 5). The variable is written on the left and the value on the right. Do not confuse this with the equalities operator seen below.

#4
Front (Question)

Serial files

Back (Answer)

Data is stored in the file in the order in which it was entered. New data is appended to the end of the file.

#5
Front (Question)

Sequential files

Back (Answer)

The data is sorted according to a key field. New data is inserted in the correct position.

#6
Front (Question)

Watches/variable checks

Back (Answer)

Outputting the value of variables at specified points in the program, or when they change.

#7
Front (Question)

Translator diagnostics

Back (Answer)

Messages generated by the translator when converting the code to executable code. Helpful in finding syntax errors and some logic errors. Sometimes the line the error is reported on is not accurate.

#8
Front (Question)

Logic error

Back (Answer)

The code as it is written does something which is different from what the programmer intended. Usually detected while testing, as the program produces an incorrect result.

#9
Front (Question)

String

Back (Answer)

Textual data in the form of a list of characters, for example words and punctuation. String data is made up of character data and will usually vary in length.

#10
Front (Question)

Sequence

Back (Answer)

Executes each statement once, in the order in which it is given.

#11
Front (Question)

Subroutines

Back (Answer)

A sub-program, a set of statements written to perform a given task as part of solving the main problem. It can be called using its identifier.

#12
Front (Question)

Function

Back (Answer)

Specifically a subroutine which returns a single value and can therefore be used as if it were a variable.

#13
Front (Question)

Parameter/argument

Back (Answer)

Data item being supplied to a function or procedure when it is called

#14
Front (Question)

Pseudo code

Back (Answer)

A method of writing an algorithm using normal language which will mimic the programming code, but without worrying about specific syntax. It is useful for planning programs or explaining them to other people.

#15
Front (Question)

Indentation

Back (Answer)

Every time a new line of code is placed within a programming construct, e.g. If statement, the code should be intended to show that it exists within that structure. This makes it clear where each structure starts and finishes.

#16
Front (Question)

Initialising variables

Back (Answer)

This means giving variables a starting value, to ensure it starts at the right value or doesn’t hold a junk value from memory. Typically 0, “” or false, although could be a more specific value depending on the program.

#17
Front (Question)

Syntax error

Back (Answer)

The statement in the code does not follow the rules of the language. Usually detected by the translator, as the statement cannot be understood and translated.

#18
Front (Question)

Run-time error

Back (Answer)

The program attempts an impossible operation (such as division by zero, accessing a missing file, etc.). Usually detected while testing, as the program crashes.

#19
Front (Question)

Stepping

Back (Answer)

Executing the code a line at a time after a break point has been specified. Useful to check variables and see what individual lines of code are doing to locate logical errors.

#20
Front (Question)

Dry run

Back (Answer)

The programmer goes through the code line by line as the computer would, often using a trace table to keep track of variables to check that the code performs as expected.

#21
Front (Question)

Break points

Back (Answer)

Causing the program to halt at a specified marker. The programmer can then check the values of variables, and step through the code (execute the code one line at a time).

#22
Front (Question)

Reserved words

Back (Answer)

Words which are reserved for a specific purpose in the programming language, e.g. IF… WHILE… DO…

#23
Front (Question)

Commenting

Back (Answer)

Explaining a section of code with normal language in order to make it more understandable for other people. Comments should be made when the code is written and not after it has been written.

#24
Front (Question)

Procedure

Back (Answer)

A subroutine which performs a task, but has no return value