Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming (Terms: (Error Diagnostics: warns of any issues with code eg:…
Programming
Terms:
-
-
-
-
IDE Integrated Development Environment : Python
resources to help with programming eg; colour, indents, autocomplete text
-
-
-
Variables & Constant
-
-
-
-
Operators:
- / * -
MOD = remainder
14 MOD 3
14 - 12 = 2
MOD = 2
Comparison:
more than
< less than
== is equal to
!= is not equal to
<= less than or equal to
= more than or equal to
Array:
declare an array like a variable but can store multiple values which can be accessed based on their index position
result (20) = holds 20 places in the array
result(2) will pass the value at index 2 in the array
Selection, Sequence & Iteration
-
Iteration:
repeat a process shown as a loop, eg: while loop or a for loop
-
Nesting:
code indented within code, nested = belongs to, think A453 task 1
Data Types
-
-
Boolean: yes / no, true or false
String: text does include post codes as combination of numbers and letters then a string. Credit card numbers are a string as you need the spaces
Testing:
-
Extreme: limit of valid data to check conditions so if something has a max of 20 inputs then 20th input is tested
-
-
Flowcharts:
rectangle: process / doing something eg: total = num1 + num2
parallelogram : input / output
diamond: decision if / else
rectangle with 2 vertical lines = subroutine
oval type shape : start / stop