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

    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

    The question one must ask what is reusable code? Reusable code is basically the skill to use code that was previously used without any adjustment or modification, and still be able to perform a particular request no matter what code the application is using. Reusability of Code is used everywhere to small businesses to big Corporation, and Firms. Reusability of code is almost inevitable some software is meant to be reused that is a very popular method used in open source software because not all software can be used directly software is different from each other, some have different purpose, different software enables different programs or application to function properly.…

    • 926 Words
    • 4 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

    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

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

    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

    There is one Earth. All people who live on it have to share it, not only with those living today, but with those in centuries to come. What is done today will manifest itself tomorrow, affecting someone, somewhere. Many don’t think about their actions because what they do might not affect them in their own lifetime. As Pope Francis said, “We received this world as an inheritance from past generations, but also as a loan from future generations, to whom we will have to return it!” It is easy to harm the environment because many are ignorant of the consequences of their actions, which have become very routine. Changes in the individual mindset can put into motion a chain reaction. One person can influence many others, and one small change can make a big difference. There have been many figures throughout history that have been great examples of how important it is to respond to the call the Pope has made for environmental action and protection. Some influential activists have been Julia Hill and Wangari Maathai, both being very inspiring through their actions. People should heed…

    • 733 Words
    • 3 Pages
    Good 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

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