procedural and objecct oriented programing.docx

procedural and objecct oriented programing.docx

Designing and coding a procedure, module, or object can be complex and time consuming. Once these elements of a computer program are working correctly, it makes sense to use the code as often as practical. Code reusability has become a valuable part of adding efficiency to computer programming.

Write a 2- to 3-page paper that compares and contrasts procedural programming modules and objects. In your paper, consider the following:

·  Reusability

·  Security in terms of hiding code

·  Passing of data versus data encapsulation

·  How object-oriented methods are similar to procedural modules

·  Code reuse in more than one program

Format your paper consistent with APA guidelines.

Note. This assignment is cumulative and the information and results will be used in the following weeks.

 

 

 

 

 

 

 

Solution Preview

Procedural programming involves creation of a sequential program that helps the application through a series of instructions. Each single direction is performed in order.  This type of programming emphasizes on the idea that all algorithms are implemented with functions and data that the programmer can access and be able to change it. Examples of procedural programs are: C, Pascal, FORTRAN, and VB (Jaspreet & Pinkiparampreet, 2010). On the other hand, object oriented programming is to some extend similar to the way real world works; that is it is analogous to human brain. In this type of programming, each

Total Word Count:638words