Question

Computer science 2 project(java, linked list)

Description:

PMU facilitates a variety of food in the cafeteria for its faculty and students. Different food is available for the students and faculty members. The cafeteria has an electronic system (catalog) to check or choose the food.

  • Catalog has a list of different food.

  • The faculty members and students can order two varieties at a time depending on the availability.

  • Each food has a unique code or name.


You should provide functions to support the following operations:


  1. The cafeteria administrator can add new variety of food and its country of origin.

  2. The cafeteria administrator can remove and update the information of the faculty or student who has ordered the food.

  3. The faculty and students can inquire about the specific food including its information.

  4. The faculty and students can request for a new variety of food.

  5. The cafeteria administrator can update the requests or new requirements from the faculty or the students.

  6. The faculty and the students can raise a complain about the non-availability of the food

  7. The administrator can generate the reports of the food based on:

    1. Food title

    2. Country of origin

    3. Any other info

  8. The system should be able to handle other kinds of reports to be generated in the future.



You should create three classes, one for Food, the second for Administrator and the third for Users. Use the linked list and the files for database.


Project Output Screen:

When I run the project, it should look like the following:

Please select the user:

  1. Administrator

  2. User

After selecting administrator, the following menu should be displayed:

  • Add new food and its information.

  • Delete the information of the food

  • Update the requests or new requirements from the faculty or the students.

  • Generate the reports of the book based on:

    1. Food title

    2. Food info

    3. Any other

After selecting user, the following menu should be displayed:

  • Inquire about the specific food including the information. (find)

  • Request for a new item (new request of certain food---string)

  • Complain if any

Now, after I see the above menu, I will make a selection. Based on my selection, your program should call some function to carry out the operation needed for that selected task.

After that operation is performed, you should show me the above mentioned selection menu again. This should continue in an infinite loop until I want to exit the program.


0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Computer science 2 project(java, linked list)
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Please only use c programming to solve this project. Feel free to ask anything, however, all...

    Please only use c programming to solve this project. Feel free to ask anything, however, all details have been provided so read the text carefully. Introduction Retail stores have been using cashier machines for almost a century to prepare bills in order to provide detail information to their customers about their purchase. In the past couple of decades, cashier machines have been replaced by computers and appropriate software known as Point of Sales (POS) with advanced capabilities varying from stock-taking...

  • computer science

    CSCI 3000 Homework 4In this assignment, you will implement a simple version of Computer Lab administration system in C++. Your program will monitor computers in 4 computer labs and will allow users to log in and log out. Each computer lab has different number of computers.·      Lab 1 has 10 computers·      Lab 2 has 6 computers·      Lab 3 has 3 computers·      Lab 4 has 12 computersHere is a sample state of the system:Lab ArraySome of the computers are free (no...

  • This is a simple program that I'm struggling with. Java is not my forte... It's way...

    This is a simple program that I'm struggling with. Java is not my forte... It's way too verbose for my liking. Anyways... The criteria for the prog is as follows: No issues with the GUI, I can do this on my own, but for a reference see the following: A combo box should allow the user to select one of the four database actions shown. The database should be implemented as a HashMap, with the ID field as the key...

  • Principles of Computer Science

    Question First, you need to design, code in Java, test and document a base class, Student. The Student class will have the following information, and all of these should be defined as Private: A. Title of the student (eg Mr, Miss, Ms, Mrs etc) B. A first name (given name) C. A last name (family name/surname) D. Student number (ID) – an integer number (of type long) E. A date of birth (in day/month/year format – three ints) - (Do NOT use the Date class from...

  • Help Please on JAVA Project: Validating the input is where I need help. Thank you Requirements...

    Help Please on JAVA Project: Validating the input is where I need help. Thank you Requirements description: Assume you work part-time at a sandwich store. As the only employee who knows java programming, you help to write a sandwich ordering application for the store. The following is a brief requirement description with some sample output. 1. Selecting bread When the program starts, it first shows a list/menu of sandwich breads and their prices, then asks a user to select a...

  • python anywhere questions. A Class Management System, Part 2 Please also refer to the description provided...

    python anywhere questions. A Class Management System, Part 2 Please also refer to the description provided in Part 1 of the project “A Class management System”. You have had a chance to state your understanding of the requirements for this project, draft a preliminary design, and express it by means of UML diagrams. Now it’s time to implement your design. As stated in the original requirements, there will be three categories of users: 1. Students 2. Instructors 3. Administrators Recall...

  • I need code in java The Student class: CODE IN JAVA: Student.java file: public class Student...

    I need code in java The Student class: CODE IN JAVA: Student.java file: public class Student {    private String name;    private double gpa;    private int idNumber;    public Student() {        this.name = "";        this.gpa = 0;        this.idNumber = 0;    }    public Student(String name, double gpa, int idNumber) {        this.name = name;        this.gpa = gpa;        this.idNumber = idNumber;    }    public Student(Student s)...

  • n JAVA, students will create a linked list structure that will be used to support a...

    n JAVA, students will create a linked list structure that will be used to support a role playing game. The linked list will represent the main character inventory. The setting is a main character archeologist that is traveling around the jungle in search of an ancient tomb. The user can add items in inventory by priority as they travel around (pickup, buy, find), drop items when their bag is full, and use items (eat, spend, use), view their inventory as...

  • NOTE: LANGUAGE IS PYTHON CS160 Computer Science Lab 17 Objectives Work with dictionaries Work with functions...

    NOTE: LANGUAGE IS PYTHON CS160 Computer Science Lab 17 Objectives Work with dictionaries Work with functions Work with files Overview This lab will have you store the birthdays for a group of people. This program will store the information with the focus on the date of the month and not on the individual. The point of this program is to be able to see who has a birthday on a given day or to create a table of birthdays, in...

  • NOTE: LANGUAGE IS PYTHON CS160 Computer Science Lab 17 Objectives Work with dictionaries Work with functions...

    NOTE: LANGUAGE IS PYTHON CS160 Computer Science Lab 17 Objectives Work with dictionaries Work with functions Work with files Overview This lab will have you store the birthdays for a group of people. This program will store the information with the focus on the date of the month and not on the individual. The point of this program is to be able to see who has a birthday on a given day or to create a table of birthdays, in...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT