Using Variables in Small Basic
Using Variables in Small Basic
USING
VARIABLES IN
SMALL BASIC
LESSON 2
CODING School Search . . .
OBJECTIVES
pancake:_______________________________
a. Add milk, butter, and egg. Whisk together.
b. In a bowl, mix together the flour, sugar,
baking powder, and salt.
c. Heat a pan and then spread butter or oil on
it.
d. Let it cook on each side for two minutes.
e. Pour two to three tablespoons of batter
onto the pan.
Search . . .
Flowchart
Go to the bathroom
Yes
Take a shower? Put Shampoo Shampoo hair and wash
body
No
Brush Teeth
Dress up
No Arrive at school
Ride the car
Search . . .
Step 1: Start.
Yes
Step 2: Read age.
Step 3: If age is greater than or
No
equal 13, the person is allowed to
watch Jurassic Park, or else the
Have breakfast? person is not allowed.
Step 4: Stop.
Start
Flowchart
Input X
Put Shampoo
Input Y Determine if the sum of two
numbers is greater than or equal to
100 or not.
Z=X+Y
If Z >=100 Yes
Print Z is greater
than 100
No Have breakfast?
End
Print Z is less than 100
Search . . .
ACTIVITY
QUESTION
Search . . .
THANK YOU
END SLIDE