Presentation is loading. Please wait.

Presentation is loading. Please wait.

Do it now activity Green pen activity in books.

Similar presentations


Presentation on theme: "Do it now activity Green pen activity in books."— Presentation transcript:

1 Do it now activity Green pen activity in books

2 Understand how to use different types of loops in your programming
AIM Understand how to use different types of loops in your programming

3 Learning objectives Demonstrated use of the following: While loop
Until loop L7 EXT. Loop counter

4 know and use negation with operators.
Learning outcomes By the end of this lesson you will be able to .... ALL (Level 4) use a variable and relational operators within a loop to govern termination MOST (Level 5) use a range of operators and expressions e.g. Boolean, and applies them in the context of program control. SOME (Level 6) know and use negation with operators.

5 Demonstrated use of the following:
While loop Until loop Learning objectives New Learning Download and investigate the program called ‘until loop’ from Term 4 Lesson 5 Iteration For Until Loop While Recursion

6 Independent task Can you adapt the code to:
Demonstrated use of the following: While loop Until loop Learning objectives Independent task Can you adapt the code to: Keep asking the user a maths question until they get it correct? Can you use negation for this? Iteration For Until Loop While Recursion

7 Talk task What did the until loop do? Iteration For Until Loop While
Demonstrated use of the following: While loop Until loop Learning objectives Talk task What did the until loop do? Iteration For Until Loop While Recursion

8 Copy Keyword Copy Keyword
Demonstrated use of the following: While loop Until loop Learning objectives Copy Keyword Iteration: A group of instructions is executed repeatedly until a condition is met (loop) Copy Keyword Iteration For Until Loop While Recursion

9 Demonstrated use of the following:
While loop Until loop Learning objectives Learning Development Download and investigate the program called ‘while loop’ from Term 4 Lesson 5 Iteration For Until Loop While Recursion

10 Independent task Can you adapt the code to:
Demonstrated use of the following: While loop Until loop Learning objectives Independent task Can you adapt the code to: Create a count down to blast off? Iteration For Until Loop While Recursion

11 Talk task What did the while loop do?
Demonstrated use of the following: While loop Until loop Learning objectives Talk task What did the while loop do? How is this different to an until loop? Iteration For Until Loop While Recursion

12 Plenary Three stars and a wish. Input Integer Typecasting Float String
Learning objectives Use int(input()) function Use float(input()) function Use input() function print sentences Plenary Three stars and a wish. Input Integer Typecasting Float String

13 know and use negation with operators.
Learning outcomes I can ALL (Level 4) use a variable and relational operators within a loop to govern termination MOST (Level 5) use a range of operators and expressions e.g. Boolean, and applies them in the context of program control. SOME (Level 6) know and use negation with operators.


Download ppt "Do it now activity Green pen activity in books."

Similar presentations


Ads by Google