Variables updates (#473)
* Deleted old images, updated with hand-drawn images Added new cover image, hand-drawn images. * Fixed file image path * Capitalized title * More additions of original images * Restored lowercase. * Replaced traffic light image
This commit is contained in:
parent
102dfcc32a
commit
6a215478b0
@ -1,6 +1,6 @@
|
|||||||
# Conditional statements
|
# Conditional statements
|
||||||
|
|
||||||
![Rainbow Road](/static/courses/csintro/conditionals/cover.jpg)
|
![Board game example](/static/courses/csintro/conditionals/cover.jpg)
|
||||||
|
|
||||||
This lesson introduces the Logic blocks such as 'If...then' and 'If...then...else'.
|
This lesson introduces the Logic blocks such as 'If...then' and 'If...then...else'.
|
||||||
Students practice skills of creativity, problem-solving, and collaboration.
|
Students practice skills of creativity, problem-solving, and collaboration.
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# Variables
|
# Variables
|
||||||
|
|
||||||
This lesson introduces the use of variables to store data or the results of mathematical operations. Students will practice giving variables unique and meaningful names. And we will introduce the basic mathematical operations for adding subtracting, multiplying, and dividing variables.
|
![Variable value](/static/courses/csintro/variables/cover.JPG)
|
||||||
|
This lesson introduces the use of variables to store data or the results of mathematical operations. Students will practice giving variables unique and meaningful names. We will also introduce the basic mathematical operations for adding, subtracting, multiplying, and dividing variables.
|
||||||
![Variable value](/static/courses/csintro/variables/variable-value.png)
|
|
||||||
|
|
||||||
## Lesson Objectives
|
## Lesson Objectives
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
The objective of this activity is to experience creating and working with variables by pairing up and playing _Rock Paper Scissors_.
|
The objective of this activity is to experience creating and working with variables by pairing up and playing _Rock Paper Scissors_.
|
||||||
|
|
||||||
![Rock-paper-scissors hands](/static/courses/csintro/variables/rps-hands.png)
|
![Rock-paper-scissors hands](/static/courses/csintro/variables/rps-sketch.jpg)
|
||||||
|
|
||||||
Ask students to keep track of their scores on paper.
|
Ask students to keep track of their scores on paper.
|
||||||
You can also have students play in groups of three with the third student acting as the scorekeeper.
|
You can also have students play in groups of three with the third student acting as the scorekeeper.
|
||||||
@ -16,7 +16,7 @@ Students will keep track of how many times each player wins as well as the numbe
|
|||||||
Ask some students to share how they kept track of player scores.
|
Ask some students to share how they kept track of player scores.
|
||||||
There may be some variety, but most will have written down the players’ names and then beside or below the names, marks representing the ‘wins’ of each player. And they may have made a separate place for recording ties.
|
There may be some variety, but most will have written down the players’ names and then beside or below the names, marks representing the ‘wins’ of each player. And they may have made a separate place for recording ties.
|
||||||
|
|
||||||
![Score sheet](/static/courses/csintro/variables/keeping-score.png)
|
![Score sheet](/static/courses/csintro/variables/mary-doug-score.jpg)
|
||||||
Sample score-keeping sheet
|
Sample score-keeping sheet
|
||||||
|
|
||||||
Ask the students what parts of the score sheet represent **constants**, values that do not change through the course of a gaming session.
|
Ask the students what parts of the score sheet represent **constants**, values that do not change through the course of a gaming session.
|
||||||
|
BIN
docs/static/courses/csintro/conditionals/traffic_light.png
vendored
Normal file
BIN
docs/static/courses/csintro/conditionals/traffic_light.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
BIN
docs/static/courses/csintro/variables/cover.JPG
vendored
Normal file
BIN
docs/static/courses/csintro/variables/cover.JPG
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
Before Width: | Height: | Size: 228 KiB |
BIN
docs/static/courses/csintro/variables/mary-doug-score.jpg
vendored
Normal file
BIN
docs/static/courses/csintro/variables/mary-doug-score.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 364 KiB |
BIN
docs/static/courses/csintro/variables/rps-hands.png
vendored
BIN
docs/static/courses/csintro/variables/rps-hands.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 66 KiB |
BIN
docs/static/courses/csintro/variables/rps-sketch.jpg
vendored
Normal file
BIN
docs/static/courses/csintro/variables/rps-sketch.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
Loading…
Reference in New Issue
Block a user