answersLogoWhite

0

Object Oriented programming is a superset of structured programming. Structured programming is as follows:

--Program start

var

var

var

function { ... }

function { ... }

function { ... }

main { ... }

--- Program End

You have units of code, which operate on variables, and are called in reference to those variables, to follow a structure acting on those variables.

Object oriented is as follows:

--- Program Start

object {

var

var

function { ... }

function { ... }

function { ... }

}

var

var

function { ... }

main { ... }

--- Program end

Variables can be objects, which have their own data and functions. Think like C and structures, except structures can have functions "in them" which operate specificly on their own data. Thus, instead of referencing a function (a block of code) and telling it to operate on a variableq you reference an object and tell it to perform an operation, most often on itself, specific to itself, using its own data. Instead of creating units of data to pass to functions which operate on them, you create objects and have them perform operations [on themselves].

Functions attached to objects don't need a specific name; rather than task_struct_sort_children(task) and acl_rules_struct_sort_children(task), you can have task and acl_rules with task->sort_children() and acl_rules->sort_children(), which have completely different specific function but the same logical function, and operate on the specific instance of the object.

structured oriented programming and object oriented programming have some features of similarities, but the distinction between the two is that the former relies to the GOTO statements thus the developer has a tendency to confuse while the latter is subgrouped from objects, classes, methods and hierarchies.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

What is full form of abbrevation OOAD?

Object Oriented Analysis & Design


Define structure oriented programming language?

A structure oriented language is one, which should the following structure as Documentation Section, Link section, Definition Section, Global declaration section and Functions(including Main functions) in an hierarchical order. This order cannot be interchanged, but structure oriented language like C can have these sections as optional. Correct me if am wrong, Neela.T


What is an object in c?

C does not contain any built in constructs for object oriented programming. Methods and Data are generally not stored in an object structure in c.


What does oop stand for?

OOP (Object Oriented Programming) is the implementation phase of OOD. OOD (Object Oriented Design) is a philosophy that considers things as objects that have attributes and methods. There can be public attributes and methods, and there can be private attributes and methods. The public interface is used to design the relationship between the object and its users, while the private interface is used to design the implementation of how that object works. If done correctly, the private implementation can be changed without requiring any change to the public interface or to its users. Often, a new object can be defined as a derivation of some other object, such as an officer is an employee. The derivation would add the necessary public and private aspects of an officer while inheriting the prior implementation of the public and private aspects of an employee.


The three basic principles of object-oriented design?

Encapsulation,Inheritance and Polimorphisim...

Related Questions

What is full form of abbrevation OOAD?

Object Oriented Analysis & Design


Why we are specifying C programming as structure oriented program?

Hint. Is not object oriented.


What has the author David A Taylor written?

David A. Taylor has written: 'Object-oriented technology' -- subject(s): Database design, Object-oriented databases, Development, Computer software 'Object-oriented information systems' -- subject(s): Management information systems, Object-oriented databases, System design


What are the types of high level language?

Arabic and Chinese


How the implementation and design of object oriented database system is differen from non object oriented database system?

DBMS Deesign implementation


What are the topics on object oriented analysis and design?

exam registeration


What the difference between c and c plus plus?

The fundamental difference is that in C++ object-oriented programming (OOP) was added. C is a procedural language (that means. top-down structure design), where as C++, which is an extension of C itself, is an object oriented language.


What is difference between Function Oriented Design and Obeject Oriented design?

In function oriented design a problem is thought in form of data and functions to manipulate those data. Both entities remain independent of each other. On the other hand in object oriented design a problem is thought in form of an encapsulated entity where both data and functions stay together in form of an object. Following link has a nice collection of articles of object oriented programming: http://cs-fundamentals.com/java-programming/java-programming-tutorials.php


What has the author Stephen Gilbert written?

Stephen Gilbert has written: 'Object-oriented design in Java' -- subject(s): Java (Computer program language), Objektorientierte Programmierung, Java (Programmiersprache), CD-ROM, Systementwurf, Object-oriented programming (Computer science) 'Object-oriented design in Java' -- subject(s): Java (Computer program language), Object-oriented programming (Computer science)


Where can one find tips on object oriented design?

Object-oriented design is a way of programming software by planning a system of interacting objects. There are many discussion groups and forums on the internet where programmers exchange tips and experiences.


What have been the strongest influences on programming language design over the past 50 years?

Object oriented analysis and design.


Define structure oriented programming language?

A structure oriented language is one, which should the following structure as Documentation Section, Link section, Definition Section, Global declaration section and Functions(including Main functions) in an hierarchical order. This order cannot be interchanged, but structure oriented language like C can have these sections as optional. Correct me if am wrong, Neela.T