(GCSE ARCHIVE) Python Concepts & Syntax Flashcards
Statement
A single instruction or step within a program
Record
A data structure that stores elements, as a series of attributes, used in databases.
Variable
A data element in a program whose value can change as the program is running
Constant
A data element in a program whose value does not change as the program is running
Input
Data introduced into a computer system from the outside world
Output
Data that is presented to the outside world, such as by a printer or display
Function
A named set of instructions that returns a value
Procedure
A named set of instructions that does not return a value
Assignment
The process of allocating a value to a data element
String
A data type capable of storing combinations of numbers, letters and symbols
Iteration
A type of programming construct in which a group of statements is executed repeatedly
Selection
Program construct in which a condition is used to decide which instructions (if any) will be executed
Sequence
Program construct in which a set of instructions are executed in the order in which they appear
Casting
The process of converting one data type into another data type
How to assign a string, integer, float, and Boolean in python
- bob = “string”
- john = 19
- david = 3.14
- sam = True