answersLogoWhite

0


Best Answer

Object oriented focuses on treating variables as objects that have the ability to perform certain tasks. Procedure oriented uses procedures (functions) to perform tasks on variables. For example, if you were writing a program for a DVD rental store:

Object Oriented:

thisdvd.assignTitle("Lethal Weapon");

thisdvd.rentTo("John Smith");

Procedure Oriented:

String thisdvdnumber = 123;

rentDvd(thisdvdnumber, "John Smith");

In the first case, you call functions that belong to object "thisdvd", like assignTitle(), rentTo(), etc. In the second case, you create a variable "thisdvdnumber", then call function "rentDvd()" and tell it which DVD to rent and to whom by passing those variables to it.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between object oriented approach and procedure oriented approach?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between oriented and orientated?

The difference is that Americans generally say "oriented," while the British say "orientated." It means the same in either case.


What is the difference between cc plus plus and java?

C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.


Written list of the differences between the operations approach and the behavioral sciences approach?

The operations approach is a production oriented area of management. It helps to improve efficiency, improve quality and cut wastes. Behavioral sciences approach is a humanistic approach that deals with human relations movement.


What is difference between problem oriented and machine oriented languages?

machine oriented language: A programming language designed for use on specific class of computers. problem oriented language: A language whose statement resemble terminology of the user. Thanks


What is the difference between procedure-oriented and problem-oriented in C language?

C is neither procedure-oriented nor problem-oriented. C is a structured, general purpose programming language. Procedure-oriented programs are distinct in that code jumps around -- a lot. They do not have structured loops nor do they have procedure calls (subroutines, functions or procedures), but they do make prevalent use of jump or goto statements. As a result, procedure-oriented programs are often called "spaghetti code" due to the difficulty in both reading and maintaining the program. Machine code and assembly language are both examples of procedure-oriented languages. Although you could theoretically write a C program using nothing but procedural programming methods, the resultant spaghetti code will be extremely difficult to read and maintain. Imagine if you couldn't use for(), while() and do..while() loops, and couldn't call any functions, not even the built-in functions. You would basically have nothing more than a single main() function with all code contained therein. Even multiple statements enclosed in braces would not be permitted in procedural-programming. Problem-oriented programming languages are languages tailored to a particular application. Although it is possible to create a problem-oriented language within C, as a superset of C for instance, C itself is general purpose.

Related questions

What is the difference between structured oriented programming procedure and oriented programming?

LOTTA


What is the difference between gpss and simscript?

Gpss and simscript is the difference between gpss and simscript::: simscript:event oriented and gpss:transaction flow oriented.


What is the difference between egoism and altruism?

The first is self oriented, the second is other oriented.


What is the different between c and c plusplus?

C is a procedure oriented programming and C++ is a object oriented programming.C++ is a superset of C.


What is the difference between general and specific task oriented rubric?

The difference between generic and specific task oriented rubric is that whereas one is holistic, the other one is analytic. The generic oriented rubric is holistic while the specific task oriented is analytic.


What is the difference between java and object oriented programming?

java is a programming language/platform that embodies object oriented programming concepts. The question of what is the difference is like asking what is the difference between cars and a Volvo.


What is the difference between bsit and bscs degrees?

The difference between the BSIT and BSCS is the kind of units covered. Whereas the BSIT is more of theoretical oriented, the BSCS is technical oriented.


What is the difference between teaching approach and techniques?

It is the difference between strategy and tactics. The approach defines goals, and the techniques describe methods.


What is difference between System Analysis approach and UML approach?

i want it


What is the difference between the Burch procedure and the Marshall-Marchetti-Krantz procedure?

The major difference between these procedures is the method for supporting the bladder


What is the difference between oriented and orientated?

The difference is that Americans generally say "oriented," while the British say "orientated." It means the same in either case.


What is the difference between a patient day sheet and procedure day sheet?

what is the difference between a patient day sheet and a procedure day sheet.