An interesting discussion on the Chinese Remainder Theorem on the stackexchange can be found here.
A City Tech OpenLab Course Site
Hi All,
After looking at some of the Trinkets I received, I see that several of you need some more time to work on your code. I’m extending the deadline for the Assignment #3 for tomorrow, midnight. Come see me during office hours today (12 – 1pm, rm N602B) if you need some help with the code and/or you have questions about Sample Exam #3 which didn’t get answered in class today.
Kind Regards,
Prof. Bonanome
Please be advised that Sample Exam #3 has been posted here. Please review an be prepared with questions this Thursday, 11/8.
Important dates:
Assignment #3 due by 10 am in class this Thursday, 11/8.
Exam #3 will be next Tuesday, 11/ 13, sections covered: 3.1, 3.2, 3.3.
Hi All, Assignment #3 is posted here. Please let me know if you have any questions or need help. I will have office hours again next Tuesday, 11/6.
Best,
Prof. Bonanome
Hi All,
As promised, I’m sharing my Python code for 3.1 worksheet problems #1, #2 and #3 here. The code in problem 3 wasn’t working properly in class because I had one line tabbed too far in on my loop – beware that nasty whitespace! It works fine now, feel free to sort with it. For a bit of practice, try translating he pseudo code for Algorithm 6 Greedy Change-Making Algorithm from section 3.1 in your text (pg. 199). We can review in class on Tuesday before we move on to section 3.2.
Enjoy your weekend.
Kind Regards,
Prof. Bonanome
Good morning, please be advised that I will need to hold my office hour today at 3-4 pm due to a conflict. Apologies for any inconvenience.
Best Regards,
Prof. Bonanome
Sample Exam #2 is posted here.
A video of several sorting algorithms at work here.
Watch this amazing video here.
© 2024 MAT 2440/D643
Theme by Anders Noren — Up ↑
Recent Comments