Mindmap
Programming
Inhalt der Mindmap
Programming
Procedural Programming
- Sequence of Commands
- Runs in Order
Functions
- Tell a program to do something
- e.g. print(), input(), round()
Methods
- Methods are functions that are contained in a group of functions called an object
- e.g Random.randint(), Random.random(), Turtle.forward()
Arguments
- Extra information to allow functions to run
- ("Goes in the brackets after the function")
Variables
- A name assigned to a value
- Can be used over and over again in the code
- Can change throughout the code
- variable = "assigned like this"
Strings
- A + symbol can be used to connect strings, this is called concatenation
- The input() function always returns a string
- Casting turns one data type into another
- You can cast a string to an integer by adding an int() before the input
Data Types
- Whole numbers (integers) are stored as Binary
- Words (or strings) are stores as ASCII
- Real numbers (or floats) are stored using floating point binary
- True or False (or Boolean) can be stored using a single 1 or 0
Informationen
- Beschreibung
- Mindmap am Programming, erstellt von Charlie Cooke am 16/01/2023.
- Erstellt von
- Charlie Cooke
- Aufrufe
- 1
- Bewertung