22C:16 (CS:1210) Exam 1 Announcement
Exam 1 for 22C:16 (CS:1210) "Computer Science I: Fundamentals" will be held on Feb 22nd (Friday) from 6:30 pm to 8:30 pm
in W10 PBAB.
This is the classroom where the morning section meets.
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 120 points, which is 12% of your final grade. Here is a brief description
of the structure of the exam.
Each of the problems is worth 30 points, with points being equally divided between multiple
parts of a problem.
- Problem 1. You will be given 10 expressions and asked to evaluate these and write down
their value and type. Some of the expressions may not be well-formed and you'll have to identify these
and explain why these are not well-formed. Some other expressions may be well-formed, but might
cause errors when evaluated. You will have to identify these as well and explain the nature of the
error.
- Problem 2. You will be given 4 programs and asked to write down the output produced
by each of these programs. These programs will involve if-statements, break-statements, while-loops (possibly nested), etc.
- 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.
- Problem 4. You will be given a problem and partially completed code for it. The code
will contain one or more functions, but will also be missing one or more functions. You will have
to complete the code by supplying the missing functions. For this you will have to be able to define
functions and also call them appropriately.