
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Write a menu-driven application to implement a print job queue
Create menu options to
- request a print job
- ask for the job name; the name may have blank spaces and consist of alphanumeric characters only, must start with a letter
- display a confirmation of the job request received and the status ( denied/accepted) along with the details such as a tracking number, position in the queue( if accepted), reason for denial (if denied), etc
- execute a print job (remove from the queue )
- display a confirmation along with the tracking number, the name of the print job, and the number of print jobs currently in the queue
- display number of print jobs executed, number of print jobs denied, number of jobs currently in the queue, number of the print job request placed
- quit
Notes
- implement the print job item as a class
- implement queue as a class with a linked list
- tracking to be done by queue class
- no need to keep details of the denied print jobs, only their count
- no
vectors - use enum type or enum class where appropriate
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 nowThis is a popular solution!
Step by stepSolved in 4 steps with 4 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.Similar questions
- 56 bool LoginMenu::authenticate() { bool valid = false; 57 58 SONHORANNKRARRETERL 59 60 61 62 63 64 65 66 67 68 69 } 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 } bool LoginMenu::doLogin() { int attempt = 0; do { } for (int i = 0; i > username; cout > password; bool LoginMenu::create() { login.setUsername (username); login.setPassword (password); // TODO Lab 3 - set login DateTime cout << endl; if (authenticate()) { return true; } } while (++attempt < 3); return false; 95 bool LoginMenu::remove() { 96 97 98 99 == cout << "Todo create" << endl; return true; bool LoginMenu::reset() { cout << "Todo Remove" << endl; return true; 100 101 102 103 } 104 105 bool LoginMenu::do Logout() { 106 107 108 109 110 111 cout << "Todo Reset" << endl; return true; cout << "Todo Logout" << endl; int mo = 0, d = 0, yr = 0, hr = 0, min = 0, sec = 0; getCurrent Time (mo, d, yr, hr, min, sec); // TODO set logoutDateTime return true;arrow_forwardUsing JavaFX Write a program to design a graphical user Interface for Salon Reservation System. Your Main Window Should have the 5 following Buttons Along with the LOGO placed at the top of the window of the company : 1- Add booking 2- Update booking 3- Delete booking 4- Search booking 5- Servicesarrow_forwardCreate a chatbot that takes input questions from the user converts that input question to a list and then matches that question list with already saved appropriate (suitable) answer list.Try to save two to three appropriate answers in list for a single question then for random selection of elements from those answers use random choice(list) method from random module that returns a random element. Also for a user question that doesn't matches with any of the answers present in the chat box it should display statement like "oops i can't answer that" "sorry i am not intelligent enough" "could u please ask something else" using random method so that every time one of these statements appear **coding language python **(hint) take the question as input from the user and then give answer for that question. You can make use of find function to see any matching words for which you are providing answers or can use any other similar method ***try using basic programming techniques in…arrow_forward
- Using Trello API documentation and Python requests module implement functions for the following actions: Creating a new Board Creating a new List on a Board Creating a new Card in this list Updating a description on the card Deleting created card Archiving the listarrow_forwardJAVA A popular technique used with GUI programs is a programming design called Model-View-Controller. This is a programming technique where you split your program up into three distinct portions - the model, view, and controller - and have each portion handle a single, separate function of the program. Model-View-Controller is not built in to any programming language, but is rather a method programmers use when designing their programs. The model handles the program's data. Whether it is a series of variables, some files, or a database, the model is responsible for managing and retrieving the data. The view, controller, and user never see or interact with the data directly; it all goes through the model. The view handles the presentation of the data. This would be the GUI design in a graphical program. The view does not retrieve the data, handle errors with the data, or manage user requests. The view's only purpose is to construct the visuals for whatever data is passed to it,…arrow_forwardA for statement is a loop that iterates across a list of items. As a result, it continues to operate as long as there are items to process. Is this statement true or false?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

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