Test 1 — Monday February 25
We know you can — based on your many past educational achievements, we expect you to do well on this test.
You are ready now — For problem solving prowess — Your best will be shown
Always look both ways
Word of the day
- honorable
Test 1
Important
- Read this web page carefully.
- Read each test question thoroughly and mindfully of what is being asked. Only do and output what is requested. You can do the test in any order that you want.
- To make things go smoother, you are strongly encouraged to submit as you go along.
- Check that you have made five submissions before handing in your test. Do not upload test solutions after you leave the room.
- This pledged exam is closed notes. The only device you may access during the test is your laptop.
- The only code you may access or view are ones that you develop for this test.
- The only windows to be open on your computer are PyCharm and a single browser with tabs reachable from the class website.
- No cell phone or messaging access during the test. If you need to leave the room, please leave your electronic devices.
- There are no intended trick questions. Each problem has a straight-forward answer. All programs have the same worth, so do them in the order that you find them easiest. They are asked in the order, that I thought would be easiest.
- The terms dataset and table are synonymous. They are lists of lists. The standard view is they are lists of rows, where each row is a list of column values. The individual column values are called cells.
If you need it
Part 1: Basics
- PyCharm cannot used when solving these problems.
Part 2: Chresthomathics — problem solving in Python
- Comments including header identifying comments are not necessary. You must follow other class style practices; e.g., whitespace, identifier naming, etc.
- You must use my downloads as the basises for your solutions. They contain any necessary imports and in some cases provide starting code. Do not click the below links until you are ready to start the test.
- Program car.py
- Program road_trip.py
- Program flipper.py
- Program wet.py
- Program yze.py
CSV
- Dataset of interest
Helpful documenation
- Module list
- Module random
- Module str
- Local module url