Presentation is loading. Please wait.

Presentation is loading. Please wait.

Exam 2 Review.

Similar presentations


Presentation on theme: "Exam 2 Review."— Presentation transcript:

1 Exam 2 Review

2 Format 5 “determine the output” type questions 5 or 10 points each
2 Point Multiple Choice (70 points) 35 Questions Most similar to TopHat quizzes Few “determine the output” type questions Determine the output questions (30 points) 5 “determine the output” type questions 5 or 10 points each Explain purpose of each line of code (15 points) Find the problem (15 points)

3 Chapter 5 Key Terms Review Questions Key Concepts
- Argument - Local Variable - Boolean Operators - Logical Operators - Comparison operators - Selection Structure - Decision Symbol - Repetition Structure - Single / Dual alternative selection structures - True / False Path - Statement Block Review Questions Key Concepts - C++ Syntax for selection structures - Condition must evaluate to True or False - Single / Dual structures and syntax

4 Chapter 6 Key Terms Review Questions Key Concepts
- Break Statement - Multi-Alternative Selection Structure - Nested selection structure - Switch Statement Review Questions Key Concepts - Nested if statements - Common logic errors with nested if statements - Switch statements

5 Chapter 7 Key Terms Review Questions Key Concepts
- Accumulator - Counter - Counter Controlled loop - Endless Loop / Infinite loop - For Statement - Loop / Loop Body / Loop condition, etc. - Pretest / Posttest Loop - Priming Read / Update Read - While Statement - Sentinel Values Review Questions Key Concepts - While loops - For loops - Pretest loop - Posttest loop

6 Chapter 8 Key Terms Review Questions Key Concepts
- Do While Statement - Exponentiation - Nested Loop - pow Function Review Questions Key Concepts - Posttest loop - Nested loops - Do While loops - pow Function

7 Chapter 9 Key Terms Review Questions Key Concepts
- Actual Arguments - Built In / Program Defined Function - Formal Parameters - Function Prototype - Global / Local Variable - Lifetime / Scope - Passing by Reference / Value - Pseudo-Random Number Generator - Return Statement - Srand Function - Time Function - Value Returning Function - Etc… Review Questions Key Concepts - Functions (Value Returning vs Void / Program Defined vs Built In) - Scope and Life of Variables - Passing by Reference vs Value - Function Syntax

8 Chapter 10 Key Terms Review Questions Key Concepts
- & - Passing by Reference - Void Functions Review Questions Key Concepts - Void Functions Syntax - Passing by Reference vs Value -

9 Test Planning Key Terms Key Concepts - Test Case - Test Plan
- Test Log - Test Case - Interface Testing - Boundary Testing - Stress Testing - Component / Unit Test - System / Function Test - Product Test - UAT Key Concepts - Importance of testing - Lifecycle of Testing - What to include in Testplan / Testcase

10 Pulling it All Together
Let’s read some code!


Download ppt "Exam 2 Review."

Similar presentations


Ads by Google