programming vocab Flashcards

1
Q

2D array

A

A static data structure that holds data both horizontally and vertically. The structure is fixed and each element has the same data type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

2D list

A

A dynamic data structure that holds data both horizontally and vertically. The structure can change during program execution and the data types of the elements can be different.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Algorithm

A

A series of instructions that end when the problem is solved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Append

A

Adding to an existing data structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Argument

A

The values held in the brackets of a subroutine call. These are passed into a subroutine via the parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Arithmetic expression

A

An expression that results in a numeric value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Array

A

A fixed (static) data structure that holds items of the same data type under one name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ASCII

A

Acronym for American Standard Code for Information Interchange. It is used to represent characters with a numerical value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Assembler

A

An assembler translates assembly language into machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Assembly language

A

A language that replaces machine code with mnemonics and operands to make them easier to read / write.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Assignment

A

Assigning a value to a variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Attribute

A

Properties or characteristics of an entity. E.g. player name, player score

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

BIDMAS

A

Acronym used to show the order of operations in an arithmetic expression. Brackets, Indices, Division, Multiplication, Addition and Subtraction. Add and subtract are interchangeable and should be read from left to right.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Boolean data type

A

A value that is either True or False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Boolean expression

A

An expression that evaluates as True or False. Also known as a logical expression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Boolean operator

A

An operator used in a Boolean expression. For example AND, OR and NOT. Also known as logical operators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Boundary data

A

Data that should be accepted by a program. It tests the data right at the boundary of a range.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Caesar cipher

A

Named after Julius Caesar. A caesar cipher is one of the oldest and simplest forms of encryption that involves shifting letters of the alphabet by a defined amount to create an encrypted message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Character

A

A single character of string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Comparison operators

A

An operator that is used to compare one operand to another. For example, < >.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Compiler

A

A compiler creates an executable file for a program by translating a high level language to machine readable code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Concatenate

A

When two or more strings are joined together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Condition

A

Used to control the flow of execution in a program. A condition contains a logical expression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Constant

A

