Additional Overheads Used in Class

All Overheads

All overheads in PowerPoint 97 format


Individual Overheads

Flat Tire

Sequence, Selection, Loop/Iteration

Fibonacci Problem

Flow Diagram

Fibonacci Source Code

Hardware/Software

U-Turn Example

Documentation part 1

Documentation part 2

Sorting problem

Sorting solution

Roman numerals problem

Next day problem

Next day solution part 1

Next day solution part 2

Switch statement

Type coercion and Type casting

Pocket calculator example

Pocket calculator source code

For statement

Nested for statement

While, do while, for comparison

Functions

Example of using functions

Function parameter example

Function declarations and calls

Value parameters

Reference parameters

Parameter passing

Parameter passing mechanisms

Dollars and cents problem

Dollars and cents - stepwise refinement

Dollars and cents - code

Dollars and cents - convert function

Dollars and cents - convert function code

Dollars and cents - how to get H, T, U

Salesperson problem

Salesperson solution

Reverse a string - case 1

Reverse a string - case 2

Palindrome problem

Processing student grades

Enumerated types in arrays

2-D arrays - example 1

2-D arrays - example 2

Set up a unit matrix

Grading program - example

Grading program - code

Grading program - QuizAverages function

Payroll program - example

Employee struct - code

Recursive functions

Factorial function - description

Factorial function - code

Reverse function

Sum function

Fibonacci numbers


Last updated Thursday May 6, 1999