CSE Object Oriented Programming Report
CSE Object Oriented Programming Report
org
A
Seminar report
On
Object Oriented Programming
Submitted in partial fulfillment of the requirement for the award of degree
of Computer Science
www.studymafia.org www.studymafia.org
www.studymafia.org
Acknowledgement
I would like to thank respected Mr…….. and Mr. ……..for giving
me such a wonderful opportunity to expand my knowledge for my own
branch and giving me guidelines to present a seminar report. It helped me
a lot to realize of what we study for.
Secondly, I would like to thank my parents who patiently helped me as i
went through my work and helped to modify and eliminate some of the
irrelevant or un-necessary stuffs.
Thirdly, I would like to thank my friends who helped me to make my
work more organized and well-stacked till the end.
Next, I would thank Microsoft for developing such a wonderful tool like
MS Word. It helped my work a lot to remain error-free.
Last but clearly not the least, I would thank The Almighty for giving me
strength to complete my report on time.
www.studymafia.org
Preface
I have made this report file on the topic Object Oriented Programming;
I have tried my best to elucidate all the relevant detail to the topic to be
included in the report. While in the beginning I have tried to give a
general view about this topic.
My efforts and wholehearted co-corporation of each and everyone has
ended on a successful note. I express my sincere gratitude to
…………..who assisting me throughout the preparation of this topic. I
thank him for providing me the reinforcement, confidence and most
importantly the track for the topic whenever I needed it.
www.studymafia.org
1. Introduction
Object-Oriented Programming (OOP) is the term used to describe
a programming approach based on objects and classes. The object-
oriented paradigm allows us to organise software as a collection of
objects that consist of both data and behaviour. This is in contrast to
conventional functional programming practice that only loosely
connects data and behaviour.
Classes
Objects
Classification
Polymorphism
Inheritance
What is OOP?
OOP is a design philosophy. It stands for Object Oriented Programming.
Object-Oriented Programming (OOP) uses a different set of
programming languages than old procedural programming languages (C,
Pascal, etc.). Everything in OOP is grouped as self sustainable "objects".
Hence, you gain reusability by means of four main object-oriented
programming concepts.
www.studymafia.org
In order to clearly understand the object orientation model, let’s take your
“hand” as an example. The “hand” is a class. Your body has two objects
of the type "hand", named "left hand" and "right hand". Their main
functions are controlled or managed by a set of electrical signals sent
through your shoulders (through an interface). So the shoulder is an
interface that your body uses to interact with your hands. The hand is a
well-architected class. The hand is being reused to create the left hand and
the right hand by slightly changing the properties of it.
What is an Object?
An object can be considered a "thing" that can perform a set of related
activities. The set of activities that the object performs defines the object's
behavior. For example, the Hand (object) can grip something, or a Student
(object) can give their name or address.
Class A:
qualification(Student, 'A') :-
passed(Student, finalTest).
passed(Student, finalTest) :-
passed(Student, exercise1),
passed(Student, exercise2).
Class B:
passed(Student), finalTest) :-
passed(Student, exercise4).
módulos lógicos
módulos lógicos en objetos
en métodos
...
a meta-object pass(Student, test):- pass(Student, ex1),
pass(Student,ex2).
aprobado(Alumno,prueba):-aprobado(Alumno,ex4).
addKnowledge: (ap1 plus: ap2)
pass(Student, test):-
variable ap1 pass(Student, ex1), aprobado(Alumno,ex2).
finalTest({anStudent}, unpassed),
www.studymafia.org
exercises({anStudent}, passed).}
5. Conclusions
In this paper the basis for the development of software
intelligent agents from the programming point of view has been
presented. Two alternatives were presented. The difference
between the presented options is based on the typed
characteristics of programming languages used. Smalltalk
allows the easy usage of dynamic structures such meta-objects.
Java in contrast involves code preprocessing and the necessity
to consider types compatibility.
On the other hand, the fact of that the Prolog interpreter was
implemented in the proper language allows extensions to this
interpreter. These extensions can supports the management of
mental attitudes.
www.studymafia.org
6. References
1. www.google.com
2. www.wikipedia.org
3. www.studymafia.org
4. www.pptplanet.com