CS:1210 (22C:16) Exam 2 Announcement
Exam 2 for CS:1210 (22C:16) "Computer Science I: Fundamentals" will be held on Apr 4th (Friday) from 6:30 pm to 8:30 pm
in 100 PH (Philips Hall).
During the exam you can use any written material you bring, including lecture notes, Python programs,
Python documentation, etc.
Make sure you bring everything that you feel you will need to the exam because you will not be allowed to share
or borrow material with classmates during the exam.
You will have to turn off and remove from your vicinity all electronic devices including
cell phones, lap tops, calculators, dictionaries, etc.
The exam is worth 130 points, which is 13% of your final grade. Here is a brief description
of the structure of the exam.
There are 4 problems in the exam.
The first problem is worth 40 points and the remaining problems are worth 30 points each.
For each problem points are equally divided among multiple parts of a problem.
Use Quizzes 5-8 and Practice Problem Sets 5-8 for practicing for Exam 2. Also, take a look at
Exam 2 from Spring 2012 and
Exam 2 from Spring 2013.
Both exams involve some material that I did not cover this semester. For example, some problems involve
functions map, reduce, and filter, which we did not discuss this semester.
In any case, Problems 3 and 4 from Spring 2012 and Problems 2(a) and 3 from Spring 2013 are good problems to
try to solve on your own.
- Problem 1. You will be given 20 expressions and asked to evaluate these and write down
their value and type. Some of the expressions may cause errors and you'll have to identify these
and explain the source of the error.
- Problem 2. You will be given 2 programs and asked to write down the output produced
by each of these programs. These programs will involve all of the Python we have studied this semester,
but the focus will be on list and string operations.
- Problem 3. You will be given 2 problems and for each you will be given a partially completed
program. You will have to "fill in the blanks" and complete each program in order to solve the given
- Problem 4. You will be given a programming problem and asked to write Python code to solve it.
Your code will be no longer than 5-6 lines long.