2015-11-17 HW

posted Nov 17, 2015, 5:07 AM by Samuel Konstantinovich   [ updated Nov 17, 2015, 8:06 AM ]
HW
1. I will not be present at Parent Teacher Conferences. (Tell your parents if they wanted to see me)
- I will leave a handout for parents to take, that will have information so they can contact me.
2. Watch the tutorial Videos 1,2,3
After each video, complete the Exercises at the bottom of the page, then watch the answers video as well. 



I see a lot of problems on the last exam which I am almost done grading, as a result here are some scheme functions to write as a lab:

DO NOW / LAB
1. write a function (checkPrime n)
That takes any non-negative integer n, and returns true if it is prime, false otherwise. You will need a helper function.
(You need to check for divisibility by many numbers...)

2. On schemingbat complete these problems:
http://bert.stuy.edu/pbrooks/SchemingBat/scheming.py
positionOf
lastPositionOf
nextPrime


Comments