Midterm Exam Format

  • Part 1: Quiz (about 30-40pt): closed book, done in class time on ZOOM with lockdown browser+webcam
    • lockdown browser and web cam are required.
    • No cheat sheets and no calculators.
    • You may use 1 piece blank paper of A4 size as the scratch paper.
      • You need to display it along with you ID in the beginning and at the end of the test.
    • You may use the cell phone to login to the ZOOM meeting in case you want to ask questions during the test. 
    • There will be office hours in case you have questions about the written test.
  • Part 2: Written (about 60-70pt): Open book, due the end of the next day.

Scope:  All the materials covered in week1 - week 8 (See below)

  • All the questions posted in the quizzes and home works,
  • Below is a sample list of topics we have covered so far.
    • Course Logistics – Why Python? Chapter 1
    • Control Flow, Functions Chapter 3
    • Python Basics Chapter 4
    • Sequence Data Types: Lists, Tuples, Strings Sec 5.1-5.7, 6.1-6.4
    • Sets, Comprehensions Sec 5.8
    • Dictionaries and their many uses Chapter 7
    • Dictionary Comprehensions, Generator Expressions
    • More on Functions: Lambda, Decorators, Generator Functions Chapter 9
    • Python Classes Chapter 15
    • Magic Methods, Attribute Access, Properties
    • Files, Exceptions, Context Managers Chapter 13, 14
    • Data types as objects  Chapter 17