A constant is a value that cannot be changed during the execution of a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Control flow
The order in which instructions are executed in a program.
26
CSV
Acronym for comma-separated values. It is a plaintext data file where each value is separated by a single comma.
27
Custom built function
A function that you have created yourself and imported into other programs that you have created.
28
Data file
A file that can be accessed and modified by a program.
29
Data pairing
In a dictionary, a data pairing is when a key (the attribute identifier) is paired with the data.
30
Data structure
Used to store data in an organised and accessible way.
31
Data validation
A check performed on data input to ensure that it can be accepted by the program without causing an error.
32
Database
A structured and organised method for storing data. A database holds multiple records.
33
Decision symbol
Used on a flowchart to represent a condition.
34
Declaration
Declaring a variable as a specific data type.
35
Decomposition
Breaking down a problem into smaller sub-problems to make the more manageable.
36
Dictionary
A data structure that involves creating data pairings that can be located using a key.
37
Element
A character in a string or an item in a sequence.
38
Entity
An entity is a single object, place, person or thing. E.g. player
39
Erroneous data
Data that should not be accepted by the program or it will cause an error.
40
Error messages
Used for finding errors in your program. They pinpoint lines of code that contain errors and provide details about them.
41
Execute
Carrying out the instructions for a computer program.
42
Execution
Carrying out the instructions for a computer program.
43
Expression
An expression is a collection of operands and operators that can be evaluated.
44
Field
Also known as an attribute. It is the properties or characteristics of an entity.
45
Final testing
Testing a program at the end of its creation.
46
Flowchart
A visual representation of an algorithm or program.
47
For loop
An iterative statement that will repeat for the length of a given sequence.
48
Function
A subroutine that returns a value.
49
Function call
A statement used to execute a function.
50
Global variable
A global variable can be accessed and modified from anywhere in the program.
51
GUI
Acronym for Graphical User Interface. It is an event driven program that allows the user to interact with it in a variety of ways. For example, buttons and icons.
52
guizero
A third party library that can be imported into Python to create a GUI.
53
High level language
A human readable language written in formal, structured English.
54
IDE
Integrated development environment. This is a place to write programs that provides support with debugging and diagnostics.
55
Import
The keyword that enables a module to be brought into our programs.
56
Index
The location of items or elements in a list, array or string.
57
Initialisation
Assigning an initial value to a variable to let the compiler know that a memory location is required.
58
Input()
A function that prompts the user for input.
59
Integer
A value that is a whole number.
60
Integer division
In integer division there can be remainders because the resulting value will be a whole number. For example 7 ÷ 3 will calculate as 2.
61
Interface
A term used with subroutines to describe how it will interact with the program. It refers to the subroutine identifier, parameters, order of parameters and the return values.
62
Interpreter
An interpreter translates and executes code line by line. It translates the code into machine readable code.
63
Iteration
Repetition of code blocks. For example, a while loop.
64
Iterative testing
Testing a program during its creation.
65
Join method
The join method takes a list and joins each value in that list into one string.
66
Key
In a dictionary data structure, a key is used to identify each attribute held in the dictionary.
67
LED matrix
A group of LEDs placed in a grid structure.
68
Library
In Python, the library contains built-in modules that provide access to system functionality such as file i/o.
69
List
A dynamic data structure that holds items under one name. The items can be of varying data types.
70
Logic error
The program will run, but won’t do what the programmer expected. These are tricky to spot as they are not picked up by the IDE.
71
Logical expression
An expression that evaluates as either True or False.
72
Logical operator
An operator used in a logical expression. For example AND, OR and NOT.
73
Low level language
This can be quickly executed by a computer. It is written in either machine code or assembly.
74
Machine code
A program written using 1s and 0s. A computer can execute this directly.
75
Meaningful identifiers
Naming a variable or data structure using a sensible name that can be easily recognised and remembered.
76
Method
A function that belongs to an object.
77
Mnemonic
A code to help us remember something.
78
MOD / Modulo
Calculates the remainder of a division. For example 7 MOD 3 will calculate as 1.
79
Module
In Python, a module is a file containing Python definitions and statements. The functionality of these definitions and statements is then available to be made use of.
80
Naming convention
A unified standard for naming things in a chosen programming language.
81
Naming conventions
Following the guidance in the programming language documentation about naming structures.
82
Nested selection
A selection block placed within another selection block.
83
Normal data
Data that should be accepted by a program. This is data that you would expect a user to enter.
84
Operand
A piece of data that can be changed
85
Operator
A symbol or function that performs an operation. For example +.
86
Parameter
Used in a subroutine to allow values to be passed into them.
87
Pixel
A single element of an image on a computer screen.
88
Procedure
A subroutine that executes a block of code when called. It does not return a value.
89
Pseudo-random number
This type of random number is generated using mathematical algorithms which are computer-generated and therefore highly predictable.
90
Pseudocode
Informal steps for an algorithm using structured English.
91
Pythonista
A programmer that uses Python as their desired programming language.
92
Real / Float
A decimal number.
93
Real division
In real division there are no remainders because the resulting value can be a decimal number. For example 7 ÷ 3 will be calculated as 2.3333333333333335.
94
Record
A collection of attributes for a single entity.
95
Return value
A value that is returned by a function.
96
Robustness
A program is robust when it does not produce any errors during execution.
97
Scope
The scope of a variable is the section of the program where the variable can be accessed and modified.
98
Selection
Controlling the flow of execution in programs using if statements.
99
Sense HAT
Hardware that attaches to the top of a Raspberry Pi computer and allows you to write programs that collect data from sensors. The Sense HAT also has an LED matrix for displaying output.
100
Sense HAT emulator
A digital representation of the physical Sense HAT device.
101
Sensor
A tool that collects data.
102
Sequence
The sequence of a program is performed from top to bottom, executing each line in turn.
103
Split method
The split method takes a string and splits it when it finds a defined character. The result will be held as a list.
104
Spreadsheet
A document where data can be arranged in rows and columns. A spreadsheet can be used to sort and perform calculations on data.
105
String
A value that is text. This can include numbers but they will be read as text.
106
String handling
Performing operations on string.
107
Structure chart
A top-down diagram used to design the structure of the subroutines required for completing a program.
108
Structured programming
A programming paradigm where sequence, selection, iteration and subroutines are used to control the flow of execution. Each block of code in a structured program has a single entry point and a single exit point.
109
Subroutine
A sequence of instructions to perform a specific task with an identifiable name.
110
Substring
Part of a string.
111
Success criteria
A list of key elements required in a programming solution based on the scenario or user requirements.
112
Syntax
In programming, the language specific code that you write in has its own syntax. The syntax is unique to that programming language.
113
Syntax
The formal method used to structure code in a given programming language.
114
Syntax error
An error where the code has been structured incorrectly and the syntax rules haven’t been followed.
115
Tabular format
Displaying data in a grid of rows and columns.
116
Terminator
Oval shapes used to show the start and end of a flowchart.
117
Text file
A file stored on a computer that contains plain text.
118
Third party libraries
Code that has not been written by the Python developer or you that can be imported into your programs to save you from writing them yourself if you don’t have the time or necessary skills.
119
Trace table
An error checking method that steps through each line of code in a program and records the state of the variables and conditions.
120
Translator
This executes the programs that programmers write in high level languages.
121
Traverse
Move through a sequence.
122
True-random number
This type of random number is generated using unpredictable physical means such as atmospheric noise.
123
Truth table
A table that lists the outputs of all possible input combinations.
124
Try and except
A data validation check to see if the data entered can be accepted by the program. If a defined error occurs the user will be prompted with a warning.
125
Variable
A value held under one name.
126
While loop
A loop that will continue to iterate whilst its condition evaluates as True.
127
XOR
A Boolean / logical operator.