Course Description
Course Aims and objectives
Course outlines
Text book and references
Prerequisite
Grading policy
Instructors and office hours
Syllabus
Time table
Lecture Notes
Attached Files
Previous Exams
Course Description
يغطي مبادئ واساليب البرمجة الكينونية باستخدام لغة سي |
Course Aims And Objective
The module introduces the object-oriented approach and emphasizes on the concepts of classes, templates, friend classes, inheritance, and virtual functions. Program design will be addressed by the use of a number of Lab work and assignments in which complete programs will be developed from informal requirements expressed in English and this development will include the process of identifying objects, classes, and methods. 1. Learn how to create a class (Class Definition; Accessing Data Members and Member Functions. Constructors and Destructors. 2. Learn about Constant Objects and Constant Member Functions. Friend Functions and Friend Classes 3. Illustrate Inheritance: Base Class and Derived Class 4. Using Member Functions; Overriding Base Class Members in a Derived Class 5. Public, Private, and Protected Inheritance 6. Learn about Virtual Functions, Polymorphism, and Overloading. Operator Overloading 7. Generic function and generic class 8. Handling Exceptions ; |
Course Outline
"Programming Fundamentals" | |
Overview of Programming Fundamentals, Function and structs | |
Introduction to Object-Oriented Paradigm | |
OOP as concept. OOP techniques, including inheritance, modularity, polymorphism, and encapsulation. | |
Classes: Definition; Accessing Data Members and Member Functions | |
Learn how to create a class (Class Definition). Accessing Data Members and Member Functions. permission labels:private, protected, and public | |
Constructors and Destructors | |
Constructors and Destructors Definition, Type of Constructors(empty,parametrized, non-parametrized, copy Constructor) Constructor overloading Destructor definition and importance | |
Friend Functions and Friend Classes | |
*what is Friend Functions and Friend Classes? *why Friend Functions and Friend Classes are needed? *How to define Friend Functions and Friend Classes | |
Objects and Pointer to objects | |
-defining objects, array of objects, pointer to objects -Constructors, Destructors with pointers -Passing Objects to functions -Constant Objects and Constant Member Functions. | |
Operator Overloading | |
* Operator Overloading using member functions. * Friend operator functions. * A closer look at the assignment operator. * Overloading new and delete. * Overloading []. * Overloading other operators. | |
Inheritance: Base Class and Derived Class | |
Illustrate Inheritance: Base Class and Derived Class Using Member Functions; Overriding Base Class Members in a Derived Class Public, Private, and Protected Inheritance Virtual Functions, Polymorphism, and Overloading | |
Generic function and Generic class | |
*Generic type: importance * Generic function definition * A function with two or more generic types. * Generic classes, Generic class with two or more types | |
Exception handling | |
Exception handling importance * Options for exception handling. * Eception Handling Using Multiple catch statements. * Catching all exceptions | |
Files Programming | |
Files Programming: Class Sequential File Class Random File and Final Exam review |
Text book and references
The Main Book | |
Title | C++ How to Program |
Author(s) | Paul J. Deitel, Harvey M. Deitel |
Edition | الطبعة 7- سنه النشر 2010 |
Publisher | Prentice Hall |
Title | C++ From the GROUND UP |
Author(s) | R. Schildt |
Edition | الطبعة 3- سنه النشر 2003 |
Publisher | McGraw-Hill Osborne Media |
The References Book | |
Title | Starting Out With C++ |
Author(s) | Tony Gaddis |
Edition | 4 سنه النشر2004 |
Publisher | Scott/Johns Inc |
Title | |
Author(s) | D.S.Malik, |
Edition | سنه النشر 2010 الطبعه 5 |
Publisher | Course Technology |
901131
Grading Policy
Activity | Weight |
First examination | 15 |
Second examination | 15 |
Final examination | 50 |
Lab, Quizzes, Home works | 20 |
Instructors And Office Hours
The Instructors of the Course | |
Name: | سعد عقله محمود بني محمد |
Office Hours: | Sunday, Tuesday, Thursday 11:00-2:00, 3:00-5:00, Monday, Wednesday 8:00-12:00; 3:00-5:00 |
Office Phone: | 00962 2 6297000 ext 3366 |
Instrcutor Mail: | bani@aabu.edu.jo |
Name: | فينوس وزير سماوي |
Office Hours: | 10:0-11:0 |
Office Phone: | (962) 2 6297000 ext 3389 |
Instrcutor Mail: | venus@aabu.edu.jo |
Miscellaneous
Time Table
Subject | Hours | |
* Overview of programming languages. * What is object Oriented? * Benefits of Object Oriented. | 3 | |
* What is an object? * What is a class? * Black boxes and interfaces. * Attributes and methods. * What is abstract class (abstraction)? | 3 | |
* Class fundamentals. * A closer look at class member access. * Constructors and destructors. * Parameterized constructors. | 3 | |
* Classes and structures are related. * Unions and classes are related. * Inline functions. * Creating inline functions inside a class. * Arrays of object. * Pointers to object. * Object references | 3 | |
* Fried functions. * Overloading constructor functions. * Dynamic initialization. * Assigning objects. | 3 | |
* Passing objects to functions. * Returning objects. * Creating and using copy constructor. * The this keyword. | 3 | |
* Operator Overloading using member functions. * Friend operator functions. | 3 | |
* A closer look at the assignment operator. * Overloading new and delete. | 3 | |
* Overloading []. * Overloading other operators. | 3 | |
* Introducing inheritance. * Base class access control. * Using protected members. | 3 | |
* Inheriting Multiple Base Classes* Constructors, destructors, and inheritance. * Granting access. | 3 | |
* Virtual base class. * Pointers to derived class. | 3 | |
* Virtual functions. * Early versus late binding. | 3 | |
Generic functions. * Generic classes. | 3 | |
* Exception handling. * Options for exception handling. | 3 | |
Project and Review | 3 |
Lecture Notes
Lecture Notes |
Attachment Files | ||
OOPSyl.doc | View |
Previous Exams
Previous Exams | ||
Final exam 2 - 2005.doc | View | |
second exam | ||
SS | ||
05.doc | View | |
Secod Exam.doc | View | |
OOP-second exam3.doc | View | |
Fisrt Exam- OOP - 04-05.doc | View | |
second exam41.doc | View | |
OOP-second exam.doc | View | |
Final exam 1 - 2005.doc | View | |
OOP | ||
SE | ||
SS | ||
2005.doc | View | |
second exam4.doc | View | |
Final exam 31 - 2004.doc | View | |
finalExamcpp.doc | View | |
OOP-second exam .doc | View | |
1Final exam 3 - 2004.doc | View | |
Final exam 3 - 2004.doc | View | |
Final exam 21 - 2005.doc | View |