CPSC 231: Final Exam Information
Date/location:
- The final exam is scheduled by the Office of the Registrar. You can find
the date/time/location via the 'Student Center' on the [university
Peoplesoft web portal]
- It will be a duration of 120 minutes
Review material:
- During lecture as I covered the material I will provided suggestions of
what an exam-like question may look like. You can look to your class notes
for this info and note the details as it comes up.
- During lecture as I cover the material I have provided suggestions of
what an exam-like question may look like. You should attend class for this
info and note the details as it comes up.
- Multiple choice exam review questions: They can be found in D2L under: Assessments->Quizzes
- Short answer questions: as I get time I will add
them here (not D2L as D2L cannot automatically grade written work and it
doesn't allow solutions to be easily posted along with a quiz that includes
written questions).
- Functional decomposition (tracing): [Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- Multiple topics (tracing): [Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- Functions, lists (code writing 1D lists): [Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- Functions, lists (code writing 2D lists): [Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- Extra creating during 2024:
Multiple choice questions for Object-Orientation & recursion: [Questions]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- For extra practice non-multiple choice recursion
code writing questions try implementing the iterative examples you have seen
in lecture and tutorial and produce a recursive equivalent.
- Extra creating during 2024:
Non-multiple choice question for Object-Orientation:
[Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question] [Link to starting
source code] [Link to the
solution: augmented definition for class Company]
- Not covered this term. Introduction to computer science, second question: [Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- Not covered this term. Introduction to computer science, third question: [Question]
[Solution -
don't look at it or view the program output until you have made a real
attempt at the question]
- Still want more practice questions?
- Try working through the sample problems in the [recommended
textbook]
- Finished all the textbook problems and want still more? Try working
through practice problems in the (Python v3.X) textbooks that you can find
via the [UC-library
website]. (Note that I haven't personally vetted the textbooks for
quality or match for this course so you will need to do that beforehand).
Instructions for the day of the exam (instructions that you should read and
become familiar with before you start writing)
- Duration: 120 minutes
- This is a closed book exam: No aids of any sort will be allowed (e.g.,
cell phones must be shut off and out of sight, calculators, laptops, hand
held computers, slide rulers, abaci should not be brought into the exam
room) will be allowed.
- DO NOT OPEN the exam until you are told to do so.
- Unless told otherwise you won't be graded for style and documentation.
- You can assume no syntax errors in the programs unless told
otherwise in a question.
- This exam will follow python 3.x syntax.
- Multiple choice instructions:
- Fill in the contact information for
all labeled categories
- Instructor: James Tam
- Date: Fill in the day booked by the Office of the Registrar
- Course name: CPSC
- Course number: 231
- Lecture section: 01
- Version: Don't need to fill this in for this exam
- Important backup for the Scantron
answer sheet: In addition to filling in the bubbles make sure you
print the required information as well (e.g. mark your student
ID number into the bubble but you also need to print your name in
the appropriate location as well).
- Instructions for the written
questions:
- In order to be awarded credit you
need to put your answer in the specified space.
-
You can use any python method or operator that you have been taught thus
far.
- To be awarded
credit for your exam you
need to hand in both your multiple-choice answer sheet and the
question booklet with the Scantron sheet inside.
Material that you should study
- The lecture material: the PowerPoint
slides will provide you with an outline of the topics to be covered. However
studying the information just listed on the slides won't be sufficient to do
well on the final exam. You will also need to take notes in class and to
study and understand those notes. If you have any questions then make sure
that you ask me for help and clarification.
- Text books: can be used as another source of material to help you
understand the material as you prepare for the exam. I won't however
directly examine you on material that is listed in the textbooks that I
didn't cover in class.
- Tutorial exercises and the tutorial handouts: what TAs cover in tutorial
can also be evaluated in the exam.
Exam topics
The exam will be cumulative. You are expected to be
familiar with material covered before the midterm. But the bulk of the questions
will focus heavily on material you saw after the midterm. The exception is
functions. Because it's difficult to write useful or even just semi-useful
program by applying just one programming concept some exam questions will relate
to material from several topics (e.g., you could be required to apply branches,
functions, files and lists in just a single question or even in the body of a
single function). Consequently it won't be possible to give a topic by topic break-down of the
proportion of the exam that relate to a particular topic. However what can be
specified is the major topics (worth a greater proportion of the final exam) and
the minor topics (still important but will tend to be worth a lesser
proportion).
Major topics
|
|
Minor topics
|
|
|
- Material covered before the midterm (save for functions)
|
|
|
- Other composites: tuples, strings
|
- Object-Oriented programming (but it will
be somewhat lower in weight than the other two major topics)
|
|
|
|
|
|
|
|
- Graphics using the tkinter
module (much lower weight)
|
|
|
- Admin topics and introduction to the course (covered start of
term): much lower weight
|
|
|
- Exam instructions - again I could ask you exam questions about the
exam instructions. That means you must read the exam instructions in
order to get credit (although you should be reading instructions
even without be examined on the instructions. But it will be much
lower in weight than the other topics if it appears).
|
As you can see in the [main
grid] on the course website topics such as computer history and the
introduction to computer science were not covered this semester.
Exam questions1
Multiple choice questions (~half of the
exam weight):
|
|
~25 - 30 questions |
Short answer questions (~half of the exam
weight):
|
|
3 code writing questions |
|
2 code traces |
|
|
1 It's based on a rough version of the final exam (exact proportions
may vary somewhat
Again: You are expected to be familiar with common functions that have been
covered in class such as but not limited to: print(), input(), int(), float(), str(), randrange().
Min. percentage cut off to be awarded grade point
GPA
|
GPA |
0.00 |
0 |
10.00 |
0.1 |
15.00 |
0.2 |
20.00 |
0.3 |
26.00 |
0.4 |
31.00 |
0.5 |
35.00 |
0.6 |
38.00 |
0.7 |
41.00 |
0.8 |
43.00 |
0.9 |
45.00 |
1 |
50.00 |
1.1 |
52.00 |
1.2 |
45.00 |
1.3 |
50.00 |
1.4 |
52.00 |
1.5 |
54.00 |
1.6 |
56.00 |
1.7 |
58.00 |
1.8 |
60.00 |
1.9 |
61.00 |
2 |
62.00 |
2.1 |
63.00 |
2.2 |
64.00 |
2.3 |
65.00 |
2.4 |
66.00 |
2.5 |
67.00 |
2.6 |
68.00 |
2.7 |
69.00 |
2.8 |
70.00 |
2.9 |
71.00 |
3 |
72.00 |
3.1 |
73.00 |
3.2 |
74.00 |
3.3 |
75.00 |
3.4 |
76.00 |
3.5 |
77.00 |
3.6 |
78.00 |
3.7 |
79.00 |
3.8 |
80.00 |
3.9 |
81.00 |
4 |
84.00 |
4.1 |
87.00 |
4.2 |
90.00 |
4.3 |