Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
39 Cards in this Set
- Front
- Back
Statement |
A single line of executable code. |
|
Subroutine |
A selection of code within a larger body of code. It’s usually called from within the main body of code. |
|
Procedure |
A subroutine that returns either no values or many. |
|
Function |
A subroutine that returns a single value. |
|
Recursive function |
A function that calls itself. |
|
Parameter |
A variable that holds either a value or an address and is passed on to a subroutine where it’s given an identifier. |
|
Sequence |
The execution of instructions one after the other. |
|
Selection |
The execution of an instruction or a set of instructions depending upon some condition. |
|
Loop/iteration |
The repeated execution of an instruction or a set of instructions until some condition is true. |
|
Integer |
A whole number than can either be positive, negative or zero, stored using 1, 2 or 4 bits. |
|
Float |
Represented in either 4 or 8 bytes and is structured in a way so it allows decimals. |
|
Boolean |
Returns either true or false. |
|
Char |
One byte long and holds the ASCII value of a character. |
|
String |
A one dimensional array that requires as many bytes of space as there are characters in the string. |
|
Array |
A set of data of the same type grouped together using the same identifier. |
|
Select Case |
The value of a variable is used to decide which of a number of statement blocks is executed. There can be a default option. |
|
Concatenate |
Add (strings) together. |
|
Global variable |
Exists in a scope of the entire code. Any function in the program can use/modify this function. |
|
Local Variable |
Only exists in the scope of a subroutine |
|
Variable |
The identifier or name associated with a particular memory location which is used to store data. |
|
Identifier |
A sequence of characters used to identify or refer to a program or an element, such as a variable or a set of data, within it. |
|
Alpha testing |
Carried out by the programmer who is playing the role of the user, done during early development to find bugs within the program. |
|
Beta testing |
When the program is almost ready, and is tested by a small group from outside the development team. |
|
Acceptance testing |
A test conducted to determine if requirements of a specification are met. |
|
Validation |
Checking that data is reasonable, complete and complies with rules, for example: presence check, length check, format check, range check and existence check. |
|
Verification |
Checking data is consistent. Usually done by checking that the data is accurate and by entering a data item twice, for example when entering an email address. |
|
Overheads |
Any combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to attain a particular goal. |
|
Run-time error |
Errors detected when the program runs and often causes the program to halt or crash. These are typically arithmetic errors where a number overflows or an attempt is made to divide by zero. |
|
Syntax error |
Occur when the program doesn’t follow the rules of a programming language. Incorrectly nested control structures and incorrectly spelt reserve words are examples of this type of error. They’re usually picked up by the compiler. |
|
Logic error |
Occur when the design of an algorithm is flawed, such as an inappropriate comparison statement. For example, if the programmer wrote ‘if (A>B)’ when ‘if (A>=B)’ should have been written. |
|
Recursion |
A function that calls itself until a condition is met. |
|
Prototype |
A preliminary working model of a system to show its essential features. Feedback from the customer will result in new, improved prototypes and, eventually, as more and more complex prototypes made, a final solution. |
|
Indexed sequential file |
A file in which records are stored according to some key field and where one or more indices have been added to make searching more efficient. |
|
Character set |
A defined list of characters recognised by the computer hardware and software. Each character is represented by a number. |
|
Serial file |
A file in which records are stored in the order they were entered. |
|
Sequential files
|
Files in which records are stored according to some key field. |
|
Random files |
Files in which records have been placed in the file according to a mathematical hash algorithm. |
|
A constant |
A data item with a fixed value. |
|
Reserved word/keyword |
Any word in the vocabulary of a programming language which can only have the meaning which is defined in the language. |