Mapa mental
Python/ programming
Conteúdo do mapa
Python/ programming
strings
- they represent un-coded characters
variables
- changes can be made to these values, they can consist of numbers and letters.
'frying an egg'
- The computer must have the steps broken down to one at a time... "1-put pan on hob 2-break egg 3-get frying pan 4-put oil in pan 5-turn on hob 6-hold egg over pan"
- steps must be in order
- Algorithm
- At set of rules put in a certain order to complete/solve a problem. If they aren't done in a specific order (one of a few options), you cannot solve the problem.
- sequence
- The order in which the computer must perform each step.
- Algorithm
- Decomposition
- When you break down the problem into smaller simpler steps.
IDLE
- Integrated Development Environment
SYNTAX ERROR
- Error in the source code
- debug
- when there is a syntax error, you must do this. You check through all the code you've written and correct
python
- in coding, you can put " or '. Brackets may be needed though
- you can assign any name to variables
- a = "Hello"
- if it is a word it is a string.
- If it is a number
Array
- a list of string
- print with one number
- if a = "Hello world" then print(a[1]) = H because all characters are numbered, including spaces.
- printing with 2 numbers
- it gets the characters from position 2 to position 5 (not included) b = "Hello, World!" print(b[2:5]) = llo
- Indexing
Informações
- Descrição
- Year 8 Computing Mapa Mental sobre Python/ programming, criado por Nyah Smith em 04-12-2019.
- Criado por
- Nyah Smith
- Visualizações
- 1
- Avaliação