U4l05 Digital Manipulatives

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

SAMPLE

Do This:
Evaluate the expressions on
each side of the comparison
operator.
Copy and paste the gray box
6 3- 3 < 4
5
+ 1 5>3
to cover up the expressions.
Then copy the yellow sticky to
put what the expression
evaluates to on top of the
grayed out expression

Then evaluate the expression


2
12 / 6 > 3 -3 0 2>3
for a Boolean value.

( 7 -
4 3 )
* 3 <= 10 7 28

edit 14
ME! 9 + 5 == 4 14
+ 10 14=14
Unit 4 Lesson 5 - Activity

Decision time!
Can I go to the movies? I’m
allowed to if it’s before 8 o’clock.

Do This:
● What information do I need to know?
● Create a baggie variable to store Movies B4*O’clock
that information. Give it a name.
Manipulatives Work Space

edit edit edit


ME! ME! ME!

edit ME!

Movies B4*O’clock
edit ME! true false

edit ME! 😊

To copy an object, click on it, then on your keyboard hold down


Copy, paste, and edit any items "Command (or Ctrl)" and click "C". Then move your cursor to the Work
you need into the work space Space and on your keyboard hold down "Command (or Ctrl)" and click "V"
Unit 4 Lesson 5 - Activity

Have I won the game? I have if my


score * my lives is greater than 10.

Do This:
● What information do I need to know? IfScore*Livesi
● Create baggie variable(s) to store WonGame sGreaterthan
that information. Give them names. 10
● With a partner, discuss what the
Boolean expression will look like.
What will be compared?
Manipulatives Work Space

edit edit edit


ME! ME! ME!

edit ME!
score * lives > 10

edit ME! true false


fals
true
e

I won the game! I haven’t won the game yet.


edit ME! 😊

To copy an object, click on it, then on your keyboard hold down


Copy, paste, and edit any items "Command (or Ctrl)" and click "C". Then move your cursor to the Work
you need into the work space Space and on your keyboard hold down "Command (or Ctrl)" and click "V"
Unit 4 Lesson 5 - Activity

Have I won the game? I have if my score * my lives is greater than 10.

score lives Do This:


With a partner follow the
flowchart with these inputs:

Test 1
score = 3
lives = 3

score * lives > 10 Test 2


score = 1
lives = 10

Test 3
true false score = -5
lives = 2

I won the game! I haven’t won the game yet.


Unit 4 Lesson 5 - Activity

Challenge!!
Is my dog older than me if his age is converted to
human years? Seven dog years equals one human year.

Do This:
● What information do I need to know?
● Create baggie variable(s) to store DogAgeInHumanYears
7DY=1HY
that information. Give them names.
● With a partner, discuss what the
Boolean expression will look like.
What will be compared?
Manipulatives Work Space

edit
ME!
7DY=!HY

edit ME!

edit ME! true false

edit ME! 😊

To copy an object, click on it, then on your keyboard hold down


Copy, paste, and edit any items "Command (or Ctrl)" and click "C". Then move your cursor to the Work
you need into the work space Space and on your keyboard hold down "Command (or Ctrl)" and click "V"
Unit 4 Lesson 5 - Activity

What if my decision requires several steps?

Can I adopt a cat?

I can if I have 40 dollars

AND

I am over 14 years old


Unit 4 Lesson 5 - Activity

Can I adopt a cat?

I can if have 40 dollars


AND
I am over 14 years old

Do This:
● What information do I need to know?
● Create baggie variable(s) to store Adopt A Cat? 14Age+40$
that information. Give them names.
● With a partner, discuss how the
flowchart might be set up. What will
the Boolean expression(s) look like?
What will be compared?
Manipulatives Work Space

Must
have
BuyaCat 40$
true
false

Must
be 14
NoDog
true false

Dog!! NoDog
edit ME! 😊

To copy an object, click on it, then on your keyboard hold down


Copy, paste, and edit any items "Command (or Ctrl)" and click "C". Then move your cursor to the Work
you need into the work space Space and on your keyboard hold down "Command (or Ctrl)" and click "V"
Unit 4 Lesson 5 - Activity

Do This:
|| OR With a partner, predict the results for
each line in the || OR table
true || true true

True
true || false Or
False
True
|| or
false true
false Copy and paste the stickies
above to fill in the truth table

false || false false


Unit 4 Lesson 5 - Activity

Do This:
! NOT The ! NOT table is easy! The results
are the opposite of the Boolean
! true false value.

! false true

Copy and paste the stickies


above to fill in the truth table
Unit 4 Lesson 5 - Activity

Use logical operators to combine several Boolean


expressions into one expression.

Can I adopt a cat?

I can if I have 40 dollars

AND

I am over 14 years old


Manipulatives Work Space

edit edit edit


Must
ME! ME! ME!
have
BuyaCat 40$
true
false

edit ME! Must


be 14
NoDog
true true false
edit ME! false

Dog!! NoDog
edit ME! 😊

To copy an object, click on it, then on your keyboard hold down


Copy, paste, and edit any items "Command (or Ctrl)" and click "C". Then move your cursor to the Work
you need into the work space Space and on your keyboard hold down "Command (or Ctrl)" and click "V"
Unit 4 Lesson 5 - Activity

Do This: Decision: ToWinGame


Now it’s your turn to make a flowchart.
On the right: Lives Deths
● Think back to the warm-up
where we discussed making a
decision on what to wear to an
event.
● Write down the variables in
boxes at the top.
● Inside the diamond shape,
create the Boolean expression Lives-Deaths
that will be used to make the
decision.
● Draw True/False lines to the true false
possible decisions.
● Challenge: Use logical operators
(&&, ||, or !) in your Boolean
expression. Add extra branches More lives win Less lives lose
with multiple decisions.
● Test your flowchart with a friend!

You might also like