Showing posts with label 8w/Is6. Show all posts
Showing posts with label 8w/Is6. Show all posts
Functions in Python
Go to IDLE and open a new file
Copy the below and place in to the window:
print (" ,__ ")
print (" / /^\ ,____ ")
print (" \_), ^^ _, \ ")
print (" / @ @ \(_/ ")
print (" ___{_-.x.-_}__ ")
print ("(_______________) ")
print (" | | ")
print (" | | ")
print (" | | ")
print (" | | ")
print (" |_______| ")
Type in the rest of the code on slide 4 and 5 below
Attempt the challenge on slide 6
OR
Annotate the loop code:
Label the variables
What does the print do?
What part is a string?
What does the code do?
What can we change to make a different outcome?
Copy the below and place in to the window:
print (" ,__ ")
print (" / /^\ ,____ ")
print (" \_), ^^ _, \ ")
print (" / @ @ \(_/ ")
print (" ___{_-.x.-_}__ ")
print ("(_______________) ")
print (" | | ")
print (" | | ")
print (" | | ")
print (" | | ")
print (" |_______| ")
Type in the rest of the code on slide 4 and 5 below
Attempt the challenge on slide 6
OR
Annotate the loop code:
Label the variables
What does the print do?
What part is a string?
What does the code do?
What can we change to make a different outcome?
Code Combat!
Demonstrate Python coding skills using online resource
Log on and head to www.codecombat.com using Google Chrome
Work through the game considering the following points:
- Formal notation
- builds an understanding of the importance of syntax in programming.
- Calling methods
- familiarises students with the syntax of object-oriented method calls.
- Parameters
- trains how to pass parameters to functions.
- Strings
- teaches students about string notation and passing strings as parameters.
- Loops
- develops the abstraction of designing short programs with loops.
Year 8 Python Lesson 1
Understand and be able to use basic Python syntax
Starter: Download and save the Evidence Document for Python into your Year 8 area
Main: Your first piece of code 'Hello World'
Starter: Download and save the Evidence Document for Python into your Year 8 area
Main: Your first piece of code 'Hello World'
- Follow the link to www.codeacademy.com
- Log in using your Wildern Google account
- Locate the Python section under 'All courses'
- Run Unit 1 Python Syntax and complete the course.
- REMEMBER to take screenshots of your progress as this will affect your step!
Y8 Mid Unit Assessment
Summarise learning using a collection of evidence
STARTER:
Students should open their Unit 3 Logic Evidence document and proof-read the sections they have completed so far
Think about the Wildern Step you are on, what your target is, and what you can do right now, to improve your mark...
DEVELOPMENT:
Task 1:
Using Sticky Notes from the Start Menu to set targets for the lesson
Task 2:
Students should complete any out the incomplete sections of the document and add in any further annotations to their screenshots
Task 3:
Students will need to complete the evaluation section of the document
PLENARY:
STARTER:
Students should open their Unit 3 Logic Evidence document and proof-read the sections they have completed so far
Think about the Wildern Step you are on, what your target is, and what you can do right now, to improve your mark...
DEVELOPMENT:
Task 1:
Using Sticky Notes from the Start Menu to set targets for the lesson
Task 2:
Students should complete any out the incomplete sections of the document and add in any further annotations to their screenshots
Task 3:
Students will need to complete the evaluation section of the document
PLENARY:
- Complete a self-assessment with the Unit 3 Assessment Guidance sheet
- Hand in for teacher-assessment
Subscribe to:
Posts (Atom)