Practical Approach to Object Oriented Programming By M Usman

This forum is aimed at students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems.
Forum rules
This forum aims to provide material related to computer programming languages, tools and designs.

Re: Practical Approach to Object Oriented Programming By M Usman

Unread postby Danyal Ijaz » Fri May 15, 2015 10:43 pm

Name:Danyal Ijaz
CMS: 14046
Section: A
Practical approach to Object Oriented Programming
Abstract:
Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.
Introduction:
The programming challenge was seen as how to write the logic, not how to define the data. Object-oriented programming takes the view that what we really care about are the objects we want to manipulate rather than the logic required to manipulate them. Examples of objects range from human beings (described by name, address, and so forth) to buildings and floors (whose properties can be described and managed) down to the little widgets on a computer desktop (such as buttons and scroll bars).
The first step in OOP is to identify all the objects the programmer wants to manipulate and how they relate to each other, an exercise often known as data modeling. Once an object has been identified, it is generalized as a class of objects, which defines the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as a method. Objects communicate with well-defined interfaces called messages.
User avatar
Danyal Ijaz
 
Posts: 4
Joined: Fri May 15, 2015 9:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Practical Approach to Object Oriented Programming By M Usman

Unread postby Danyal Ijaz » Fri May 15, 2015 10:44 pm

Name:Danyal Ijaz
CMS: 14046
Section: A
Practical approach to Object Oriented Programming
Abstract:
Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.
Introduction:
The programming challenge was seen as how to write the logic, not how to define the data. Object-oriented programming takes the view that what we really care about are the objects we want to manipulate rather than the logic required to manipulate them. Examples of objects range from human beings (described by name, address, and so forth) to buildings and floors (whose properties can be described and managed) down to the little widgets on a computer desktop (such as buttons and scroll bars).
The first step in OOP is to identify all the objects the programmer wants to manipulate and how they relate to each other, an exercise often known as data modeling. Once an object has been identified, it is generalized as a class of objects, which defines the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as a method. Objects communicate with well-defined interfaces called messages.
User avatar
Danyal Ijaz
 
Posts: 4
Joined: Fri May 15, 2015 9:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Practical Approach to Object Oriented Programming

Unread postby zia khan » Wed May 20, 2015 7:28 pm

RAJA ZIA UR REHMAN
14310
PRACTICAL APPROACH TO OBJECT ORIENTED PROGRAMMING

Object oriented programming is a programming language model that is organized around the objects rather then any actions. A program has been viewed as a logical procedure that takes input data, and processes hence output data. Object oriented programming takes the view that what ewe really care about are the objects we need to manipulate rather then the logic required to manipulate them.
First step in OOP is to identify all the objects the programmer needs to manipulate and how they relate to each other, an exercise commonly known as data modelling .Once an object is identified it is then generalized as a class of objects which defines the kind of data it contains any other logic sequences are known as method. Objects communicate with well defined interfaces are known as messages. Three important benefits of object oriented programming is as follows
1. The concept of a data class makes it possible to define subclasses of data objects that share some or all of the main class characteristics. Hence reduces developmental time and precise coding.
2. Since a class defines only the data it needs to be concerned .This characteristics of data hiding provides greater system security and avoids unintended data corruption.
3. The definition of a class is reusable not only by the program for which it is initially created but also by other object oriented programs.
4. The concept of data classes allows a programmer to create any new data type that is not already defined in the language itself.
Simula was the first object oriented programming language . JAVA, PYTHON, C++, VISUAL BASIC.NET AND RUBY are the most popular OOP languages used very commonly. The java programming language is designed especially for use in distributed applications on corporate networks and the internet. Ruby is used in many web applications as well, CURL,SMALLTALK,DELPHI AND EIFFEL are also examples of OBJECT ORIENTED PROGRAMMING LANGUAGES.
User avatar
zia khan
 
Posts: 3
Joined: Wed Apr 01, 2015 6:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Practical Approach to Object Oriented Programming By M Usman

Unread postby 14600 » Thu May 21, 2015 7:42 am

:SALAM:
Object-oriented programming (OOP) is a programming language model organized around objects rather than actions and data rather than logic. There was a challenge for a programmer that how to design a logic for a solution but not how to define that data. But in object oriented language we care about the object and not about the logic which manipulate this object.
The first step in object oriented program is to identify all the objects the programmer wants to manipulate and in which way they are related to each other, and there was an exercise on this named as the modeling. it is generalized as a class of objects, which defines the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as a method. Objects communicate with well-defined interfaces called messages.
User avatar
14600
 
Posts: 3
Joined: Sat Mar 28, 2015 4:05 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Practical Approach to Object Oriented Programming By M Usman

Unread postby Aamir mujahid » Fri May 22, 2015 8:21 pm

Modern object-oriented programming languages support many techniques that simplify
the work of a programmer. Among them is generic types: the ability to create generic
descriptions of algorithms and object structures that will be automatically specialised by
supplying the type information when they are used. At the same time, object-oriented
technologies still suffer from aliasing: the case of many objects in a program's memory
referring to the same object via different references.
As computers grow in computational power, so does the complexity of the software that
comes with them. To help manage the growing size of software development projects,
researchers developed the concept of object-oriented programming. Booch [Boo91]
describes object-oriented programming as::
Object-oriented programming is a method of implementation in which pro-grams are organised as cooperative collections of objects, each of which
represents an instance of some class, and whose classes are all members of a
hierarchy of classes united via inheritance relationships.
User avatar
Aamir mujahid
 
Posts: 3
Joined: Sun Mar 29, 2015 6:42 am
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Computer Sciences & Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron