CMSC201 Computer Science I for Majors Lecture 13 – Midterm Review
Exam Rules The midterm is closed everything: No books No notes No cheat sheets No laptops No calculators No phones
Exam Rules Place your bookbag under your desk/chair NOT on the seat next to you You may have on your desk: Pencils, erasers Water bottle UMBC ID You must bring your UMBC ID with you to the exam! We won’t accept your test without it.
Exam Rules DO NOT CHEAT!!! Cheating will be dealt with severely and immediately If a TA or instructor sees you looking at another student’s paper they may take your test from you Your TA or instructor may ask you to move at any time during the test This doesn’t mean we think you’re cheating
Exam Seating Space allowing, you will sit every other seat, so that you are not next to another student Your instructor may have specific instructions for their lecture hall seating arrangements Make sure you know how to get to your exam room location – arrive early if possible!
Questions about Exam Rules?
Exam Format Very similar to the in-class worksheet Questions are less “tricky” than the worksheet, but the types of questions are generally the same Going over the slides and making sure you are comfortable with the material would be a good idea Try some of the exercises and practice examples available in the slides
Exam Format Multiple Choice True/False Code evaluation Debugging Given code, what does it do? Debugging Find and fix errors Fill in the blank Complete a piece of partially-written code
Exam Format Programming problems Given a problem, write the code to solve it Tips: Don’t jump straight into coding Read the question carefully Plan out what your code needs to do
Questions about Exam Format?
Exam Content Everything we’ve covered so far! You should be especially familiar with: Evaluating expressions Control structures For loops While loops (including sentinel loops) If/Elif/Else Decimal <-> Binary conversion Debugging
Exam Content You should be especially familiar with: Strings Lists Indexing, slicing, concatenating Lists Indexing (including negative indexing) Appending Functions Actual and formal parameters Defining and calling functions
Questions about Exam Content?
Exam Advice Write down your name and circle your section Flip through the exam and get a feel for the length of it and the types of questions The programming problems are the last questions on the exam – don’t leave them until the last minute!
Exam Advice Most questions have partial credit You should at least attempt every problem If you don’t know how to do one part of the problem, skip it and do the rest You can use comments instead of code (like “# get user input”) if you know what you want a piece of code to do but not how to do it
Exam Advice After you are done coding the programming problems, try “running” your program with some input and making sure it works the way you think it does If a problem is unclear or you think there is an error on the exam, raise your hand
Any Other Questions?
Announcements Homework 6 will be out Thursday night Due by Wednesday (Oct 26th) at 8:59:59 PM Lab 7 is online this week (due Thursday night) Midterm is next time – October 19th and 20th You must bring your UMBC ID with you to the exam! We won’t accept your test without it. You can do it! We believe in you!
Review Worksheet Answers Answers will not be provided You’ll understand and retain the information better if you solve the problems yourself TAs are available in ITE 240 during their regular discussion hours this week