Introduction to Computer Science I for majors by James Tam Return to the course web page

CPSC 231: Final exam information

Date/location:

 

Review material:

 

Front cover from the actual exam (so make sure you look at this beforehand...important so make sure you read them beforehand!):

(Flip side of cover - top of page showing where you write your student ID number)

Material that you should study

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

  • Functions
 
  • Material covered before the midterm (save for functions)
  • Strings
 
  • Other composites: tuples.
  • Lists
 
  • Files and exceptions
  • Classes and objects
 
  • Recursion
   
  • Computer history (includes only material up to and including the Manchester machine: Slides 1 - 20).
   
  • Introduction to computer science (includes material up and including computer graphics: Slides 1 - 17).
   
  • Graphics using the tkinter module.

Exam questions1

Multiple choice questions 22 marks

  22 questions

Short answer questions  33 marks

  Short answer #1: code trace, 8 marks
  Short answer #2: code writing. 8 marks
  Short answer #3: code writing, 4 marks
  Short answer #4, code analysis (similar to trace but not so output focused), 1 mark
  Short answer #5: code trace, 4 marks
  Short answer #6: code writing. 8 marks

1 It's based on a near-final version of the midterm (exact proportions may vary *slightly*)