General Information
- Date: Thursday, Dec 17
- Time: 4pm-6pm
- Location: Usual Classroom
- Duration: 120 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:
- C Language
- Preprocessor directives (#include, #define)
- Variables
- Expressions
- Operators
- Conditional statements
- switch statement
- Input/Ouput (scanf/printf)
- Loops(while, do while, for loops)
- break statement
- Defining functions
- Function Prototypes
- Random Number Generation
- Casting
- Pointers
- One and two dimensional arrays
- const modifier
- Function stack
- Strings
- You are responsible for the following string functions
- typedef
- structures
- Design
- Pseudocode
- Memory Maps/Diagrams
- Testing
The exam will NOT cover the following topics:
- Unix, gdb debugger, Emacs, command line arguments, file I/O, make utility,
malloc (dynamic memory allocation)
Practice Material
Go over all the worksheets and lab exercises we have provided. Some practice questions
can be found at: PracticeQuestionsFinal.pdf
Web Accessibility