CMSC 104, Section 0801
Problem Solving and Computer Programming
Exam II Review
Exam II will be on Tuesday, Nov 12, 2002, at 5:30pm in SS 209.
Following is a general list of topics that you will be expected to know and understand for Exam II. Specific questions will be answered during the review session in class on Nov 7. NOTE: No calculators, laptops, cell phones, or PDAs will be permitted during the exam. If you have completed all of the projects, attended all of the lectures, and worked on the practice problems, you will do well on the exam.
You will need to know:
- Number system conversion (binary, decimal, hexidecimal)
- printf and scanf
- Arithmetic operators (+,-,*,/,%) and Precedence
- Relational and Logic Operators
- Truth table for complex conditions
- Conditional statments (if, if-else, nested if-else)
- Repition control structures (while, for, do-while)
- Assignment operators (++, --, **, +=, etc.), order of execution
- Switch Statements
- getchar function, stdin, EOF, redirecting program input and output
- potential extra credit:
- alternative number systems (e.g., base 6)
- gdb - The GNU debugger
- no ND!
Last Modified: