diff --git a/docs/courses/csintro/booleans.md b/docs/courses/csintro/booleans.md index 749d5eca..4f63550e 100644 --- a/docs/courses/csintro/booleans.md +++ b/docs/courses/csintro/booleans.md @@ -1,9 +1,8 @@ # Booleans -This lesson introduces the use of the boolean data type to control the flow of a program, keep track of state, and to include or exclude certain conditions. +![micro:bit Combo Box](/static/courses/csintro/booleans/cover.jpeg) -![Picture and quote of Shakespeare](/static/courses/csintro/booleans/shakespeare.png) -Shakespeare knew Booleans (quote from Hamlet) +This lesson introduces the use of the boolean data type to control the flow of a program, keep track of state, and to include or exclude certain conditions. ## Lesson objectives Students will... diff --git a/docs/courses/csintro/booleans/activity.md b/docs/courses/csintro/booleans/activity.md index 9cbc3902..95d3f791 100644 --- a/docs/courses/csintro/booleans/activity.md +++ b/docs/courses/csintro/booleans/activity.md @@ -1,5 +1,7 @@ # Activity: Double coin flipper +![Example Board](/static/courses/csintro/booleans/fuzzies.jpg) + 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.   diff --git a/docs/courses/csintro/booleans/project.md b/docs/courses/csintro/booleans/project.md index c6b61fec..120fce50 100644 --- a/docs/courses/csintro/booleans/project.md +++ b/docs/courses/csintro/booleans/project.md @@ -1,5 +1,7 @@ # Project: Boolean +![Two-Player Game Example Board](/static/courses/csintro/booleans/two-player.jpg) + 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 @@ -307,6 +309,13 @@ if (player1Turn == true && Math.random(4) < 3) { } }) ``` +## Reflection + +Have students write a reflection of about 150–300 words, addressing the following points: +* How did you incorporate boolean variables into your micro:bit program? +* How did you incorporate boolean operators into your micro:bit program? +* Describe something in your project that you are proud of. +* If you had more time to work on this project, describe what you might add or change. ## Assessment   @@ -315,28 +324,23 @@ if (player1Turn == true && Math.random(4) < 3) { ### Boolean **4 =** More than 2 Boolean variables are implemented in a meaningful way.
-**3 =** At least 2 Boolean variable is implemented in a meaningful way.
+**3 =** At least 2 Boolean variables are implemented in a meaningful way.
**2 =** At least 1 Boolean variable is implemented in a meaningful way.
**1 =** No Boolean variables are implemented.   ### micro:bit program **4 =** micro:bit program:
-`*` Uses Boolean variables in a way that is integral to the program.
-`*` Uses a random function in a way that is integral to the program.
+`*` Uses Booleans in a way that is integral to the program.
`*` Compiles and runs as intended
`*` Meaningful comments in code
**3 =** micro:bit program lacks 1 of the required element.
**2 =** micro:bit program lacks 2 of the required elements.
-**1 =** micro:bit program lacks 3 or more of the required elements. +**1 =** micro:bit program lacks all of the required elements. ### Collaboration reflection -**4 =** Reflection piece includes:
-`*` Brainstorming ideas
-`*` Construction
-`*` Programming
-`*` Beta testing
+**4 =** Reflection piece addresses all prompts.
**3 =** Reflection piece lacks 1 of the required elements.
**2 =** Reflection piece lacks 2 of the required elements.
**1 =** Reflection piece lacks 3 of the required elements. diff --git a/docs/courses/csintro/booleans/unplugged.md b/docs/courses/csintro/booleans/unplugged.md index 07589d7d..86b2d955 100644 --- a/docs/courses/csintro/booleans/unplugged.md +++ b/docs/courses/csintro/booleans/unplugged.md @@ -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. -![Two pennies showing heads and tails](/static/courses/csintro/booleans/two-coins.jpg) +![Two pennies showing heads and tails](/static/courses/csintro/booleans/pennies.png) In a double coin toss, both people have a coin and they flip the coins at the same time.   diff --git a/docs/static/courses/csintro/booleans/cover.jpeg b/docs/static/courses/csintro/booleans/cover.jpeg new file mode 100644 index 00000000..13bf55af Binary files /dev/null and b/docs/static/courses/csintro/booleans/cover.jpeg differ diff --git a/docs/static/courses/csintro/booleans/fuzzies.jpg b/docs/static/courses/csintro/booleans/fuzzies.jpg new file mode 100644 index 00000000..8d705c77 Binary files /dev/null and b/docs/static/courses/csintro/booleans/fuzzies.jpg differ diff --git a/docs/static/courses/csintro/booleans/pennies.png b/docs/static/courses/csintro/booleans/pennies.png new file mode 100644 index 00000000..74217455 Binary files /dev/null and b/docs/static/courses/csintro/booleans/pennies.png differ diff --git a/docs/static/courses/csintro/booleans/shakespeare.png b/docs/static/courses/csintro/booleans/shakespeare.png deleted file mode 100644 index e0e98fca..00000000 Binary files a/docs/static/courses/csintro/booleans/shakespeare.png and /dev/null differ diff --git a/docs/static/courses/csintro/booleans/two-coins.jpg b/docs/static/courses/csintro/booleans/two-coins.jpg deleted file mode 100644 index ce20e963..00000000 Binary files a/docs/static/courses/csintro/booleans/two-coins.jpg and /dev/null differ diff --git a/docs/static/courses/csintro/booleans/two-player.jpg b/docs/static/courses/csintro/booleans/two-player.jpg new file mode 100644 index 00000000..24395cda Binary files /dev/null and b/docs/static/courses/csintro/booleans/two-player.jpg differ