Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming Techniques - Coggle Diagram
Programming Techniques
Subroutines
-
-
Global and Local
Global can be accessed through the entire code. Local are created in the subroutine and can only be accessed within there
Data Structures
Arrays or Lists
To access item we write the name of the list followed by [] with the index position of the item we want
A list indexes from 0
-
-
2D arrays - scores[3][2] - if visualising as a table, give y coordinate first, x coordinate second
SQL
Select, From, Where
-
If we wanted to see all the firstnames beginning with S we would write SELECT FirstName from Student WHERE FirstName="S"%
-