AllFreePapers.com - All Free Papers and Essays for All Students
Search

Programming Solution Proposal

Autor:   •  November 12, 2013  •  Essay  •  534 Words (3 Pages)  •  1,203 Views

Page 1 of 3

The two types of programming languages that will be compared in this paper are Procedural and Object-Oriented. The main difference between Object-oriented and Procedural programming is for the object-oriented programing to cut down on tasks applied into objects, which encapsulate the methods in the data; and for the programming that is procedural, it uses a top down design that breaks down a problem into sub problems or procedures. Interacting on just an objects methods the information details are hidden from the outside world.

Procedural program consist of many sequences of statements that are made up of assignments, tests, loops, and parts of sub procedures. The writing of similar code over and over again will also increase the amount of mistakes and the amount of time to finish a program. Whereas using OOP you at least eliminate any GUI repeatable code or loops of the same or similar syntax. Top down Design is used in procedural programming where you start at the top and work your way down. Top down Design you begin with a procedure by systematically breaking the procedure down piece by piece until the problem is straight forward enough that it can be solved by the actual sub problem. Problems usually occur in this type of programming because if you make any change to the top part of the main procedure everything below that procedure is affected. Object Oriented Programming is used as a solution to this type of programming.

The object-oriented program designing technique uses the top down design to move data types with the combined modules and structure design. Object-oriented programs are designed around the concept of an object. Object-oriented programming supports several characteristics directly. Message, method, object, and class are the attributes or entities in the object-oriented programming. Some benefits are included in the object-oriented programming like reusability of code, which helps programmers reach their goals deadlines

...

Download as:   txt (3.1 Kb)   pdf (65.7 Kb)   docx (10.8 Kb)  
Continue for 2 more pages »