Experiment 2 Printer Simulation: FIFO(4 hours)
Prerequisites: Students should have mastered the following prerequisite skills.
- Inheritance - Declaring and defining derived classes
- Queues - Programming queue structure
Goals: This assignment is designed to reinforce the student’s understanding of queues.
Outcomes: Students successfully completing this assignment would master the following outcomes.
- Program a queue data structure and use it in creating a simulation
- Use inheritance appropriately to create a specialized version of an existing class
Background From store-and-forward queues in network routers to the facilitation of breadth-first searches in graph algorithms, queues have many important applications in Co