We are learning ...
So that we can ...
Let's start by looking at some algorithms to see what they do. Work on your own through the examples in the presentation, answering the questions on paper.
You should produce your algorithm in "Structured English" and "Pseudocode" but remember ...
You should then attempt to make your algorithm come to life in Flowgorithm - I've checked and they all can :)
It's OK to work in a group :) Work together and check your proposed solutions with as many other students as possible! To help you out, I've made a super easy Structured English and Pseudocode Cheat Sheet which you can download. Noice :)
An flowchart solution to the algorithm challenge problem - nice!
Throughout your programming experience, you've been debugging code - the following exercise is a formal chance for you to show how you can fix syntax, runtime and semantic errors youself. Where we learn how to spot and correct errors in Python code
We are very used to debugging Python code and spotting errors that we or others have made in their programs. Here are some simple challenges for you.
Dip in at the level that you think you are currently capable of completing. Each challenge gives you sample (incorrect) code plus the output that *should* be generated (but isn't). Complete the tasks on each sheet by replacing the blue writing (that tells you to replace it).
Make sure you have filled out your name and class on the worksheets and print them out for assessment.
|