CS 105: C++
Project 2 Required Concepts
C: Chapter 2, 3

  1. Understand how the modulus operator works in simple cases (i.e., with positive operands).

  2. Understand how logical expressions work.  What evaluates to "true" or "false"?  What is the numerical value of an expression that evaluates to "true" or "false"?

  3. What happens if you try to pass a value of the wrong type in a function call?

  4. Understand and be able to use the ternary operator.

  5. You will need to be familiar with the binary representation of numbers.  (You can reasonably be expected to handle numbers from 0 to 256.)

  6. Understand the use of bitwise operators.

  7. Understand the basics of switch statements, and how they work, including the use of the keywords "case" and "default".

  8. Understand when the use of the "break" keyword in a switch statement is required, when it can useful to omit it, and when it's not required but probably a good idea.

  9. The three expressions separated by semicolons in a for loop are allowed to be empty.  What happens if the first, second, or last of these is empty?

  10. Understand the effect of the keywords "break" and "continue" in loops.




Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.