Transcript: IF & THEN (The If & Then Conditional)
Text Reads, “TVO Kids Presents”.
Colourful animated numbers, zero to nine, jump in a line then form the title “Wacky Number Songs”.
An upbeat song plays: IT'S THE WACKY WACKY
NUMBER SONGS.
OH YEAH.
A caption reads “With Ava”. Ava waves.
Ava says: HI!
MY DAD TOLD US WE COULD DO A
FAMILY OUTING TO THE WATERPARK
ON ONE CONDITION.
Ava picks up a binder, a workbook, and a pencil.
Ava says: WE ALL HAVE TO FINISH OUR
HOMEWORK FIRST.
IF WE GET IT DONE, THEN WE CAN
GO.
IF THEN IS CALLED A CONDITIONAL,
WHICH IS SOMETHING THAT HAPPENS
ON THE CONDITION THAT SOMETHING
ELSE HAPPENS.
IF THEN CONDITIONALS ARE USED
ALL THE TIME IN CODING FOR APPS
AND GAMES TO TELL A COMPUTER
WHAT TO DO.
CHECK OUT MY SONG AND THE GAME
I'M CODING!
Ava types on a laptop at a desk. Green coding text is written on a screen.
Ava sings: CODING IS COOL IT'S LIKE A
MAGIC TRICK.
WE CONTROL
COMPUTERS WITH A FEW CLICKS.
Eva works on the laptop under clear blue water.
Ava sings: I USE THE
CONDITIONAL "IF THEN".
TO TELL THE COMPUTER WHAT TO DO
WHEN.
A purple animated pufferfish and a blue animated dolphin swim near Ava.
Ava sings: IF DOLPHIN TOUCHES FISH,
THEN FISH SWIMS OFF.
THE "IF THEN"
CONDITIONAL STARTS IT OFF.
A seashell floats to Ava.
Ava sings: IF DOLPHIN TOUCHES SHELL, THEN
THE SHELL BREAKS.
THE "IF THEN" CONDITIONAL IS
ALL IT TAKES.
The dolphin giggles. Ava dances behind her desk.
Ava sings: CODING IS COOL, I CAN BE IN
CONTROL.
WITH "IF THEN"
CONDITIONALS I SET THE GOAL.
♪IF DOLPHIN EATS SQUID, THEN
CHANGE SCORE BY ONE.
I MAKE IT
HAPPEN AND IT'S SUPER FUN.
The dolphin giggles.
Ava says: IF DOLPHIN JUMPS OUT, THEN
DOLPHIN BLOWS AIR.
LOOK AT THAT SPRAY BLOWING
OUT EVERYWHERE!
"IF THEN" CONDITIONALS MAKE
THINGS HAPPEN.
ON THE CONDITION
THAT SOMETHING ELSE HAPPENS!
The dolphin swims back to Ava. She gives a double thumbs up.
The song ends.
IF YOU LIKED MY SONG THEN WAVE
YOUR HANDS AROUND!
The animated numbers spell out “Wacky Number Songs”.
End credits read “TVO Kids. Apartment 11 Productions.”
Colourful animated numbers, zero to nine, jump in a line then form the title “Wacky Number Songs”.
An upbeat song plays: IT'S THE WACKY WACKY
NUMBER SONGS.
OH YEAH.
A caption reads “With Ava”. Ava waves.
Ava says: HI!
MY DAD TOLD US WE COULD DO A
FAMILY OUTING TO THE WATERPARK
ON ONE CONDITION.
Ava picks up a binder, a workbook, and a pencil.
Ava says: WE ALL HAVE TO FINISH OUR
HOMEWORK FIRST.
IF WE GET IT DONE, THEN WE CAN
GO.
IF THEN IS CALLED A CONDITIONAL,
WHICH IS SOMETHING THAT HAPPENS
ON THE CONDITION THAT SOMETHING
ELSE HAPPENS.
IF THEN CONDITIONALS ARE USED
ALL THE TIME IN CODING FOR APPS
AND GAMES TO TELL A COMPUTER
WHAT TO DO.
CHECK OUT MY SONG AND THE GAME
I'M CODING!
Ava types on a laptop at a desk. Green coding text is written on a screen.
Ava sings: CODING IS COOL IT'S LIKE A
MAGIC TRICK.
WE CONTROL
COMPUTERS WITH A FEW CLICKS.
Eva works on the laptop under clear blue water.
Ava sings: I USE THE
CONDITIONAL "IF THEN".
TO TELL THE COMPUTER WHAT TO DO
WHEN.
A purple animated pufferfish and a blue animated dolphin swim near Ava.
Ava sings: IF DOLPHIN TOUCHES FISH,
THEN FISH SWIMS OFF.
THE "IF THEN"
CONDITIONAL STARTS IT OFF.
A seashell floats to Ava.
Ava sings: IF DOLPHIN TOUCHES SHELL, THEN
THE SHELL BREAKS.
THE "IF THEN" CONDITIONAL IS
ALL IT TAKES.
The dolphin giggles. Ava dances behind her desk.
Ava sings: CODING IS COOL, I CAN BE IN
CONTROL.
WITH "IF THEN"
CONDITIONALS I SET THE GOAL.
♪IF DOLPHIN EATS SQUID, THEN
CHANGE SCORE BY ONE.
I MAKE IT
HAPPEN AND IT'S SUPER FUN.
The dolphin giggles.
Ava says: IF DOLPHIN JUMPS OUT, THEN
DOLPHIN BLOWS AIR.
LOOK AT THAT SPRAY BLOWING
OUT EVERYWHERE!
"IF THEN" CONDITIONALS MAKE
THINGS HAPPEN.
ON THE CONDITION
THAT SOMETHING ELSE HAPPENS!
The dolphin swims back to Ava. She gives a double thumbs up.
The song ends.
IF YOU LIKED MY SONG THEN WAVE
YOUR HANDS AROUND!
The animated numbers spell out “Wacky Number Songs”.
End credits read “TVO Kids. Apartment 11 Productions.”
You are now leaving TVOKids.com
TVOKids doesn't have control over the new place you're about to visit, so please make sure you get your Parent or Guardian's permission first!
Do you have permission from your Parents / Guardian to go to other websites?