The University of Alabama in Huntsville
ECE Department
CPE 112 01
Fall 2001
Textbooks: Programming
and Problem Solving with C++, Nell Dale, Chip Weems, and Mark
Headington,
Jones and Bartlett Publishers, 2000, Second Edition.
A
Laboratory Course in C++, Nell Dale, Jones and Bartlett Publishers, 2000,
Second
Edition.
Recommended: Just
Enough UNIX, Paul K. Andersen, McGraw Hill, 2000, 3rd Edition.
Web Pages: http://www.ece.uah.edu/courses/cpe112
http://www.ece.uah.edu/courses/cpe112/cpe112-02
Prerequisite: Precalculus
Instructor: Dr.
Rhonda Kay Gaede, Office: EB 211, Phone: 824-6573,
email:
gaede@ece.uah.edu
Office Hours: MW
10:00 AM – 12:00 PM, F 2:00 PM – 4:00 PM, or by
appointment
Grading: Hour
Exams (4 @ 10% each) 40
%
Final
Exam 20
%
Laboratory
Assignments 40
%
Important Dates: August
28 – Last day to add a class
September
3 – Labor Day Holiday
September
5 – Last day to withdraw with refund
September
19 – Last day to change from credit to audit
October
4-6 – Fall Break
October
19 – Last day to withdraw
November
21-24 – Thanksgiving Holidays
December
4 – Last T/R class
Final Exam: December
6 – 8:00 AM – 10:30 AM
Academic Honesty: Students
who cheat will receive a 0 for that assignment and be reported to the
University
Judicial Officer.
Course Outline:
Chapter Topics
1 Overview
of Programming and Problem Solving
What
Is a Programming Language?, What Is a Computer?, Ethics and Responsibilities in
The Computing Profession, Problem-Solving Techniques
2 C++ Syntax and Semantics, and the Program Development Process
The Elements of C++ Programs, Program Construction, More About Output, Program Entry, Correction, and Execution
3 Numeric Types, Expressions, and Output
Overview of C++ Data Types, Numeric Data Types, Declarations for Numeric Types, Simple Arithmetic Expressions, Compound Arithmetic Expressions, Function Calls and Library Functions, Formatting the Output, Additional String Operations
4 Program Input and the Software Design Process
Getting Data Into Programs, Interactive Input/Output, Noninteractive Input/Output, File Input and Output, Input Failure, Software Design Methodologies, What Are Objects?, Object-Oriented Design, Functional Decomposition
5 Conditions, Logical Expressions, and Selection Control Structures
Flow of Control, Conditions and Logical Expressions, The If Statement, Nested If Statements, Testing the State of an I/O Stream
6 Looping
The While Statement, Phases of Loop Execution, Loops Using the While Statement, How to Design Loops, Nested Logic
7 Functions
Functional Decomposition with Void Functions, An Overview of User-Defined Functions, Syntax and Semantics of Void Functions, Parameters, Designing Functions
8 Scope,
Lifetime, and More on Functions
Scope
of Identifiers, Lifetime of a Variable, Interface Design, Value-Returning
Functions
9 Additional Control Structures
The Do-While Statement, The For Statement, The Break and Continue Statements, Guidelines for Choosing a Looping Statement
10 Simple Data Types: Built-In and User-Defined
Built-in Simple Types, Additional C++ Operators, Working with Character Data, More on Floating-Point Numbers, User-Defined Simple Types, More on Type Coercion
11 Structured
Data Types, Data Abstraction, and Classes
Simple
Versus Structured Data Types, Records ( C++ Structs)
12 Arrays
One-Dimensional Arrays, Arrays of Records, Special Kinds of Array Processing, Two-Dimensional Arrays, Processing Two-Dimensional Arrays, Passing Two –Dimensional Arrays as Arguments, Multidimensional Arrays
Tentative Course Schedule:
Date |
Day |
|
8/23 |
R |
Introduction,
Chapter 1 |
8/28 |
T |
Chapter 1 |
8/30 |
R |
Chapter 2 |
8/31 |
F |
Lab
Project #1 Due (25
points) |
9/4 |
T |
Chapter 2 |
9/6 |
R |
Chapter 3 |
9/11 |
T |
Chapter 3 |
9/13 |
R |
Test I |
9/14 |
F |
Lab
Project #2 Due (25
points) |
9/18 |
T |
Chapter 4 |
9/20 |
R |
Chapter 4 |
9/21 |
F |
Lab
Project #3 Due (25
points) |
9/25 |
T |
Chapter 5 |
9/27 |
R |
Chapter 5 |
9/28 |
F |
Lab
Project #4 Due (25
points) |
10/2 |
T |
Chapter 6 |
10/4 |
R |
No Class
– Fall Break |
10/9 |
T |
Chapter 6 |
10/11 |
R |
Test II |
10/16 |
T |
Chapter 7 |
10/18 |
R |
Chapter 7 |
10/19 |
F |
Lab
Project #5 Due (75
points) |
10/23 |
T |
Chapter 8 |
10/25 |
R |
Chapter 8 |
10/30 |
T |
Chapter 9 |
11/1 |
R |
Test III |
11/2 |
F |
Lab
Project #6 Due (75
points) |
11/6 |
T |
Chapter 9 |
11/8 |
R |
Chapter
11 |
11/13 |
T |
Chapter
10 |
11/15 |
R |
Chapter
10 |
11/16 |
F |
Lab
Project #7 Due (75
points) |
11/20 |
T |
Chapter
12 |
11/22 |
R |
No Class
- Thanksgiving |
11/27 |
T |
Chapter
12 |
11/29 |
R |
Test IV |
11/30 |
F |
Lab
Project #8 Due (75
points) |
12/4 |
T |
Review |