Fall 2014: Midterm Study Guide

Chapter 1

  1. What is software?
  2. What are the ideals for programmers?
  3. What are the four stages in the process of developing a program?

Chapter 2

  1. What does a compiler do?
  2. What does a linker do?
  3. What is the process for creating an executable?

Chapter 3

  1. What is an object?
  2. What is a type?
  3. What is a variable?
  4. What goes into a variable declaration?
  5. What is an initialization?
  6. What is an assignment?
  7. What does extraction (>>) do?
  8. What are the 7 built-in types?
  9. What are the rules for naming variables in C++?
  10. What are examples of names in C++? Both good and bad.

Chapter 4

  1. What is abstraction?
  2. What is encapsulation?
  3. What is divide and conquer?
  4. What is an expression?
  5. What is a statement?
  6. What is a selection statement?
  7. What is an iteration statement?
  8. What is a block?
  9. What is a function?
  10. Why write functions?
  11. What is a function declaration?
  12. What is a function definition?

Topics from Class

  1. What are the four ways to structure a program?
  2. What are the two passing mechanisms?
  3. When should you use pass-by-reference?
  4. What is scope?
  5. What is lifetime?
  6. Why are global variables bad?
  7. What is a global variable?
  8. How does C++ view input and output?
  9. How does C++ typically process an input stream?
  10. What makes extraction (>>) stop?
  11. How do you use a file for input or output?

This file in txt format