L/O 1 - To learn how to use READ() and ISFILE() to check and read a file
L/O 2 - To be able to show evidence of your testing
Outcomes:
Red - You will have used Python Code to ask for the file name
Amber - You will have used Python Code to read the contents of the file
Green - You will have used Python code to make your code more robust by checking the file name exists and you will be able to add all testing to the table under the Testing and Evaluating section of your CA
Amber - You will have used Python Code to read the contents of the file
Green - You will have used Python code to make your code more robust by checking the file name exists and you will be able to add all testing to the table under the Testing and Evaluating section of your CA
Starter - 10 min
Look at the RAG worksheet. What do you think each line of code does? Add a hashtag next to each line with a comment stating what it does
Main Task - 50 min
RED TASK - 20 minutes- Open your Python menu in IDLE (Python)
- Open your Controlled Assessment document in Microsoft Word
- Make sure that the import code from last lesson is added to your Python menu
- Make sure that the code to read the file is added to your Python menu
- Create a new file in Python..
- Add the GREEN TASK code into it and run it. What does it do??
AMBER TASK
Using the AMBER TASK code, update your code and run it again
GREEN TASK
Using the GREEN TASK code, update your code and run it again
EXT TASKS
What do the following words mean:
Add a new column to your Testing & Evaluating table with the heading Erroneous/Extreme/Valid/Invalid
Add your new testing results to the Testing & Evaluating table
In your Controlled Assessment document, under the heading Testing & Evaluating, make sure you have inserted a table like the one below and added AT LEAST 4 entries - Erroneous
- Extreme
- Valid
- Invalid
Add a new column to your Testing & Evaluating table with the heading Erroneous/Extreme/Valid/Invalid
Add your new testing results to the Testing & Evaluating table
Now add all of your NEW testing to the table
No comments:
Post a Comment