For this assignment, Imagine people entering a Queue or a Line and wait for a service, and leaves the Queue or Line after getting the service. Implement in C++ a QueueADT that does the following: 1. gets the input ( person's first name) from the user (from the keyboard) 2. inserts (represents as if the person is entering a queue or to wait in line for a service) the first name into the Queue (your Queue ADT must be able to have a maximum of 20 names) 3. your QueueADT must have the behaviors of inserting, removing, and retrieving & displaying the Queue on the screen after each event (either entry of a name into the queue, OR removing name of the person leaving from the queue.
For this assignment, Imagine people entering a Queue or a Line and wait for a service, and leaves the Queue or Line after getting the service. Implement in C++ a QueueADT that does the following: 1. gets the input ( person's first name) from the user (from the keyboard) 2. inserts (represents as if the person is entering a queue or to wait in line for a service) the first name into the Queue (your Queue ADT must be able to have a maximum of 20 names) 3. your QueueADT must have the behaviors of inserting, removing, and retrieving & displaying the Queue on the screen after each event (either entry of a name into the queue, OR removing name of the person leaving from the queue.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Separate the codes files PLEASE

Transcribed Image Text:### QueueADT Assignment
**Objective:**
Implement a QueueADT in C++ simulating people entering a queue or line, waiting for service, and then leaving after receiving the service.
**Requirements:**
1. **Input Handling:**
- Capture a person's first name from user input via the keyboard.
2. **Queue Insertion:**
- Simulate adding a first name into the queue as if entering a line for service.
- The queue must hold a maximum of 20 names.
3. **Queue Operations:**
- Your QueueADT should be capable of inserting, removing, retrieving, and displaying names.
- Display the queue after each operation:
- Insertion of a name
- Removal of a name
**Additional Guidelines:**
- **Functionality:**
- Ensure all core behaviors of a typical Queue Data structure are implemented: inserting, removing, displaying, etc.
- **Object-Oriented Approach:**
- Use Object-Oriented principles, emphasizing modularity.
- **Program Requirements:**
- Demonstrate method usage within the client program at least once.
- Include appropriate comments and ensure proper indentation.
- Utilize structs where necessary.
- **Academic Integrity:**
- No plagiarism. Be prepared to discuss your work with the instructor.
- **Submission Instructions:**
- Submit three separate code files: `*.h`, `*.cpp`, and `*Main.cpp`.
- Avoid links, zipped files, or other formats like PDFs or Word documents.
- Only screenshots in picture format are permitted.
**Note:** Points may be deducted for non-compliance with submission instructions.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 5 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education