Preview

Reusability of Code

Satisfactory Essays
Open Document
Open Document
808 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Reusability of Code
Edwin Dix Reusability of Code Programing/211 April 25, 2013 Instructor: Craig Kaercher

Object-oriented programming (OOP) and procedural programming are two programming paradigms. Procedural programming is a method of writing software. It is a programming practice centered on the procedures or actions that take place in a program. Object-oriented programming centers on the object. Object-oriented programming creates objects from abstract data types that encapsulate data and functions together (Gaddis 2010). There are many similarities and differences in terms of procedural programming modules and objects in relation to; reusability, security (as in hiding code), and the passing of data within the program itself. Procedural programming was the first of the two and contains within the program one or multiple procedures. These procedures perform their own specific tasks to supplement the program and are centered through models and functions. The procedures use the data items that are not part of the procedure, however; in a procedural program the data items are transmitted to each procedure. As the program becomes larger and more complicated problems can arise as the separation of data and code can become stressed. Procedural programming provides a better use in smaller applications as it is more concise and straightforward. Procedural programming modules and objects are similar in that they use most of the same commands to execute their functions and store their data but also are very different. Procedural modules are easier to use for small specific programs that perform specialized functions. Objects are used for more general operations that show a need for more complex and reusable functions that may require

You May Also Find These Documents Helpful

  • Powerful Essays

    IT/210 Appendix D

    • 453 Words
    • 4 Pages

    Up to this point, you have identified the processes the program must perform, but you have not given any consideration to exactly how the processes work together to solve the problem. At this point, you must generate a description of the processing using pseudocode, a natural language description of the processing the application must perform.…

    • 453 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Procedural language is used for developing simple applications. The languages that use the procedural programming are Pascal and C languages. Some of the benefits of the procedural programming are: easy to read program code, easily maintainable program code as various procedures can be debugged in isolation, code is more flexible as you can change a specific procedure that gets implemented across the program.…

    • 337 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    While making a program in .NET for commercial usages, there are many methods which are used to prevent reverse engineering and unauthorized usage of that particular program. While keeping the code 's functionality intact, the obfuscation methodology changes the coding in such a way that it becomes quite difficult even with tools to reverse engineer. Remember it becomes difficult not impossible to reverse engineer an obfuscated code. There are numerous ways and means to…

    • 793 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming? Under what circumstances is object-oriented programming best suited? Under what circumstances is procedural or algorithmic programming best suited?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    This paper will discuss the difference between procedural modules and object-oriented methods. How both methods work and some of the pro cons between the two methods.…

    • 926 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    here is for the specter of a quiz to always be hanging over the student where he knows he…

    • 83928 Words
    • 594 Pages
    Powerful Essays
  • Good Essays

    Nt1310 Unit 7 Week 7

    • 594 Words
    • 3 Pages

    The information that was posted gave in your assignment said that you have learned skills the following program data session programming structure named as…

    • 594 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    In a procedural language you tell the computer each step to perform. The computer performs those steps and, if they are well written, you will end up with our desired…

    • 383 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    It/210 Course Design

    • 2571 Words
    • 11 Pages

    Course Design Guide IT/210 Version 5 2 Week One: Introduction to Software Development Details Due Points Objectives 1.1 Describe the importance of using a structured, modular approach when creating program requirements, design, and code. 1.2 Identify how a computer processes and stores data. Course Preparation Read the course description and objectives.…

    • 2571 Words
    • 11 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A long time ago software developers or programmers did not use reusable code because there were not too many reliable, and efficient software or application software available. Therefore, whenever a big project comes forth the software developers or programmers tend to start building from the ground up. After many years of building software from the ground up for each project or request, the software developers had come to an agreement that building software from ground up is very costly and time consuming, especially for an inexperience software developer. Therefore, the software developers or engineers had come to conclusion that they need to develop and implement a platform where different software developers can benefit from each others codes or components.…

    • 671 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    It210 Syllabus

    • 2333 Words
    • 10 Pages

    Objectives 1.1 Describe the importance of using a structured, modular approach when creating program requirements, design, and code. 1.2 Identify how a computer processes and stores data. Read the course description and objectives. Read the instructor’s biography and post your own. Read Appendix A. Read Ch. 2 of Prelude to Programming. Read Ch. 3 of Prelude to Programming.…

    • 2333 Words
    • 10 Pages
    Good Essays
  • Good Essays

    CHAPTER11

    • 2591 Words
    • 18 Pages

    Which line of code will declare and create an instance of a new object variable called…

    • 2591 Words
    • 18 Pages
    Good Essays
  • Good Essays

    To be a good programmer you have to be organized and do a lot of thinking when it comes to structures and getting the correct…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    PRogram 1

    • 313 Words
    • 2 Pages

    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.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays