Tuesday 20 October 2015

CA Hour 16

L/O 1 - To be able to convert ASCII codes

L/O 2 - To be able to show evidence of your testing

Outcomes:

Red - You will have used Python Code to import random numbers/characters
Amber - You will have used Python Code to create a loop the random numbers/characters
Green - You will have used Python code to concatenate the numbers/characters
You will also be able to add all testing to the table under the Testing and Evaluating section of your CA

Starter - 10 min

Using the ASCII table, can you decipher the three messages in front of you??




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

  1. Open your Python menu in IDLE (Python)
  2. Open your Controlled Assessment document in Microsoft Word
  3. Make sure that the import code from last lesson is added to your Python menu
  4. Make sure that the code to read the file is added to your Python menu
  5. Create a new file in IDLE (Python)..
  6. Add the RED 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:

  1. Erroneous
  2. Extreme
  3. Valid
  4. 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

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 

Now add all of your NEW testing to the table




Plenary - 5 minutes

Save the code as CA_Task3

No comments:

Post a Comment

Elite of the Week

Create your free online surveys with SurveyMonkey , the world's leading questionnaire tool.

Year 10/11 Deadlines