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