Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming - Coggle Diagram
Programming
variables
-
-
-
multiple values
-
nested object
Boss: { name: Browser,
underling: { name: Kiraa}
} .
flow control
Decision
Choice is made follow some logic,
if true then do x
switch
Multiple choices from smaller attribute
If color of bread
red then strawberry
black then chocolates
yellow then lemon
loop
-
-
element list loop
We have a list of variables, go through the items
-
tasks
Internal event, wait for soup to cool that we eat
schedule, do something base on time,
e.g. wake up to join class
External input
Wait for dishes to be served, then we eat
block of code
module
-
function
There is something return back
Use 100 bank notes, expect 20 coins back
-
-
-