Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 11 Weeks Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Homework 5Â C++ Programing Homework Help,Â
CS215 Intermediate C++ Programming
Â
Home Work 5(This lab was originally designed by Professor Paul Thor)Objective -The objective of this lab assignment is to write and test a complete OOP.This programwill implement a class inheritance hierarchy andvirtualfunctions.It will give you practice incombining two important aspects of OOP – namely,inheritanceandpolymorphism– in a singleprogram.Specifications -This assignment will require you to use the C++ language to implement a simulationproblem -- an area that OOP is especially adept at handling.Specifically, you are to simulate anEntertainment Media Collection that contains four different kinds of media:1) AudioCassette, 2)AudioCD, 3) VideoVHS and, 4)VideoDVD.The user of the program will first give the mediacollection a name, and then will be able to,1) Add a new media item to the collection, 2) Delete amedia item from the collection, 3) Play a media item, 4) Fast-forward a media item to its end, 5)Rewind a media item to its beginning, 6) List the detailed information of a selected media item in thecollection, 7) List all media titles, 8) Calculate the total investment in the media collection, 9)Calculate total playing time of the collection and 10) Terminate the simulation.The simulationcontinues until the user terminates it.This program will be interactive and menu driven.Your menu should be displayed as shown below:Welcome to <the interactively-entered media collection name> Media Collection MenuSelect from the following choices:1. Add Media Item to Collection2. Delete Media Item from Collection3. Play a Selection4. Fast Forward a Selection5. Rewind a Selection6. List a Specific Media’s Details7. List All Media Titles8. Calculate Media Collection Investment9. Calculate Total Playing Time of Collection10.Terminate the SimulationEnter your Selection:
Attachments: