General Information
- Date: Tuesday, Jul 22
- Time/Location: Your exam will take place in lecture.
- Duration: 50 minutes
- Closed-book, Closed-notebooks, No Computers/Calculators.
- Use a pencil/mechanical pencil (no pen) to answer the exam.
- Please take a look at the general exam rules available at
Exam Rules.
Exam Structure
- Short answer questions: This includes for example, multiple
choice, True/False and fill-in-the-blank type questions.
- Code analysis questions: We will give a short segment of code and
you may be asked to identify syntax and logical errors, generate code
output, etc.
- Code Writing: Write a program/code snippets to solve a given
problem. You should be prepared to give a complete program, but we may also
ask you to provide just a single function or a code fragment.
Topics
The exam will include all the material covered in discussion session (lab),
lecture, quizzes, and projects including the following topics:
- Unix - You must be familiar with the following commands
- C Language
- Preprocessor directives (e.g., #include, #define, #ifdef)
- Expressions
- Bitwise Operators
- Conditional statements
- Loops
- Arrays
- Strings - You are responsible for the following string functions
- Pointers
- enum
- Structures
- Unions
- Functions
- stdin, stderr, stdout
- Linkage
- Command line arguments
- exit
- perror
- Dynamic Memory Allocation (malloc, free, etc.)
- Linked Lists(both singly and doubly linked-lists)
- Hashing (as it relates to our projects)
- Makefiles - You need to know how to define makefiles without using
implicit rules.
The exam will NOT cover the following topics:
- Reading/Writing from Files, Emacs, Debugger, Assembly, Process Control
Practice Material
Practice material can be found in the grace system under 216public/exams/exam2.
Web Accessibility