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

Information about the midterm exam

Grades: [Lecture 01: 9:30 AM] [Lecture 03: 2 PM]

Date/location:

Review material:

Instructions from the actual exam (so make sure you read them beforehand...important!):

Material that you should study

Breakdown of exam questions (by type of question)

10 Multiple Choice Questions

 
  • Choose the best answer
 
  • Each question is worth 1 mark

6 Written Answer Questions

 
  • Q1: Explain Python error for code provided.
 
  • Q2: Function that returns a value.
 
  • Q3: Function that takes and manipulates arguments.
 
  • Q4: Fix code with a logic error.
 
  • Q5: Trace code with local and global variables.
 
  • Q6: Fill in truth table.

Details about exam topics

Introduction to programming:

Functions and decomposition: Part I (Part II comes much later in the course and no notes have been posted yet)

Branching