Preview

Programming Solution

Good Essays
Open Document
Open Document
541 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Programming Solution
Reusability of Code
PRG/211 – Algorithms and Logic for Computer Programming
Submitted to: Professor Christopher Scott
Christopher Dew

Reusability Code

Object-oriented programming (OOP) and procedural programming are two of the programs used for writing software and moving objects. 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, hiding code, and the passing of data within the program itself.
Code Reusability Code reusability starts from the design phase where the code will be designed to inherently reusable. However, to achieve such goal, the proper framework should be in place for effective reuse where components are properly standardized, available for release and documented for reuse. If the intention is to build a framework or utility that is designed for reuse it is important to create good releases, versioning and documentations process to increase the chance of having this components to be reusable in the future. It’s also important to define the components within the application that can be reusable for other applications and also available for integration with other systems,
Procedural Programming 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



References:

You May Also Find These Documents Helpful

  • 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
  • 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
  • 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

    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
  • Good Essays

    “New York Freelance Technology is a web based organization affiliated with Montana Freelance Technology and GMR Web Services that continues to give you quality hosting at an affordable cost.” (New York Freelance Technology, 2011) Not only does NY Freetech perform web specific tasks, they also handle numerous person to person tasks such as custom computer building, videography and DVD authoring. Their web related tasks include web design, web development, graphics design, web hosting and DNS (domain name system). One thing NY Freetech does not have is a support forum for their customers. To contact customer service, currently you have to email them and wait for a reply. What is needed is a support forum. Customers or prospect customers can post in the forums and ask questions and the administrators can answer the questions. If other customers or users know the answer to the question, they can also answer. That will help the customers questions get answered faster. Upon reviewing the company website, I noticed there was no support forum. There is a small FAQ (frequently asked questions) but no forum. The personnel involved in the project have a certain role they must play, the steps of the program development cycle must be followed and the project should be performed in a modular fashion. For every task performed in any organization, personnel involved have roles they must play.…

    • 930 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    code program

    • 317 Words
    • 2 Pages

    (Compilation screenshot) - Insert here a screenshot of the result of compiling the above source code: NetBeans IDE 7.3.1 compiles but it did not go to the screen so I could see it, this is why I sent you a message yesterday to let you know this. But the program did run without any problems.…

    • 317 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Programming Homework

    • 366 Words
    • 2 Pages

    Write a program that would calculate and display the results for the multiplication table for values ranging from 1 to 100.…

    • 366 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Programming

    • 3038 Words
    • 13 Pages

    2. Each of the flowchart segments in Figure 3-35 is unstructured. Redraw each flowchart segment so that it does the same thing but is structured.…

    • 3038 Words
    • 13 Pages
    Good Essays
  • Good Essays

    Reusability of Code

    • 511 Words
    • 3 Pages

    Object-oriented programming and procedural programming are two programming paradigms that distribute common attributes as well as various differences. A procedure is an additional name for a routing, technique or function. Procedures and objects both use algorithms to develop the system and any logical calculation that is necessary for the program. A function is divided from variables and data compositions. Procedures are intended to run the code in a precise order, while OPP merges data with the function in the function changes the data that is bound to it into a unit identified as an object. Other useful features such as abstraction, encapsulation, and inheritance can be achieved while working with OPP.…

    • 511 Words
    • 3 Pages
    Good 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
  • Satisfactory Essays

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

    • 584 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    There are many advantages of using Object-oriented Programming (OOP) over Procedural Programming (PP). When using inheritance, you can develop new classes more quickly by extending existing classes that already work; you need to concentrate only on new features added by the new class. Also, whether you instantiate objects from classes you have created or from those created by others, you save development time because each object automatically includes appropriate, reliable methods and attributes. It also reduces the cost of development. “The reuse of software also reduces the cost of development. Typically, more effort is put into the object-oriented analysis and design, which lowers the overall cost of development” (Advantages and Disadvantages of Object-Oriented Programming (OOP)). Faster development allows more resources to be used in the verification of the software.…

    • 1111 Words
    • 3 Pages
    Better Essays
  • Satisfactory Essays

    Lecture - 5 Revisiting OOP CS223 CS223- Object Oriented Programming Spring 2012 Dr. Fawad Hussain What we have done so far? What is object-Oriented Programming? What is an object? What is a class? What are attributes?…

    • 935 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Study Paper

    • 7107 Words
    • 29 Pages

    Object-oriented programming is a method of implementation in which programs are organized as cooperative collections of objects, each of which represents an instance of some class, and whose classes are all members of a hierarchy of classes united via inheritance relationships.…

    • 7107 Words
    • 29 Pages
    Powerful Essays