01 04 Documenting and Debugging
01 04 Documenting and Debugging
Directions
This assessment has three parts. Choose one of the options provided below:
Scenario Option 2: Do you enjoy being creative and making up your own scenarios?
If you do, then this option is for you! Come up with any scenario for this assignment as
long as you do the following:
• • Ensure people reading your code understand your scenario (do this with
lots of comments).
Use the algorithmic design stage of computational thinking to design a program. Remember that
algorithmic design is where you create step-by-step instructions to solve a problem. This must
begin with pseudocode, then be translated to Python using your pseudocode as a guide.
Write your pseudocode where indicated below. Your pseudocode should be written in English
(not Python), indicate a conversation about improving the world, and must:
• assign user input to variables to be used throughout the program. (For example,
this could be their name or age.)
Example of expected output: The output for your program should resemble the following
screenshot. Your specific results will vary depending on the choices you make about the
conversation and the input provided.
Use the Python IDLE built into this course to code and run your program. Your code must:
• Use comments for internal documentation (including a heading with your name,
today’s date, and a short description of the program). Remember that you can
copy/paste much of your pseudocode for this internal documentation.
• Follow the Python style conventions regarding indentation and the use of white
space in your program.
When you’ve completed writing your program code, save your work by selecting ‘Save’ in the
Python IDLE. When you submit your assignment, you will turn in this Python file separately.
Complete the Post Mortem Review (PMR). Write thoughtful two- to three-sentence responses to
all the questions in the PMR chart.
What was the purpose of your program? To educate kids about voting
How could your program be useful in the real For example if you can’t go to vote you
world? can simply vote through a website
What is a problem you ran into, and how did I didn’t have any problems thanks to my
you fix it? brother his an expert at programing
Describe one thing you would do differently proppably not going straight in to it before
the next time you write a program. not studying it
How could your program be generalized and It could be used in schools to educate
useful in other areas? students about voting