C++ Programming
COP 2224
Course Location, Times and Prerequisite
Course Title Credit
HoursClass Days Campus Building Room # Prefix
SectionStarts Ends C++
Programming3 Thurs West Mod 7 129 W001 6:00p 8:45p Prerequisite: COP 2220. Access to a PC and a C++ compiler, preferably Visual C++, outside of class time for the course project. Visual C++ is available on Both W002 and W003 Campus Labs (Lab fee).
Core Competencies: Valencia faculty have defined four interrelated competencies (Value, Think, Communicate, Act) that prepare students to succeed in the world community. These competencies are outlined in the College Catalog. In this course, through classroom lecture and discussion, group work, and other learning activities, you will further develop your mastery of these core competencies.
Course Catalog Description
COP2224
C++ Programming
Prerequisite: COP2220. COP2224 is an introduction to Object-Oriented
Programming (OOP) using the C++ programming language. Covers class
hierarchies, and single, repeated and multiple inheritance. Focuses
on abstraction and information hiding. Covers in detail polymorphism
and dynamic binding.
Course Details
This course is designed as an entry level course to the language of C++.
This student will learn how to program in C++ through lectures which enhance the reading
material, in class programming exercises and homework.
Object Oriented Design (OOD) will be used to for developing programming projects.
The student will learn how to create Object Oriented (OO) programs to industry coding
standards. Topics covered will include: programming by specification, creating real
world objects, designing with object, creating OO diagrams, the C++ language, object
inheritance, object polymorphism and program construction. Microsoft Visual C++ will
be used in class to illustrate programming topics. The World Wide Web will be used
to provide students with source code and class resources.
Microsoft Visual C++ Version 6.0
The C++ language is independent of a specific operating system. The student can
equally excel in either the UNIX or the Windows/DOS environment. In class, the
student will use Visual C++ on Windows 95. The student is expected to have a
fundamental knowledge of Visual C++ and Windows 95 from the prerequisite courses.
The course will focus on the C++ language and how to program in C++. The course will
touch very lightly on creating graphical interfaces, but the potential student should be
aware that this course will not cover graphics algorithms, MFCs or the internals of the
Windows operating system.
This course will cover:
a. Object Oriented Design Techniques.
b. Structured programming using specifications and implementation.
c. Object class construction will varying levels of encapsulation.
d. Object relationships with single and multiple inheritance
e. Code reuse through class libraries and generic templates.
f. Code readability through function overloading.
g. Basic I/O with streams.
h. Application design, deployment and maintenance.
Course Text
|
C++
How to Program Authors: Deitel and Deitel Format: Paperback, 4th ed., 1408pp. ISBN: 0130384747 Publisher: Prentice Hall Pub. Date: August 2002 |
![]() |
|
Resource Standard Metrics (Free Trial) For C, C++ and Java Code Metrics and Quality Analyzer All Operating Systems and Integrates with Visual Studio Publisher: M Squared Technologies |
![]() |
C++ References
Bjarnes Stroustrup's Home Page: http://www.research.att.com/~bs/homepage.html
C++ On-Line Reference: http://www.dinkumware.com/htm_cpl/index.html
STL On-Line Reference: http://www.sgi.com/tech/stl
ISO ANSI Standard Draft: ftp://ftp.research.att.com/dist/c++std/WP/CD2
Cletus Links to Computer Science: http://www.cetus-links.org/
How Popular is C++: Tiobe Programming Language Index
Course Objective
The objective of this course is to provide the student with the fundamental
knowledge and skills to become a proficient C++ programmer. The student will learn to
transpose the physical problem domain into a hierarchy of objects. Industry standard
software engineering techniques will be presented and used to architect the system design.
Objects, their behaviors, and their relationships, will be modeled and these models will
be programmed into a functional application that the student will compile, modify, enhance
and run. The student will program in a structured style whereby reinforcing the concepts
of software quality, reliability and maintainability.
Evaluation Process
Each student will be expected to perform out of class assignments and
programming projects. Quizzes and examinations will cover the concepts, syntax
and theory used in the course.
Homework will be evaluated as an aid to the student's progress in the course. The course grade will be determined by the quiz, exam and project grades.
Grading Method:
Reading/Quiz 25 %
Homework 25 % ( Assigned Problems
& Project )
Midterm 25 % ( Chapters 1-6 )
Final Exam 25 % ( Chapters 1-14)
A 90 to 100 %
B 80 to 89 %
C 70 to 79 %
D 60 to 69 %
F < 59 %
Failure to sit for the Final exam will yield a WF per school policy.
Changing from grade to audit must occur before the withdraw deadline
Valencia's attendance policy is that a
student will be present for all class meetings. After two absences (one in a night class),
a student will receive an excessive absence notice and must schedule a conference with the
instructor immediately. After two absences (one in a night class), a student may be
withdrawn at any time at the discretion of the instructor. Continual tardiness will be
viewed as absences and treated as such.
A student is responsible for all material covered during absences. Make-ups for scheduled
tests must be requested before the test date and are subject to approval of the
instructor. Unscheduled tests cannot be made up.
There will be no eating or drinking in the classroom. Class begins at a scheduled time and
is over when the instructor dismisses class. Leaving early without prior permission will
result in a class-work grade of zero. Tardiness is unacceptable class behavior. If you are
tardy and class has begun, take a seat near the door and do not disrupt class by crossing
the room.
Students must do their own work; there are no exceptions. Students who plagiarize or cheat
in any way risk dismissal from class and expulsion from the college.
Disclaimer: The content of this syllabus or course may
change at any time at the instructor's discretion.
All homework shall consist of PRINTED source code and program output.
Homework will be
graded on correctness in style and content.
- All homework is due the following week, unless otherwise specified
- All homework questions are to be hand written or printed.
- All homework code assignments are to be printed with output
- All homework must have name, homework assignment number, campus location, date
// John Smith
// Homework 3
// West Campus
// 11/14/2004- Late homework will NOT be scored unless excused by the instructor
Useful How To's
UML Quick Reference
UML Tools - Free and Community Editions
Class Description Homework 1
8/26/2004Introduction to C++
Chapter 1 and Syllabus
HW 1 - Compile and print out results: hello_ansi.cpp
Take On-line Quiz 1 (Test Center)2
9/2/2004
No Class - College Closed Weather 3
9/9/2004
Programming By Specification
Chapter 2: Control Structures
Coin in class example
HW 2 - Problems 2.14, 2.25, 2.31, 2.39, 2.61
Take On-line Quiz 2 (Test Center)4
9/16/2004C++ Features and Functions
Chapter 3: Functions
Coin in class example with encapsulated methods
HW 3 - Problems 3.14, 3.15, 3.17, 3.18
Take On-line Quiz 3 (Test Center)
5
9/23/2004
Arrays and Structures
Chapter 4
In class examples: Arrays Multi-Dimension Arrays
HW 4 - Problem 4.17. You must use programming by specification for the type dice. Class 2 may help you in constructing the dice object. Use the C++ code only. Turn in your source code and print out.
Take On-line Quiz 4 (Test Center)
6
9/30/2004Pointers and Strings
Chapter 5
In Class Example: click here
HW 5 - Click Here Follow the comments in the "main" function. Turn in your code and printouts.
Take On-line Quiz 5 (Test Center)
7
10/7/2004Midterm
8
10/14/2004Classes Part 1
Chapter 6No home work
Take On-line Quiz 6 (Test Center)9
10/21/2004Classes Part 2
Chapter 7
Homework 6: Complete the Cup and Dice classes from the following design and workspace. Print the cup.cpp file and bring your source code to class. Workspace
Take On-line Quiz 7 (Test Center)
10
10/28/2004Operator Overloading
Chapter 8Homework 7: Complete the Player class to have the player use the cup, throw the dice, chose one round of keeping dice and throw the remainder. Print the player.h and player.cpp file and bring your source code to class. Workspace
Take On-line Quiz 8 (Test Center)
11
11/4/2004Operator Overloading
Chapter 8 (Continued)Homework 8: Implement the Rules class with a method score to score the dice in the Cup. Pass the cup dice array to the method. The method scores 5,4,3,2 or a kind, 2 pair, straight and Full house. Return the score to the player. Player throwse the dice from the cup and passes dice array to Rules for score. Print out Rules .h and .cpp. 12
11/11/2004
Inheritance
Chapter 9
Continuing the Rules Class implementation for Homework.
13
11/18/2004Virtual Function and Polymorphism
Chapter 10
Homework 9: Complete the game class with the play function that allows the two players to bet and play the Poker Dice game. Turn in a floppy disk with you executable program and just the source code (Not the workspace). If not working turn in the Game.h, Game.cpp classes and any modifications to other class code printed out.
Take On-line Quiz 9 (Test Center)
11/25/2004 Thanksgiving 14
12/2/2004C++ File Processing
Chapter 14Homework 10: Add a save to disk a player and load from disk a player. Based on the players entered name load a data file from the disk of the players last balance and playing record of wins and losses. Turn in floppy of working program and source code or if not working turn in your printed source code.
Take On-line Quiz 10 (Test Center)
15
12/9/2004Advanced C++ Preview
Final Review
16
12/16/2004Final Exam
6:30 to 8:30pm