COURSE SYLLABUS Introduction To C++ Programming
COURSE SYLLABUS Introduction To C++ Programming
Spring Semester: January 15 April 30, 2003 Lecturer: Christos (Chris) Dabekis Email: [email protected] Course Objective: Teach students how to program using the C++ Programming Language and prepare students with the necessary programming background to proceed with C++ object-oriented programming, Data Structures using C/C++, and Java programming courses. This is a first course in computer programming using C++. It provides a solid, non-object oriented or procedural approach to C++ programming. Topics covered include algorithm development,
data types, control structures, functions, arrays, strings, data structures, bits, pointers, dynamic memory allocation, library functions and the preprocessor. These C components of C++ are introduced using procedural programming and C++ input/output. The following C++ procedural programming enhancements to C are also covered: inline functions, references, default arguments, function overloading and function templates.
Required Text: C++ HOW TO PROGRAM, Third Edition; Deitel & Deitel; Published by Prentice Hall Attendance Policy: Attendance is required at all class meetings. Grading: Hour Exams Computer Projects Final Exam
Hour Exams will be given during meetings six and eleven on the material covered up to those meeting dates. These two exams will comprise 20% of the course grade. Five computer projects will be assigned during the semester. For each assigned project, the student will be required to submit a compiled C++ program listing and execution report(s) for the test input that will be provided. Any computer that is available to the student (Boston College, home, work) with a C++ compiler may be used. A list of coding standards will be provided with the first project assignment. These five projects will comprise 50% of the course grade. In addition to the homework assignments identified in the syllabus, additional problems will be assigned and reviewed in class. A Final Exam encompassing all of the material covered throughout the semester will be given during the last class meeting. This will be an open book/notes exam and will comprise 30% of the course grade.
#2
1/22
#3
1/29
#4
2/5
#5
2/12
#6
2/19
#7
2/26
#8
3/5 3/12
#9
3/19
#10
3/26
#11
4/2
#12
4/9
#13
4/16 4/23
#14
4/30
Chapter 5 Pointers and Strings String Processing Pointer Variable Declarations and Initialization Pointer Operators Calling Functions by Reference sizeof operator Chapter 6 Classes and Data Abstraction(only the section on structures) Introduction and Structure Definitions Accessing Members of Structures Passing Structures to Functions Supplementary Notes on Data Structures and Pointers Allocating Memory with new Freeing Memory with delete Using new to Create Dynamic Arrays Pointers, Arrays, and Pointer Arithmetic Supplementary Notes on Pointers (contd.) and Ref. Chapters 15 & 16 Pointers Introduction to Linked Lists Hour Exam Material Covered in Meetings 1 10 Supplementary Notes on Pointers (contd.) and Ref. Chapter 15 Linked Lists (contd.) Overview of Bitwise Operations, Chapter 16 (Pages 856-868) Bitwise Operators Bit Fields Chapter 17 - The Preprocessor #define Directive: Symbolic Constants and Macros Conditional Compilation Easter Break Chapter 14 File Processing Creating a Sequential Access File Reading Data from a Sequential Access File Chapter 18 C Legacy Code Topics FINAL EXAM Material Covered in Meetings 1 - 13
To be assigned. To be assigned.