Week # |
Chapters Quizzes |
Topics |
Programming Assignments |
1
Sept 2 - 4 |
1 and 2
Chapter 1 Quiz
Chapter 2 Quiz |
Introduction to the course
|
Write the Hello World program to establish your
ability to use an IDE write a program you can compile and run
and save it in a safe place.
Do the add two numbers exercise #1 on page 74. |
2
Sept 9 - 11 |
3
Chapter 3 Quiz |
Parts of a computer. Types of programming languages. Basic elements of a C++ program
|
Write a program to prompt a user to enter two integers and then compute and display the sum, difference, product and quotient of these integers. The interface should look something like the following:
This program will <explanation>
Please enter the first integer:
Please enter the seond integer:
The CPU reports that
the sum of ___ and ___ is ______
the difference of ___ and ____ is ______
the product of ___ and ____ is ______
the quotient of
___ and ____ is ______ |
3
Sept 16-18 |
3
Chapter 1 Test at ILRN.COM |
Expressions and interactivity.
Making decisions
Reading and Writing with files |
Chapter 3: Math Tutor,
monthly payment and word game problems. Chapter 4: Roman Numerals and Math Tutor. See the assignments page for a statement of these programming challenges. Hangman. |
4
9/23 -
9/25 |
chapter 4
Chapter 4 Quiz |
conditional statements |
Doublets assignments.
Doublet Problem01
Doublet Problem02
Doublet Problem03 |
5
9/30 - 10/2 |
Chapter 5
Chapter 5 Quiz
|
Looping with while loops and do-while loops - Nesting loops |
Babylonian Algorithm
Write program that will take the coefficients a, b and c of a quadratic ax^2 + bx + c and display the approximate zeros, be they real or complex. Don't use cmath library. |
6
10/7 - 10/9
|
Chapter 6
Chapter 6 Quiz |
Functions, pass-by-value vs. pass-by-reference. |
Rectangle Area programming challenge 2.
Write primes to a file. |
7
10/14 - 10/16 |
Chapters 6 and 7 |
Functions, pass-by-value vs. pass-by-reference. |
Write factorial and binomial coefficient functions to compute and display the expansion of a binomial a+bx raised to a natural number power. |
8
10/21 - 10/23 |
Chapter 7
Chapter 7 Quiz |
Arrays |
Start the king's tour project
Note the quizzes at ILRN.COM |
9
10/28 - 10/30 |
Chapter 9
Chapter 9 Quiz
|
Pointers |
Chapter 9: Programming Challenge #5.
Programming Challenge #9. |
10
11/4 - 11/6 |
Chapter 9 |
More pointers: Dynamic Memory Allocation
Midterm Exam |
Get caught up |
11
11/11 - 11/13 |
Chapter 9 |
Holiday |
More dynamic memory allocation
Matrix operations: Allocate matrix memory, input and display a matrix of user defined dimensions,
compute the product of the matrices, if compatible. Compute the square and higher powers of the matrix. Compute The matrix power e^[X] as the partial sum approximation of the infinite sum
|
12
11/18 - 11/20 |
Chatper 9 and Chapter 10 |
More dynamic memory allocation |
Use row operations to
(1) Reduce a random matrix to row-echelon form
(2) Solve a random nXn system of equations
(3) Find the inverse matrix of a random matrix. |
13
11/25 |
Chapter 10 |
Strings |
Write a program to determine all anagrams of a given seven letter word. As part of this, you'll have to write code to find all permutations of 7 objects. |
14
12/2 - 12/4 |
Chapter 11
Chpater 13 |
structures and classes |
Write a function to input the real and imaginary parts of a complex number and return these as a Complex structure. Then write functions to add, subtract, multiply and divide these Complex structures and incorporate these functions in a program. |
15
12/9 - 12/11 |
|
|
Final Exam |