Practice Practicum: Monday, March 20th
- Before coming to class, solve as many problems
as you can during a 50-minute period from the Spring 2021
Practicum 2.
- During class on Monday, we will cover sample solutions.
- The format of this practice practicum is the same as the format
for the first practicum.
- The practice practicum is designed to give you
feedback on your understanding of the course material.
- A second practice practicum appears below if you want
additional practice.
Second Practicum: Wednesday, March 22nd
- Start Time: 10:00 a.m. The questions for the practicum will
be made available in class. You must come to class to take
the practicum.
- End Time: 10:50 a.m. Important - the Dropbox closes
at 10:51 a.m. so make sure to upload your solutions
no later than 10:50 p.m.
- Place the answers to all of the practicum problems in a file
named YourFirstName-YourLastName.py and upload
that file to the BrightSpace Dropbox named
Practicum 2.
- The practicum questions will be based on the Python materials that
we have covered to date. It will be helpful to review the
assignments, the interactive textbook and material covered
during class.
- You may use one 8.5 inch by 11 inch sheet of double-sided notes.
- You may use a laptop to develop your answers.
You may only use the internet to access the interactive python textbook,
online python documentation or previous python programs
that you wrote for this course.
- To be successful on the exam, strive to understand the
Python material and be able to use it to solve small problems.
Practicum Topics
- You might be asked to demonstrate your understanding
of functions.
- You might be asked to demonstrate your understanding
of if statements.
- You might be asked to demonstrate your understanding
of any of the libraries that we have used such as the turtle
module, the random module or the math module.
- You might be asked to
use the online module documentation -
link.
More Practice
- Fall 2021 Practicum 2.
- In the turtle module, there are two names for the same function
that makes the turtle invisible. What are these two names?
- Write a function average(number_1, number_2, number_3) that
returns the average of the three numbers. Show an example of calling
the function.
- Write a program that asks the user for his or her age.
If the age is between 13 and 19, print teenager.
If the age is between 20 and 64, print adult.
If the age is 65 or older, print senior citizen.
Otherwise print child.
Solve the program using one if, elif, else
construct.
- Write a function named practice_addition that
might be used to help a child practice
addition. The function should generate one random addition problem,
using two numbers between 1 and 9 (e.g. What is 3 + 9?).
The function should return True if the person answers the problem
correctly and False if not.