Python Sol
Python Sol
2013-2014
Objectives
Learn about python
as a programming
language
Learn about
expressions &
variables and their
use
Create several
successful programs
Outcomes
All-Level 4- State
what a
programming
language is and
what a program
is. Get half
marks on the test
(6/12)
Most-Level 5Have used
variables and
with help get
75% on the test
(9/12)
Some-Level 6Written their own
programs and
independently
got maximum
marks on the
test.
Objectives
Understand that
languages have data
types
Databases
Outcomes
All: Know the
key data types
discussed in
Resources
Starter:
Research about some keywords for python
Python lesson 1
Powerpoint
Main:
Copy the resources for the complete module
Briefly discuss why we teach python and
what is programming
Open and us idle shell to create their first
program Hello World
Learn about expression and their operators.
Students explore syntax by typing several
statements into idle shell.
Learn about variables and that python is
case sensitive.
Self-assessment
worksheet
Tdemo_spaceship
python code
AFL
Targeted
questions on
starter
Literacy
Ability to type
the commands
in correctly
Plenary quiz
Selfassessment
worksheet
Plenary:
Complete the quiz
Explore the tdemo_spaceshp code
Python lesson 2
Powerpoint
AFL
Literacy
Starter activity
Requirement to
type the
commands in
Asking
Objectives
Understand the
benefits of a
function
Be able to write and
call a function
Understand how and
why we should use
comments in our
code
Outcomes
All: To be able
to write a
function - with
help and
be
able to add
comments to
your code
Most: Be able to
write a these
with little help.
Some:
Independently
write these and
Databases
Main:
Recap on last lesson about keywords
Students then open the idle editor and type
a program in, save it and run it.
Discuss datatypes
Type (or load) a random game and run it
and use this to discuss the IF statement and
indentation.
Students are then expected to modify the
game.
Self-assessment
worksheet
Random game
2013-2014
questions task
correctly
Main
programming
challenge
Requirement to
use Capital
letters and
punctuation
appropriately.
Plenary:
Complete the self-assessment sheet
Explore the tangram game
Python lesson 3
Powerpoint
Self-assessment
worksheet
Starter Activity
Main function and user
details functions should the students
need them
Fractals folder in the
plenary
AFL
Literacy
Starter activity
Requirement to
type the
commands in
correctly
2 function
creating tasks
Selfassessment
worksheet
Requirement to
use short and
effective
language when
commenting
their code.
Plenary:
Complete the self-assessment sheet
Explore fractals in python
Objectives
Outcomes
Understand a
branching statement
(if .. then .. else)
Understand about
indenting and blocks
of statements
Able to use a
function to create a
truth table
written a
truth table in
code
Most: Be able to
write a these
with little help.
Some:
Independently
write these and
adapt them and
complete one of
the extension
tasks.
Objectives
Understand how to
use looping
statement (while)
Understand to use
Databases
2013-2014
Starter:
Recap expressions and function definition
form last lesson
Main:
Recap expressions and operators use
Students then explore the if .. then ..else
statement and the requirements to indent
code.
Boolean truth tables are then discussed and
students write a program to evaluate their
outcomes
Plenary:
Students use their existing programs to
complete the truth tables.
Python lesson 4
Powerpoint
Self-assessment
worksheet
Starter Activity
Plenary quiz
get_user_input_boolea
n function
AFL
Literacy
Starter activity
Requirement to
type the
commands in
correctly
Selfassessment
worksheet
Targeted
questions for
expressions and
operators recap
Plenary quiz
Lesson 5: While loops and the development process using pseudo code
Outcomes
Lesson outline
Resources
All: written code
using while - with
help
developed
Requirement to
use short and
effective
language when
commenting
their code.
Starter:
Recap if statements form last lesson
Python lesson 5
Powerpoint
Main:
Explain how while loops are constructed
Self-assessment
worksheet
AFL
Literacy
Starter activity
Requirement to
type the
commands in
correctly
Selfassessment
worksheet
2013-2014
Plenary questions
Subtract 1 program
Subtract 1 program
comments only
random number guess
v2
random number guess
v2 comments
Targeted
questions for
expressions and
operators recap
Requirement to
use short and
effective
language when
commenting
their code.
Plenary quiz
Plenary:
Students write 6 questions about python
coding
Objectives
Understand what a
multi_selection
statement
Understand how to
use a
multi_selection
statement
Outcomes
All: written if ..
Elif .. Else code
using while - with
help
developed
programs using
pseudo code
scored 50% in
the plenary quiz
Databases
Python lesson 6
Powerpoint
Self-assessment
worksheet
Plenary quiz
AFL
Literacy
Starter activity
Requirement to
type the
commands in
correctly
Selfassessment
worksheet
Programs
completed
End of unit test
Requirement to
use short and
effective
language when
commenting
their code.
Some:
Independently
write these and
adapt them and
complete the
extension tasks.
scored 90% in
the plenary quiz
Databases
Plenary:
Students play the hangman game before
completing the end of unit quiz and record
their marks in their excel progress sheet.
2013-2014