CONDITIONALS

Learning Intention

to be able to use conditionals in making logical choices

WHAT IFs...

together with your pair, write and share 3 what ifs that you can think of..

WHAT IFs...

ex. What if...

I was not a teacher?

I it snowed in Abu Dhabi

I won in a lottery

WHAT IFs...REWRITE

Let us rewrite your ideas following this template

WHAT IFs...REWRITE

IF _______________

THEN _________________

WHAT IFs...REWRITE

IF it snowed in Abu Dhabi

THEN I will try snowboarding

TechWord of the DAY

CONDITIONALS - statements that only run under certain conditions

EXAMPLE

IF path is to theĀ right

THEN turn right

EXAMPLE

IF path is to theĀ right

THEN turn right

ELSE

The ELSE statement tells the computer what to do once the IF condition is not met

EXAMPLE

IF path is ahead

THEN move forward

ELSE turn left

PAIR PROGRAMMING

Work on the conditional puzzles with your PAIR

PAIR PROGRAMMING

Communicate ideas

Work and think together

Switch Roles often

Success Criteria

All - explain what conditional is and what it does

MOST - determine whether a condition is met

SOME - execute algorithm with conditional statement

CONDITIONALS

By Raizyl Duque

CONDITIONALS

  • 600