Exam 1 study tips
This reference sheet will be provided for you. On this exam, you should be able to:
- Write a short but complete single-function C program
- Know the key differences between C and Java, both in design and common usage.
- Be able to state the bit sizes, byte sizes, and maximum limits of integer types, given that a table of powers of 2 will be provided.
- Identify integer overflows
- Trace programs that use concepts covered in class, identifying expression values and console output
- Identify expressions in C that evaluate as true vs. false
- Convert among binary, hexadecimal, and decimal. Also be able to identify an octal number
- Understand the behavior of a program which does NOT respect array boundaries
- Understand bit manipulation expressions, and be able to write new expressions/functions to manipulate bits
- Distinguish ASCII from binary file IO
- Understand in-memory representation of strings and arrays
- Do all the stuff in the bit exercises packet