
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
Concept explainers
Question
thumb_up100%
I want to make a program about a cafe business
The idea is to have a txt file for a menu and operate
all the functions in it.

Transcribed Image Text:Assignment Specification: your program should include the following:
Functions (should include both: pass by value and pass by reference variables, void function and function
returning any value)
Array of structs (at least one single array of struct)
Selection and repetition structures as needed
Add your team members names as a comment in the first line of your program.
You should print a menu to the user and offer him/her different services.
Main Services:
o adding new item.
o search for specific item.
o update existing record.
delete.
Sort.
Display.
At the start, your program should populate the array(s) from a file and allow the user to edit it. At
the end overwrite the same file with the latest contents of the array(s).
Provide another statistical report as
parate text file e.g. the number of records, with date, time
of last update.
The program should continue running until the user chooses to exit it.
Ensure to avoid any errors of any type (Run-time error, logical error, and syntax error).
You can add extra functions if wish to.
Assignment Topic: Each team should choose a single topic only for your assignment ( Duplicated in not allower
which means within the section the topic is selected by one group only) :
1. Hospital System:
a. Arrays: patients details, medicine, and dose.
b. Arrays size: defined by the user.
с.
Menu: Represent the main services explained above
2.
Games System:
a.
Arrays: players details (name,id,age, .. ), game name, and score.
b. Arrays size: defined by the user.
с.
Menu: Represent the main services explained above
3. Staff System:
a. Arrays: staff details (name,id,age, ... ), job name, and salary.
b. Arrays size: defined by the user.
с.
Menu: Represent the main services explained above.
4. Any suggested system you may propose.
CollageMaker
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 6 steps with 2 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
- When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. Input values should be added to the list until -1 is entered. Ex: If the input is: 30 50 10 70 65 -1 the output is: 20 40 60 55arrow_forwardThis is my flashcard problem I need to come up with an algorithm and a python program, I have the dictionaries as txt files The program should allow the user to ask for a word list entry. In response, the program should randomly pick an entry from the word list. It should display the English word and invite the user to enter the French equivalent. After the user enters their answer, the program should check the answer. If it is correct the program should tell the user; otherwise, if the answer is wrong the program should tell the user and inform them of the correct answer. The user should be able to repeatedly ask for an entry and also have the option to quit the program instead of seeing another entry.arrow_forwardIn C++ Could someone Write a program that will read a document/txt file thats written in ASCII and converts it into normal text and then display the text on the screen. I wanna know what some more professional ones look like becaume mine looks pretty jumbledarrow_forward
- I have to create a program using python so that when the user inputs a state, it outputs the given info such as capital, state bird, and rank. I have most of it coded, but when I run the program I get an invalid syntax error, I'll attach a screenshot of what I have so far. I'll also attach what it's suppose to look like. Here are the instructions: Your program will initialize lists to store information about the states. You should have one list for the names of the states, one list for the names of the capitals, one list for the names of the state birds per state, and one list for the order number the state joined the union. Alternatively, you can use a db list of lists as demonstrated in the exercises in the book to store the information in one structure or dictionaries. Next ask the user to enter a name of a state. Find the index of that name. Use that index to report back to the user the name of the capital, state bird, and the order the state joined the union.arrow_forwardWrite a program using PHYTHON to create a grocery list where the user will add items one at a time until entering the word "STOP".At that point, the program will print out the items in the grocery list, 1 item per line.arrow_forwardIn Python:arrow_forward
- Please write a program that checks if the last data item entered appears earlier in the list. The input is a sequence of non-negative numbers, which is terminated by a user entering a -1. The code needs to output ONLY ONE of these 3 messages: Yes the last data item appears earlier, No the last data item appears earlier, No Data Provided The code is also not allowed to compare the last number with itself. Thanks!arrow_forwardWrite a program that will get input from the users, validate the input data, load the data into a list, print the list data in columns. Add a menu with options to add data, print data and quit. The program should process a minimum of 2 string inputs, and 1 number input.arrow_forwardInstructions: I need Python help. The problem I am trying to figure out so that when we work a similar problem in class I can do my assignment. Tonights assignment is a participation thing, Friday I need to do a similar assignment in class for a grade. Write a program that reads movie data from a CSV (comma separated values) file and output the data in a formatted table. The program first reads the name of the CSV file from the user. The program then reads the CSV file and outputs the contents according to the following requirements: Each row contains the title, rating, and all showtimes of a unique movie. A space is placed before and after each vertical separator ('|') in each row. Column 1 displays the movie titles and is left justified with a minimum of 44 characters. If the movie title has more than 44…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