Implement in C++ a QueueADT that does the following:

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
icon
Related questions
Question

PLEASE SEPARATE EACH SOURCE CODE

Expert Q&A
Done
PLEASE seperate each source file
QueueADT
QueueADT
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.
NOTE:
Your QueueADT must implement ALL the Main
behaviors of a typical Queue Data structure
such as inserting (or enqueueing), removing (or
dequeueing), displaying, etc. and any other
helper
• Implement using the Object-Oriented paradigm
(the way we did an ADT in the class showing
modularity)
• Make sure your application/user/client program
shows an example of the use of each of the
methods in your class, at least once.
• Make sure you con
nent appropriately
• Make sure your program is indented properly
• Use a struct where needed
• NO PLGIARISM in ANY FORM. The instructor
may ask questions and not give any points if you
cannot answer questions on the your program
you submitted.
• Please make sure you submit the three code
files (*.h, *.cpp, and *Main.cpp).
• NO links, NO zipped files, OR other format files
such as pdf, word, etc. (POINTS WILL BE
TAKEN OFF or WILL GET ZERO points)
• Only other format file that is allowed is the
screen shots in (picture format)
Transcribed Image Text:Expert Q&A Done PLEASE seperate each source file QueueADT QueueADT 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. NOTE: Your QueueADT must implement ALL the Main behaviors of a typical Queue Data structure such as inserting (or enqueueing), removing (or dequeueing), displaying, etc. and any other helper • Implement using the Object-Oriented paradigm (the way we did an ADT in the class showing modularity) • Make sure your application/user/client program shows an example of the use of each of the methods in your class, at least once. • Make sure you con nent appropriately • Make sure your program is indented properly • Use a struct where needed • NO PLGIARISM in ANY FORM. The instructor may ask questions and not give any points if you cannot answer questions on the your program you submitted. • Please make sure you submit the three code files (*.h, *.cpp, and *Main.cpp). • NO links, NO zipped files, OR other format files such as pdf, word, etc. (POINTS WILL BE TAKEN OFF or WILL GET ZERO points) • Only other format file that is allowed is the screen shots in (picture format)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Concept of Threads
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.
Similar questions
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education