Added new images.
This commit is contained in:
parent
6ce55d61c2
commit
5a3e8f2bd9
@ -1,5 +1,7 @@
|
||||
# Activity: Double coin flipper
|
||||
|
||||

|
||||
|
||||
Guide the students to create a program using Boolean variables and operators.
|
||||
We’ll use our pseudocode from the previous activity to code a double coin flipper program.
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
# Project: Boolean
|
||||
|
||||

|
||||
|
||||
This is an assignment for students to come up with a micro:bit program that uses Boolean variables, Boolean operators, and possibly the random function.
|
||||
|
||||
## Input
|
||||
|
@ -13,7 +13,7 @@ What’s a common issue with coin tosses? Students may bring up issues of trust
|
||||
|
||||
Here’s a solution... The double coin toss.
|
||||
|
||||

|
||||

|
||||
|
||||
In a double coin toss, both people have a coin and they flip the coins at the same time.
|
||||
|
||||
|
BIN
docs/static/courses/csintro/booleans/fuzzies.jpg
vendored
Normal file
BIN
docs/static/courses/csintro/booleans/fuzzies.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 KiB |
BIN
docs/static/courses/csintro/booleans/pennies.png
vendored
Normal file
BIN
docs/static/courses/csintro/booleans/pennies.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
BIN
docs/static/courses/csintro/booleans/two-coins.jpg
vendored
BIN
docs/static/courses/csintro/booleans/two-coins.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 6.1 KiB |
BIN
docs/static/courses/csintro/booleans/two-player.jpg
vendored
Normal file
BIN
docs/static/courses/csintro/booleans/two-player.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 188 KiB |
Loading…
x
Reference in New Issue
Block a user