Objectives
- use Python programming techniques for a specified task- understand the need for #comments in Python code and use accordingly
Outcomes
- create a program for the Text Encryption scenario, with comments
Starter
Take a look at the Mark Scheme for Solution DevelopmentSee the FULL MARK SCHEME HERE
Main
Red TaskDownload the sample.txt file HERE and save to your
Controlled Assessment folder
Amber Task
See Mr Park's blog for Solution Development Lessons HERE.
REMEMBER: you gain marks for ANY tasks you manage to complete.
PLEASE don't worry if you don't manage to complete them all. You will STILL get marks.
Green Task
1. Personalise your code by adding some 'theatricals'
For example:
print ("Welcome to Text Encryption.")
2. Annotate your code fully by adding comments
#this will get you higher marks!!!!
3. Refine your code by using the most efficient methods possible
For example:
Use of Functions for parts of your code.
def encrypt:
Plenary
With your Python Buddy review your work using the Mark Scheme above.
No comments:
Post a Comment