Study Guide for CS 312 Test 1 (Summer 2012)
* Number Conversions (you may use a calculator)
Decimal to binary, octal, hexadecimal and vice versa
Representation of negative numbers in 2's complement binary
* Define Variables
* ASCII and Unicode representations of characters
* Write Boolean expressions
* Evaluate expressions
* Use increment and decrement operators
* Know the difference between applying (&& and &) and (|| and |)
* Use the bitwise operators (& | ^ ~) in a computation
* Use the shift operators (<<, >>, >>>) in a computation
* Use the conditional operator ? :
* Read integers and floating point numbers from the console
with Scanner
* Output results unformatted (println or print) form
* Use if-else or nested if-else in a computation
* Use of switch statements - change switch to nested if-else
and vice versa
* Write a simple program that will
Prompt the user for input
Read the input
Compute with that input (may include if-else and/or switch)
Write the results