Preview

Object-oriented Programming/Event-Driven Programming versus Procedural Programming

Better Essays
Open Document
Open Document
1111 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Object-oriented Programming/Event-Driven Programming versus Procedural Programming
Object-oriented Programming/Event-Driven Programming versus Procedural Programming
Professor
Computer Program Design

Object-oriented Programming/Event-Driven Programming versus Procedural Programming 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. The class I created relates to the real world. My class is made up of computers. It represents all the computers that are made or produced. Some of the attributes from my class are the make, model, processor, storage, mouse, keyboard, graphics, and the RAM of the computer. Some of the methods are updating the computer, changing the RAM, changing the mouse or keyboard, and changing the graphics and storage. The attributes of the computer are what define the object as part of the class. For example, the make could be Apple, HP, or Samsung. If we talk about the model, it could be an Apple iMac, HP Pavilion, or Toshiba Satellite. The processor it needs to run, Intel or AMD. The amount of RAM it has, 4, 8, or 16GB. The size of the storage is it 500GB, 1TB, or 2TB. Does the computer have a wireless mouse and keyboard, or does it have Bluetooth. The computer has methods for updating

You May Also Find These Documents Helpful

  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    Although the details can be quite complex, these details are the basic principles of object-oriented programming.…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    The washing machine sits idle waiting for a command from the user via the buttons (event triggers). It then identifies what button was pressed and then executes the code associated with that trigger. As the dial moves, it will hit the trigger point which will cause the next action however; the user can stop the process immediately with a certain button (trigger). A washing machine cannot assume because the code means that it will always perform the same things. Event driven programming is good as it sits there idle until the event trigger occurs and it is quick to respond to this. Event driven programming is also very simple when it comes to coding as it shows the possible commands for that part of the code, it also allows the user to put a code in without typing which is a lot faster and reduces error.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    • Describe the architectural differences between the object-oriented and structured designs. Which of the designs makes more sense to you? Why?…

    • 760 Words
    • 4 Pages
    Good Essays
  • Good Essays

    D1 requires you to be able to evaluate the suitability of event driven programs for non-graphical applications……

    • 532 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    6 8c Chapter Excercises

    • 515 Words
    • 2 Pages

    In object-oriented analysis each object represents real people, places, events, and transactions (nouns). Unlike structured analysis, which treats data and processes separately, objects include data and processes that can affect the data. A major advantage of O-O designs is that systems analysts can save time and avoid errors by using modular objects, and programmers can translate the designs into code, working with reusable program modules that have been tested and verified…

    • 515 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    concepts of classes, objects, constructors, methods, access control, this keyword, overloading methods and constructors, parameter…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Prg420 Syllabus

    • 1691 Words
    • 7 Pages

    Ramsin, R., & Paige, R. F. (2008, February). Process-centered review of object-oriented software development methodologies. ACM Computing Surveys, 40(1), 1.…

    • 1691 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Event Driven Programming

    • 5596 Words
    • 23 Pages

    14.P1 14.P2 14.P3 14.P4 14.P5 14.P6 14.M1 Explain the key features of event driven programs. Demonstrate the use of event driven tools and techniques. Design an event driven application to meet defined requirements. Implement a working event driven application to meet defined requirements. Test an event driven application. Create onscreen help to assist the users of a computer program. Discuss how an operating system can be viewed as an event driven application.…

    • 5596 Words
    • 23 Pages
    Good Essays
  • Good Essays

    One of the main properties of the classes is inheritance. This property allows us to create new classes from existing classes, retaining the properties of the original class and adding new ones.…

    • 290 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Array Structure Proposal

    • 574 Words
    • 3 Pages

    In this proposal we will focus on the objects and object-oriented programming that will help solve the problem of the Police Department report writing issue. An object doesn’t exist until a case of the class has been formed. When the object is formed, space for the object is allocated in memory. Multiple objects can be created from just one class. “Objects are created from abstract data types that encapsulate data and functions. An object is a software entity that contains both data and procedures” (Gaddis, 2010). “Object-oriented programming (OOP) is a programming paradigm using "objects" – usually instances of a class – consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance” (Wikipedia, 2012). “Objects are created from abstract data types that encapsulate data and functions together” (Gaddis, 2010). Gaddis went on further to say that “An object is a software entity that contains both data and procedures” (Gaddis, 2010).…

    • 574 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    The Object-Oriented Question

    • 4233 Words
    • 17 Pages

    Lefkowitz, S. (1980), Pathological verbalizations of process and reactive schizophrenics as a function of object- and ego-oriented questions and interviewer 's style. PhD dissertation.…

    • 4233 Words
    • 17 Pages
    Powerful Essays
  • Good Essays

    Loreal

    • 485 Words
    • 2 Pages

    1) The programming language used in the Planners Lab is far easier and is very easy to understand.…

    • 485 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of _____________.…

    • 4265 Words
    • 23 Pages
    Satisfactory Essays
  • Powerful Essays

    P1 - Identify the key features of event driven programming such as events, event loops and event handlers…

    • 1240 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Object Oriented Design

    • 263 Words
    • 2 Pages

    The object oriented design to be used CD and DVD media collection system to identify the information about the media. You will need some general information to make the system work correctly.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays