The above video is visual only and contains no dialogue. After watching the video and reading the transcript, please click the link below to view the quiz that follows this activity. This animation includes instructions that are not applicable in this format as Flash is no longer supported.

Transcript:

Logic Statements in Action

(0:00 - 0:00): The following slides will display a brief animation and four logic statements. Watch the animation and determine which logic statement the animation is illustrating. The correct answer will be revealed shortly after.

(0:00 - 0:06): A) IF right arrow is pressed, THEN Player 1 moves right.
B) IF left arrow is pressed, THEN Player 1 moves right.
C) IF right arrow is pressed, THEN Player 2 moves right.
D) IF left arrow is pressed, THEN Player 2 moves right.

(0:06 - 0:10): Correct Answer: A) IF right arrow is pressed, THEN Player 1 moves right.

(0:11 - 0:14): A) IF turtle hides, THEN stick pokes turtle.
B) IF stick pokes turtle, THEN turtle comes out of shell.
C) IF stick pokes turtle, THEN turtle hides.
D) IF stick pokes rock, THEN turtle hides.

(0:15 - 0:20): Correct Answer: C) IF stick pokes turtle, THEN turtle hides.

(0:21 - 0:27): A) IF fruit chosen over junk food, THEN Kao is happy AND health score -100 points.
B) IF fruit chosen over junk food, THEN Kao is happy AND health score +100 points.
C) IF fruit chosen over junk food, THEN Kao is sick AND health score -100 points.
D) IF fruit chosen over junk food, THEN Kao is sick AND health score +100 points.

(0:28 - 0:35): Correct Answer: B) IF fruit chosen over junk food, THEN Kao is happy AND health score +100 points.

Select the Launch Quiz button to review what you have learned.