============================================================================ Faculty of Applied Science and Engineering, University of Toronto CSC181: Introduction to Computer Programming, Fall 2000 First Term Test Information ============================================================================ ---------- Essentials ---------- Date: Wednesday, October 18 (as per the course information sheet) Time: 4:30-5:45 p.m. Location: Nursing Building, Room 107 (map) There are no aids allowed. You must bring your student card. ------------------------------ Topics you are responsible for ------------------------------ - Basic datatypes. - Expressions. - Operators: arithmetic, relational and logical. - Selection using if, switch. - Iteration using for, while, do-while. - The assert function. - The const modifier. - Arrays. - Table lookup. - Functions. - Scopes. - The extern and static modifiers. - Pointers. - Structures and unions. - Dynamic storage allocation (using malloc and free). - Memory management issues (e.g. dangling pointers and memory leaks). Basically, everything covered in the first five weeks of lecture. ------------------------ Structure of the midterm ------------------------ Shorter questions (30-40%) A combination of: - True/false - Multiple choice - Fill in the blanks - "Define and explain significance of..." Longer questions (60-70%) Tentative breakdown: - Analyzing code (1/3) - Programming code (2/3)