Final Exam

  • On-campus section: Tuesday June 11, 11:30 AM to 1:45 PM in room CDM 658
  • Online section: By registration

The final exam is worth 40% of the grade (80 points). The exam is a closed-notes, closed-book, individual-effort exam. You may take up to 2 hours and 15 minutes to complete the exam.

The format of the exam is similar to the midterm test. It will include multiple choice, short-answer, code-tracing with output or specifying order that statements occur, and writing Python.

It will help to know common function names such as print, int, append, int, format, get and strip, but you won't be penalized if you can't recall the exact name of certain functions---just make a good guess.

Review of Major Concepts

Text coverage

Chapters 1 through 11, except ch. 4, sections 5.8 to 5.14 (no recursion), and 7.5 to 7.9.

Sections 12.1, 14.1 to 14.5, 15.1 to 15.2, 16.1 to 16.3, 17.1 to 17.5

General concepts

  • Input and output
  • Data types: string, integer, floating point, boolean, list, dictionary, tuple, set
  • Control statements: if statements, for loops, iteration through a sequence (list elements, dictionary keys)
  • List operations: append, accesing individual elements, in
  • Simple functions: parameters, return values (for fruitful functions)
  • Dictionary operations: get, accessing values with keys, iterating through keys, adding a dictionary entry
  • Understanding classes

General knowlege of the topics in these areas is expected. The exam will typically address these topics with multiple choice and short answer questions.

Common code techniques

  • Counting
  • Type conversion
  • Running totals
  • Searching through list
  • Defining and using functions

You will need to trace code that has these techniques and write simple samples of code that use them.