Please enable JavaScript.
Coggle requires JavaScript to display documents.
SLR 9 - Coggle Diagram
SLR 9
Python
Function - runs a task and then returns an output ( returns a value or message)
procedures - allows you to run a program when you need it
- Larger programs are broken into subroutines
- subroutines make the code easier to read
- they can be easily tested
- procedures can create a modular structure to a program
- they can be easily saved to a library
-
Array
- Static number of related data items are stored together in the same memory space
- Each data item has the same data type
- Arrays must me singular or multiple dimensions (2D,3D,4D..)
Data
A data structure is a specialised format for organising and storing data:-
- Array - a variable that contains more than one data type
- List - store anything you want
- File
- Record
- Table