Presentation is loading. Please wait.

Presentation is loading. Please wait.

Downloaded From: www.bsit.zxq.net.  Objective of this course is to make students familiar with the concepts of object-oriented programming  Concepts.

Similar presentations


Presentation on theme: "Downloaded From: www.bsit.zxq.net.  Objective of this course is to make students familiar with the concepts of object-oriented programming  Concepts."— Presentation transcript:

1 Downloaded From: www.bsit.zxq.net

2  Objective of this course is to make students familiar with the concepts of object-oriented programming  Concepts will be reinforced by their implementation in C++ Downloaded From: www.bsit.zxq.net

3  Object-Orientation  Objects and Classes  Overloading  Inheritance  Polymorphism  Generic Programming  Exception Handling  Introduction to Design Patterns Downloaded From: www.bsit.zxq.net

4  C++ How to Program By Deitel & Deitel  The C++ Programming Language By Bjarne Stroustrup  Object-Oriented Software Engineering By Jacobson, Christerson, Jonsson, Overgaard Downloaded From: www.bsit.zxq.net

5  Assignments15 %  Group Discussion05 %  Mid-Term35 %  Final45 % Downloaded From: www.bsit.zxq.net

6

7  A technique for system modeling  OO model consists of several interacting objects Downloaded From: www.bsit.zxq.net

8  A model is an abstraction of something  Purpose is to understand the product before developing it Downloaded From: www.bsit.zxq.net

9  Highway maps  Architectural models  Mechanical models Downloaded From: www.bsit.zxq.net

10

11  Objects › Ali › House › Car › Tree  Interactions › Ali lives in the house › Ali drives the car Ali Car House Tree lives-in drives Downloaded From: www.bsit.zxq.net

12  People think in terms of objects  OO models map to reality  Therefore, OO models are › easy to develop › easy to understand Downloaded From: www.bsit.zxq.net

13 An object is  Something tangible (Ali, Car)  Something that can be apprehended intellectually (Time, Date) Downloaded From: www.bsit.zxq.net

14 An object has  State (attributes)  Well-defined behaviour (operations)  Unique identity Downloaded From: www.bsit.zxq.net

15  State (attributes) › Name › Age  behaviour (operations) › Walks › Eats  Identity › His name Downloaded From: www.bsit.zxq.net

16  State (attributes) - Color - Model  behaviour (operations) - Accelerate- Start Car - Change Gear  Identity - Its registration number Downloaded From: www.bsit.zxq.net

17  State (attributes) - Hours- Seconds - Minutes  behaviour (operations) - Set Hours- Set Seconds - Set Minutes  Identity - Would have a unique ID in the model Downloaded From: www.bsit.zxq.net

18  State (attributes) - Year- Day - Month  behaviour (operations) - Set Year- Set Day - Set Month  Identity - Would have a unique ID in the model Downloaded From: www.bsit.zxq.net


Download ppt "Downloaded From: www.bsit.zxq.net.  Objective of this course is to make students familiar with the concepts of object-oriented programming  Concepts."

Similar presentations


Ads by Google