Wednesday, August 19, 2020

Software - 2 threads at the same time

 in scratch

2 "when green flag clicked" blocks

the 2 threads communicate with each other using things like variables



Software engineering - toggle - Technique often used

 A technique often used in software engineering is :

when a key is pressed, check a variable and toggle it


Programming - Topics to be discussed

- functions

-conditions

-Boolean expressions

-loops

-variables

-threads

-events

...


[Source: Harvard, CS50]