T-Th 9:05 |
CS 1110: Introduction to Computing Using Python Spring 2016 |
||
Main
(image source) About: Announcements Staff Times & Places Calendar Materials: Texts/Clickers Python/Komodo Command Shell Terminology VideoNote Learning: Lectures Assignments Labs Assessment: Grading Exams Resources: CMS Piazza AEWs FAQ Python reference Python Tutor Alternative classes Style Guide Academic Integrity |
AnnouncementsA7, final-exam scores, course grades postedA7, final-exam scores and course grades have been posted to CMS and to FacultyCenter (where they will propagate to transcripts shortly). The information available about how course grades were determined has not changed from that posted on the "Grading" page on the course website. To see your grade for the course, look at the top of the CMS CS1110 page; right under the title, you'll see text that says "Show Final Grade:" Click on the red "Show" to reveal your grade for the course. Because of the closure of the homework handback room for the semester, it's unfortunately not possible to view your final exam until next semester (Fall 2016). Posted Tuesday, 24 May 2016 07:26:00 Last-lecture solutions postedPosted Tuesday, 17 May 2016 12:20:00 Additional office hours this weekAdditional office hours:
Posted Monday, 16 May 2016 17:49:00 Final exam preparation infoFinal exam: Wed May 18th, 7-9:30pm, Barton Hall (NOT where the prelims were) (middle and east section; there's another exam being held at the same time, so don't go to the wrong class!) Bring your Cornell ID and something to write with. No calculators, no laptops, etc. are to be used. Review session: Tuesday May 17th, 7-8:30pm, Olin 155 Study materials: see Lectures page, under the last lecture Solutions/solution sketches for all assignments and labs have been posted. Uncollected prelim 2s and prelim 1s can be retrieved from the homework handback room, see details below. Office/consulting hours have been updated at the "Staff webpage". The complete list: Prof Lee: (Monday hours all booked) Tuesday by appointment; book at: https://cs1110-may-17-appts.youcanbook.me Prof Van Loan: T 9:30-12noon, W 9-11am, Gates 423 consulting hours: 4:30-9:30 Monday, 4:30-9:30 Tuesday, ACCEL green room We decline to estimate when grades for the final exam/course will be available, but announcements will be made when they are ready. Good luck on the final exam! Profs Lee and Van Loan Appendix: Hours of the homework handback room, Gates 216: (to our knowledge; we hope they are having the same hours during finals week as they did during the semester!) Mon, Wed, Fri - 12:00pm - 4:30pm Tues - 12:30pm - 4:30pm Thursday - 1:00pm - 4:30pm Posted Monday, 16 May 2016 07:13:00 A7 solutions postedPosted Friday, 13 May 2016 19:21:00 JinJing Liang's Fri May 13 office hours moved slightly earlierTA Jinjing Liang writes, "I am moving my office hour to 10:30 am - 12:30 pm this Friday (May 13th) due to a scheduling conflict with another event. The location is still in Carpenter Hall Green Room ."Posted Thursday, 12 May 2016 21:54:00 Lab 10 solutions postedPosted Thursday, 12 May 2016 09:43:00 Game+OOP OpportunityDear students of CS 1110, We are a group of people taking CS 6360 (Educational Technology), and as part of the class we have been working on a game that tries to teach object-oriented programming concepts to learners with a little bit of programming experience. We're looking for volunteers to play the game so we can collect data, and we thought that students in CS 1110 might be a good approximation of our target audience. We would be extremely grateful if you could check out our project! If you are reviewing OOP concepts for the 1110 final, planning on taking CS 2110, or are just interested in trying out an educational game, you might find it worthwhile. Click on the link below to access it. Thank you! Link: https://www.lidavidm.me/cs6360/ Note: may not be compatible with SafariPosted Monday, 9 May 2016 10:00:00 Helper method fixThe second to last line in fix_trailing should be self.Fract.String = "0", not self.Fract.String == "0". Skeleton and handout have been updated.Posted Monday, 9 May 2016 10:00:00 Updates to A7 postedUpdates to A7 pdf and code regarding how to handle trailing zeroes and scientific notation. We added a helper method in the code skeleton to make this easier for you to implement.Posted Monday, 9 May 2016 10:00:00 Final Exam Review QuestionsThe links are off of the May 10 lecture. Skip problem 9--it was tied to an S15 assignment. But look to have Assignment related problems on the S16 final.Posted Thursday, 5 May 2016 01:06:00 Lab sections May 10-11 are open office hoursPosted Thursday, 5 May 2016 01:06:00 TheLongDecimalClass.py __add__, __mul__ docstrings updatedTheLongDecimalClass.py __add__, __mul__ docstrings updated to match the assignment handout.Posted Wednesday, 4 May 2016 11:33:00 Full version of A7 now postedPosted Tuesday, 3 May 2016 10:57:00 Prelim 2 (re-)grade guidelinesYou can pick up your graded prelims in your section this week (exception for grad students: see bottom of this announcement). You can also pick them up from section next week, but the regrade deadline will have passed (see below). APPROXIMATE grade guidelines: A: 31-34 B: 25-28 C: 19-23 Regrade request procedure: On a separate sheet of paper write your name, netid, section time and location. Then write down your grading issue on this sheet. DO NOT WRITE ON THE EXAM ITSELF. STAPLE this sheet to the front of your exam. Hand the sheet+exam packet to Prof. Van Loan at the end of lecture on Thursday May 5th. Making reference to the grading guide (available on CMS) in your statement would be wise. More information about grade computations in this course: http://www.cs.cornell.edu/courses/cs1110/2016sp/about/grading.php Profs Lee and Van Loan [*] Grad students only: pick up your graded exam from the homework handback room, Gates 216, hours: M: 12:00-4:30 Tu: 12:30-4:30 W: 12:00-4:30 Th: 1:00-4:30 F: 12:00-4:00 Posted Tuesday, 3 May 2016 09:34:00 (sent by email the Sunday before) Requests for makeups for the final exam due May 4, 6pmSee the exams page for the petition template, which explains what to submit to CMS assignment "Final Exam conflicts" if you need to request a makeup. Makeup requests are due May 4, 6pm (the exam itself is Wednesday May 18, 7pm-9:30pm).Q: I already talked to you by email/in person about a makeup. Do I need to do this "assignment"?
Q: If I have two exams back-to-back or two exams within 24 hours, can I have a makeup? Q: Will the makeup be earlier than the regular exam? Posted Sunday, 1 May 2016 23:00:00 Lab_10.zip had a faulty ShowMondian.py. Fixed nowPosted Saturday, 30 Apr 2016 07:34:00 First half of A7 AvailableThe second half, which will depend on the Lecture of May 3, will be released on that day.Posted Friday, 29 Apr 2016 07:34:00 Lab 10 AvailablePosted Thursday, 28 Apr 2016 07:34:00 Visit CMS for Pre2 scores and solutions.Median = 30, mean = 27 Scores below 20 are problematic.Posted Tuesday, 28 Apr 2016 07:34:00 Solutions to Lab 9 posted to the course websitePosted Tuesday, 26 Apr 2016 07:34:00 Solutions to A6 posted to assignments website; VideoNote thinks the prelim 2 review session recording will be posted MondayPosted Sunday, 24 Apr 2016 22:32:00 Solutions to the Prelim 2 review questions postedSee the April 26th lecture.Posted Sunday, 24 Apr 2016 03:44:00 Info about Prelim 2 and related class activities.*** TIME: Tuesday April 26th, 7:30-9pm *** *** WHERE TO GO (may differ from Prelim1! This reshuffling puts every room at ~50% capacity). *** Students taking makeups or extra time have been emailed a different location. All others are assigned by last name: 119 Baker: A-Chem 135 Baker: Chemise-Fane 219 Baker: Fang-Hug 335 Baker: Huge-Kylo 200 Baker: L-Z, i.e., everyone else Bring your Cornell ID and something to write with. No calculators, no laptops, etc. are to be used. *** STUDY AIDS *** Look up and memorize your lab time, day, location (ACCEL=Carpenter or Phillips). (Many delays in grading/returning prelims were induced by students supplying incorrect lab info.) Prelim coverage, review questions, clicker-qs posted under the April 26th lecture. Solutions to be posted on Sunday. Review session Sunday Apr 24 7-9pm Olin 155; Tuesday Apr 26th "lecture" replaced by open Q&A Solutions/solution sketches for Labs 1-8, A1-5 are posted; L9/A6 solutions will be posted when their due dates pass. *** TEMPORARY SCHEDULE CHANGES *** No new lab exercise for the week of April 25. The Tue Apr 26 labs will be staffed, and act as drop-in office hours. The Wed Apr 27 labs are cancelled and will not be staffed at all. No office/hours Tuesday 4:30pm through Saturday on the week of the prelim. Posted Wednesday, 20 Apr 2016 22:58:00 Prelim 2 Review Materials: Visit April 26 on the Lectures page.Posted Wednesday, 20 Apr 2016 15:58:00 Lecture Slides Updated and SynchedTypos have been fixed and the pdfs of the lectures now correspond with the date that they were delivered.Posted Saturday, 16 Apr 2016 15:58:00 Correction to figure in A6 postedPosted Saturday, 16 Apr 2016 15:58:00 Lab 9 postedPosted Friday, 15 Apr 2016 13:30:00 A6 posted on the assignments webpagePosted Thursday, 14 Apr 2016 10:25:00 A5 solutions and Lab 7 solutions postedPosted Thursday, 14 Apr 2016 10:43:00 Lab 8 posted on the labs webpagePosted Thursday, 7 Apr 2016 15:56:00 Heath Guo's Thursday April 7 2-4pm moved location todayAnother event in ACCEL has bumped Heath Guo's office hours to the entrance of Carpenter Library (the couch area).Posted Thursday, 7 Apr 2016 13:38:00 Requests for makeups for prelim 2 due April 12Posted Sunday, 3 Apr 2016 23:10:00 Uncollected/regraded prelims available in section this week (Apr 5-6)Uncollected/regraded prelims will be available for retrieval in section this week, Tue Apr 5 and Wed Apr 6. Graduate students can check the homework handback room, Gates 216, on the same dates.Posted Sunday, 3 Apr 2016 23:10:00 A5 typo and clarification postedPosted new pdf (see orange text therein): clarification of "neighbors of neighbors" and fixed indexing typoPosted Sunday, 3 Apr 2016 15:45:00 Two TAs cancelling Monday Apr 4 office hoursPlease see staff page for details.Posted Sunday, 3 Apr 2016 15:45:00 Lab 7 posted to the labs pagePosted Fri, 1 Apr 2016 10:30:00 What is going on with where the prelims areFor those who are curious, here is more than you ever wanted to know about what is going on with the prelims being moved around to various secure (un)disclosed locations.The issues are as follows:
So: we made the prelims available in lab section this week, thus using distributed distribution (ha) to lessen the load on the handback room. Grad students were directed to the handback room. Then, in order to track down missing prelims, we needed to reclaim any exams from the homework handback room Wednesday before the close of business in order to be able to search through the whole lot and, in addition, make sure there wasn't any possibility of exams getting picked up without us knowing about it (i.e., lost exams turning out to be picked-up exams). Now (Thursday), we are finalizing the process of tracking down any remaining missing prelims among the prelims that we have, and manually (!!) checking all indicated student sections for accuracy [there were a lot of mistakes made by students in this regard. People who do this: you are making kittens weep! Please stop it!.] to make sure we can route the prelims to the correct sections. And, if we can get the regrade requests done in a timely fashion, we can put the regraded exams in with all the other exams we have and not need an additional return mechanism for them. Finally, we still have to be mindful of not overwhelming the homework handback room staff, so we have to decide whether we will again route the uncollected exams to lab sections for another round, or instead do something else. And yes, at least one of your professors has never, ever been accused of “not overthinking it”. Posted Thursday, 24 Mar 2016 17:43:00 Assignment 5 posted on the Assignments PagePosted Thursday, 24 Mar 2016 10:30:00 Spring Break-induced office/consulting hours changesNo office or consulting hours during break; also, TA JinJing Liang's Friday March 25th hours are cancelled (to meet with her on Thursday instead, please email her.)Posted Thursday, 24 Mar 2016 00:15:00 CVL Extra Office Hours This Week in Gates 423Monday 3:45-5:00, Tuesday 5:15-6:00, Wednesday 3:45-5:30Posted Tuesday, 21 Mar 2016 08:35:00 Lab 6 postedLab 6 postedPosted Tuesday, 18 Mar 2016 08:35:00 Solutions to practice exams, A4 postedSee the March 15th lecture materials and assignments webpage.Posted Tuesday, 08 Mar 2016 08:35:00 A2 grading: why -2 points for not exactly matching output in capitalization does (not) matter
Posted Friday, 11 Mar 2016 01:33:00 Prelim 1 places, what to bring, studying, and how labs/office hours that week are affectedWhat room you go to for the exam depends on your last name (unless you are taking a makeup prelim or have extra time, in which case you will have been contacted separately by Course Administrative Assistant Megan Gatch).
Bring your Cornell ID and something to write with. No calculators, no laptops, etc. are to be used. To help you study, solution sketches for labs 1-4 and solutions for A1-A3 are now posted. Once the due dates for Lab 5 and A4 pass, those solutions will also be posted. Because of the prelim, there is no new lab for the week of March 14th. The Tuesday labs will be staffed and you can treat them as drop-in office hours. The Wednesday labs are cancelled and will not be staffed at all. There will be no office hours or consulting hours Tuesday 4:30pm through Saturday. Posted Wednesday, 09 Mar 2016 14:39:00 For more small practice problems: CodingBatWe recommend CodingBat for those looking for lots of small practice problems.Posted Tuesday, 08 Mar 2016 08:35:00 Review sessions Sunday 3/13 and in-class Tuesday 3/15The Sunday session will be 7-9pm in the usual classroom. The Tuesday 3/15 session will be during the usual lecture time and place.Posted Monday, 07 Mar 2016 23:18:00 Prelim 1 Study MaterialsVisit the March 15 entry on the Lectures page for links to prelim study materials.Posted Monday, 07 Mar 2016 7:10:00 Slip days are on a 24-hour schedule, etc.See the assignments webpage for full details on slip day policies.Posted Monday, 07 Mar 2016 7:10:00 Dana Warmsley's Monday Mar 7 office hours moved to Wed Mar 9See staff page for one-time time/location changePosted Monday, 07 Mar 2016 7:10:00 Updated Lab 5 AvailableTypo fix in orange, and file for download correctedPosted Saturday, 05 Mar 2016 5:49:00 A4 and Lab 5 AvailablePosted Friday, 04 Mar 2016 11:45:00 JinJing's Friday office hours changed to 1:30-3:30JinJing Liang's Friday office hours have changed to 1:30-3:30 in the ACCEL Green room. Students without prior programming experience have priority for JinJing's Monday and Friday hours.Posted Monday, 29 February 2016 11:45:00 Dana Warmsley's office hours changed to Mondays 12:15-2:15Dana Warmsley's office hours have changed to Mondays 12:15-2:15 in the ACCEL orange room.Posted Sunday, 28 February 2016 12:17:00 One more fix to A3 handoutSee the red text in the handout (forgot to fix one more even/odd ambiguity).Posted Sunday, 28 February 2016 12:17:00 Minor fixes to A3 handout, codeThe posted handout has an even/odd confusion corrected (see orange text); Roman.py's incorrect boolean expression in the application code has been fixed; Spiral.py now has sin imported from math.Posted Friday, 27 February 2016 19:37:00 Lab 4 Posted on the Lab PageLab 4 Posted on the Lab PagePosted Thursday, 25 February 2016 23:22:00 A2: print vs returnConsultant Fred Callaway writes the following:It's very important to understand the difference between the following two functions: def add_one(x): return x + 1 def print_plus_one(x): print x + 1The first is a fruitful function. The second is a void function or a procedure. The first function doesn't "do" anything; it just gives you a new value (it returns). The second function actually does something (it prints 4); but it doesn't give anything back. if __name__ == '__main__': add_one(3) # no effect print_plus_one(3) # 4 is printed to the screen four = add_one(3) print four # 4 is printed to the screen five = print_plus_one(4) print five # "None" is printed to the screen print_plus_one(add_one(3)) # 5 is printed to the screenA common pattern is to have one function that prints things, but doesn't return anything, and several helper functions which don't print anything, but do return things. Siri.py is an example of this. One function only prints, and the other only returns. It is important that you follow the directions when deciding which function in Siri.py should return and which function should print. Posted Thursday, 25 February 2016 23:22:00 A3 Posted on Assignments PageA3 Posted on Assignments PagePosted Thursday, 25 February 2016 23:22:00 A1 Solutions on Assignments PageVisit the assignments page.Posted Thursday, 25 February 2016 23:22:00 TA Dana Warmsley's Tue Feb 23 office hours rescheduledTA Dana Warmsley writes: " This week, my office hours on Tuesday from 2:30 - 4:30 are rescheduled. Instead, my office hours will be held on two days:
Posted Monday, 22 February 2016 23:22:00 Permanent office hour change for TA Zechen ZhangTA Zechen Zhang's Tuesday office hours have moved from the evening to the morning due to a room conflict. The Staff page has been updated accordingly.Posted Monday, 22 February 2016 23:22:00 Note on the 2/18 Lecture SlidesTwo things. I skipped over the first half of the slide show feeling that it just clarified the import/module business that was done last week. (Check it out though!) Second, I updated the "mechanics-of-a-function-call'' stuff so that it is a little clearer. So if you are a slide downloader, you might want to make sure you are looking at the revised pdf which was put up just now.Posted Thursday, 18 February 2016 14:41:00 Lab Policy ChangeVisit the lab page for details. But the executive summary is this: The exercises for a given Tue-Wed lab must be checked off by the end of consulting hours on the following Monday.Posted Wed, 17 February 2016 21:41:00 Office hour changes for Friday Feb 19th.TA JinJing Liang writes, "I have to shorten my 3:30 pm - 5:30 pm OH to end at 5:00 pm this Friday. If you need more help, please email me at jl2453@cornell.edu and we can schedule a time that works for you. Sorry for the inconvenience."Posted Wed, 17 February 2016 21:41:00 Lab 3 posted.Lab 3 posted.Posted Wed, 17 February 2016 Final Exam: May 18, 7:00-9:30PMThe CS 1110 final exam is scheduled for Wednesday, May 18, 7-9:30pm. We regret that there will be no early version of the exam to accommodate students who have travel issues and/or summer job commitments. If it helps your situation, we are happy to supply a letter that formally states this policy.Posted Tue, 16 February 2016 21:19:00 Minor updates to A2 posted.Changes marked in orange in the posted pdf.Posted Tue, 16 February 2016 21:19:00 One-time change of Wednesday office hours to Saturday.Jigar Bhati notes: "It won't be possible for me to take office hours on this Wednesday ( 02/17/2016 ). So I am changing it to 10 AM - 12 PM on Saturday ( 02/20/2016 ). Please note that this change is made only for this week."Posted Mon, 15 February 2016 17:35:00 A2 is available on the assignments page.Posted Sun, 14 February 2016 15:38:00 More installation to enable graphical programsNow is the time to follow steps 4 and 5 in the Python installation instructions ("Adding necessary packages to Python" and "Test the necessary packages"), so you'll be set to run the graphical python programs we discussed in class. Posted Thu, 11 February 2016 15:38:00 New office hours added where we'd like to prioritize those without prior programming experienceWe've been able to add another regular set of office hours, which means there's an additional two hours on Friday before A1 is due. See the Staff page. We'd like to prioritize students who have no prior programming experience for tomorrow's Friday 3:30-5:30pm hours. So please use other hours or Piazza for help if you already have some prior programming experience. (Again, see the Staff page for the full list.) Posted Thu, 11 February 2016 11:26:00 Lab 02 due date extensionThe Lab 02 due date is extended to the end of consulting hours on Monday the 22nd. Due to unusual scheduling because of break, we will have staff on hand during the Wed Feb 17th lab hours, so you can also get checked off there, regardless of what section you are registered for. (The Tuesday Feb 15th labs will not be staffed, since it's break.) A1 is still due on Friday the 12th, and we recommend you get help with sections 1, 2, 4 and 5 of the lab beforehand if you need it. Posted Tue, 09 February 2016 15:31:00 Office hour schedule changeTA Heath Guo's hours have changed. You can see the full list of in-person help hours at the staff page or get online help on Piazza.Posted Fri, 08 February 2016 11:38:00 Lab 2 Available. Visit the Labs page for downloads.Spend some time on this BEFORE the lab, especially since doing this lab will help you with A1.Posted Fri, 05 February 2016 13:07:00 A1 Error in Fibonacci SequenceThe table of Fibonacci numbers started later than it should. The pdf handout has been corrected.Posted Wed, 03 February 2016 19:07:00 A1 TypoThe "+" in the formula for the n-th Fibonacci number on page 1 should be a "-". The pdf handout has been corrected.Posted Tue, 02 February 2016 14:32:00 A1 has been releasedThe first assignment has been posted to the Assignments webpage. It is due Feb 12 at 6pm on the course CMS.Posted Mon, 01 February 2016 23:32:00 Getting help: Piazza, office hours, consulting hours have now startedWe encourage you to use all means of help available in the course. The following sources are reachable by the left-hand sidebar.On-line help: we encourage you to sign up for and monitor the class Piazza question-and-answer forum: post a query, and see if maybe someone has already asked or answered your question. In-person help: see the Staff page and the Consultants page. Posted Mon, 01 February 2016 23:32:00 What to do if you are an undergraduate with a "section problem"This announcement is about what to do if you are an undergraduate in CS 1110 but have a "section problem".Think about taking CS 1112 (Matlab) which for many students is a perfectly fine substitute for 1110. Both courses prepare you for CS 2110 (Java), the next course. If you just need one computing course to enhance your career ambitions, then Matlab is almost always just as good, if not better than Python. CS 1112 has plenty of open seats. Think about taking CS 1110 next semester or in the summer. Think about taking CS 1133 next semester. Think about StatSci 4060. This is an excellent 2-credit Python course that works if you are headed into the business sector or any of the sciences. If none of these alternatives are appealing, then be aware how things might play out in CS 1110. Recall that
If you are registered in a real section that you cannot attend because of a schedule conflict, then drop/add your way into the phantom section. This might help one of your classmates and it doesn't hurt your chances of getting into a real section of your choice. If you are registered in the phantom section then you will have to stay there until a spot opens up in a real section that works for you. We cannot predict whether or not this will happen. While in the phantom section undergraduates are still required to complete the lab assignments and to have then checked off by a member of the course staff, but must do so at consulting hours (you cannot attend a lab you are not registered for). Some Facts to help you understand the big picture:
Posted Sun, 31 January 2016 12:02:00 Lab 01 ready for you to start if you likeThe Lab 01 handout and accessory file have been posted to the "Labs" section of the website, so you can start now if you like! We definitely recommend at least reading the lab handout before you come to your lab section.Posted Sat, 30 January 2016 15:15:00 Complete Installation Steps 1-3 this weekend (Jan 30-31)Complete installation steps 1-3 on the "Python/Komodo Edit" page this weekend (see lefthand sidebar for link). (Don't do the install of the add-ons yet!) Any problems? Add yourself to the Spring 2016 Piazza group and see if your question has already been answered,Posted Thu, 28 January 2016 10:57:00 "Discussion sections" (labs) do not start until Feb 2 and 3The "discussion sections" (henceforth labs) for CS1110 do not start until Tuesday Feb 2/Wednesday Feb 3rd.If you haven't been able to enroll in the class or in your preferred section because of at-capacity sections, please still come to the first day of lecture (Thursday January 28th); we will discuss possible solutions then. Posted Wed, 20 January 2016 21:29:00 All (and only) masters and PhD students should enroll in the TBA section (a.k.a. lab) 214All masters and PhD students should enroll in the TBA section CS 1110-214 (18823). This "section" will never meet: masters and PhD students neither attend lab sections nor submit lab exercises. Undergraduates should (eventually) enroll in one of other sections, CS 1110-201 through CS 1110-213.Posted Fri, 22 January 2016 09:23:00 |
||
Course Material Authors: D. Gries, L. Lee, S. Marschner, C. Van Loan & W. White (over the years) |