This website uses cookies to ensure you have the best experience. Learn more

Object Oriented Vs. Procedural Programming Essay

734 words - 3 pages

Object-Oriented vs. Procedural Programming

Whether it is Object-Oriented or Procedural Programming, programming in general is dealing with or looking at data and the code that can and will change the data (output) in some way. Object-Oriented vs. Procedural Programming can be said to be ways we handle the coding of the data – how it is written perhaps. We need to apply different thinking and strategies when we write code, and it can be either Object-Oriented or Procedural Programming.
In Procedural Programming, we group our code into procedures, hence the name Procedural Programming. These procedures are instructions on how we use and manipulate the data. With Procedural Programming ...view middle of the document...

Data in objects are attributes and procedures and functions in an object are methods. Object Oriented Programming combines methods called encapsulation and can hide data of an object from other objects.
One of the differences with Procedural Programming and Object Oriented Programming is Procedural Programming uses shared data and Object Oriented Programming store data in objects (rather than share). One of the drawbacks with Procedural Programming is when you need to change a shared variable, you have to change it everywhere referenced in the code, and that can be timely and complicated. With Object Oriented Programming, if we need to make the same change, all we have to do is change the functions that access the variables. Using Object Orient Programming can save development time because you can reuse code and classes can be used and tested independently. Object Oriented Programming is a collection of discrete objects that are self-contained collections of data structures and routines that interact with other objects. With Procedural Programming, the basic programming element is the procedure (a named sequence of statements, such as a routine, subroutine, or function).
Writing code is like writing a set of instructions. If you...

Other Essays Like Object-Oriented vs. Procedural Programming

Review Questions: Chapter 1

2512 words - 11 pages – object-oriented database systems are compatible with programming languages such as C++ and Java, and the DBMS software automatically performs any necessary conversions. Hence, a complex object in C++ can be stored permanently in an object-oriented DBMS. Such an object is said to be persistent, since it survives the termination of a program execution and can later be directly retrieved by another C++ program. • Meta-Data – the information

The Social Systems: End Users, Managers and It Professionals

2555 words - 11 pages functions. In addition, programmers can create relationships between one object and another”. For example, objects can inherit characteristics from other objects. One of the principal advantages of object-oriented programming techniques over procedural programming techniques is that they enable programmers to create modules that do not need to be changed when a new type of object is added (Webopedia). PARTICIPATORY DESIGN According to

Unit 1 Reasearch

700 words - 3 pages Visual Basic). Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.According to its authors, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp. It supports multiple programming paradigms, including functional, object-oriented, and imperative. It also has a dynamic type system and automatic memory management. 2000’s

Database Environment

2977 words - 12 pages /Non procedural ▪ Can be used on its own to specify complex database operations. ▪ DMBSs allow DML statements to be entered interactively from a terminal, or to be embedded in a programming language. If the commands are embedded in a general purpose programming language, the statements must be identified so they can be extracted by a pre-compiler and processed by the DBMS. Low Level/Procedural ▪ Must be embedded in a

Database Management System

1543 words - 7 pages represents a data field, and each row a data record.4.Object-oriented Databases: An object oriented database is a collection of objects whose behavior and state, and the relationships are defined in accordance with object oriented concept.Database maintenance: The databases is of an organization need to be updated continually to reflect new business and other events.Types of database: (Operational): These databases store detailed data needed to support

Object Oriented Analysis and Design

1351 words - 6 pages applications and he felt that a language like SIMULA would provide a good way for non-specialists to create these applications. He sold his vision to Xerox Parc and in the early 1970s, a team headed by Alan Kay at Xerox Parc created the first personal computer called the Daybook. Smalltalk was the object-oriented language developed for programming the daybook. It was a simulation and graphics-oriented programming language. Smalltalk exists to this day

Understaznding Peter Chen

652 words - 3 pages number of diagrams that attempt to show data structure in the form of boxes, diamonds and circles. Entity-Relationship Data Model (Chen, 1976) Object-Oriented data Model (OODM) adopted many features that were developed for object oriented programming languages. These include objects, inheritance, and several difference forms of an object. Our book indicates that an “OODM reflects a very different way to define the use of entities. Unlike


5462 words - 22 pages flexible services being provided by such industries as banking, telecommunications, and cable television. For the software engineer, object-oriented technology encompasses object-oriented programming languages, object-oriented development methodologies, management of object-oriented projects, object-oriented computer hardware, and object-oriented computer aided software engineering, among others. It is not surprising, therefore, that there is

Web Database Development

4672 words - 19 pages types of databases used after the ones mentioned earlier are relational and object-oriented databases. Relational databases store data in a set of related tables. The name is justified by the way it works. In relational databases, tables are connected by “joining common data in the fields of record of different tables” ((Parsons & Oja, 2011). Some common examples are Microsoft Access, Microsoft SQL Server, IBM DB2 and MySQL. On the other

History Of Database

6993 words - 28 pages in object oriented databases where users could define their own methods of access to data and how it was represented and manipulated. This coincided with the introduction of Object Oriented Programming languages such as C++ which started to appear in industry at the same time.By the start of the 1990's the first Object Oriented Database Management Systems had started to appear from companies like Objectivity. These allowed users to create database

Hostel Management System

4283 words - 18 pages is the smallest testable part of software. It usually has one or a few inputs and usually a single output. In procedural programming a unit may be an individual program, function, procedure, etc. In object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class. (Some treat a module of an application as a unit. This is to be discouraged as there will probably be many

Related Papers

Programming Methods Essay

967 words - 4 pages First Name, Teacher Middle Initial, Employee ID, Department Name, Department Number, Qualifications, Address, Date of Birth, Marital Status and Phone Number. The entity Course with have the attributes Class ID, Class Name, Fees and Course Limit Size. Computer programmers use different models or paradigms to construct their programs. The two main models are procedural programming and object-oriented programming. Procedural programming

Legal And Technical Report Writing And Presentation

902 words - 4 pages data from many positions. Reference Barone, L. M., Marinari, E., Organtini, G., & Ricci-Tersenghi, F. (2014). Scientific programming : C-language, algorithms and models in science, 3rd Edition, New Jersey: World scientific Joseph, S. (2014). Procedural programming vs object oriented programming. Available at Retrieved 2013-08-19.

Python Vs. Php Vs. Ruby Essay

1656 words - 7 pages . Paradigms. A programming paradigm is a fundamental style of computer programming. There are four main paradigms: object-oriented, imperative, functional and declarative. All three scripting languages support multiple paradigms and are object-oriented and functional. Python and Ruby are primarily object-oriented yet compatible with procedural methodology. Ruby supports imperative and reflective styles. Python also supports the imperative

Programing Chapter 1 Essay

1620 words - 7 pages company or organization to use.  F A flowchart is an English-like representation of the logical steps necessary to solve a problem.  T An infinite loop is a flow of program logic that repeats and never ends.  F Alan Turing is often regarded as the first programmer.  T Programmers can use either procedural programming or object-oriented programming to develop programs.  A _____data items may involve organizing or