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
Topic Video
Question
It is intended to develop a software for an electronic product sales shop named ABC. A problem encountered in the software is:
• There are electronic devices registered in the system and instant discounts are made for these products by the store. There are Dealers and Customers registered to the store. These dealers and customers follow the products they want. If the price of a product changes, it is required to notify the dealers and customers who follow the product. According to this:
a) Write the name of the most appropriate Design Pattern.
b) Draw the appropriate UML class diagram for the problem using the selected design pattern. Do not forget to define the methods to be used in the classes.
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 2 steps with 1 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
- 1.Problem Description Student information management system is used to input, display student information records. The GUI interface for inputing ia designed as follows : The top part are the student imformation used to input student information,and the bottom part are four buttonns, each button meaning : (2) Total : add java score and C++ score ,and display the result; (3) Save: save student record into file named student.dat; (4) Clear : set all fields on GUI to empty string; (5) Close : close the window of GUIarrow_forwardStrathSoft, a software development company, was approached by EatWell chain of restaurants to commission a tailor-made software to automate their restaurant sales. The sales manager of EatWell chain of restaurants described their current manual process of salesas follows: “We sell many food items, each item is identified by an identification code and each food item has a name and price. We use a variety of ingredients in our food items. Each ingredient hasa unique ID, name, production date and expiry date. One ingredient can be used in many food items. We have many customers. Customers have a name, a unique ID, address and contact. When customers place orders, they buy one or many food Items. Each order has a unique ID,order date and total” 1. As a system designer for StrathSoft, design a class diagram for the above descriptionof the part of the prospective system. 2. Develop the part of the system that will allow you to create items made of a list ofingredients. Use a driver class to…arrow_forwardA small consulting company ECN have decided to hire you. When you go to the office of the human resources to complete new employee’s paperwork, you are presented with two salary offers and told that, before you start working, you must decide which one offers you would accept. After looking at the two salary offers, you decide to write a program to help you make the best choice. The two salary offers are: Salary 1: Salary of $117.23 per day for 10 days. Salary 2: Calculated as follows: first day: $1.15, second day: $2.30, third day: $4.60, and so on, with the amount doubling each day up to the 10th day. Part A: Perform a mathematical hands-on calculations first that shows the values for salary 1 and salary 2 respectively for the ten days. Part B: Now, write a program with the following requirements:. A main function to hold the inputs, outputs, and pass them if and where needed A function to calculate salary 1 and pass the total to another function called “comparison” A function to…arrow_forward
- We are interested in developing an application for managing roadside assistance for malfunctioned vehicles on roads. The system aims to automate the process and efficiently provide help. To be able to use the system, the customer should be registered in the system. Registration details include the customer's name and phone number. Moreover, the customer should register the vehicles he wants to have in the roadside assistance program. The customer can register as many cars as he wants. The customer should enter each registered vehicle's make, model, year, and plate number. At any point in time, the customer can request assistance using the system. Assistance types may include basic repair, tire change, gas refill, oil services, and towing to a service center. Each service has a price and may include buying some parts. Each part has its own price, and the service might require multiple parts of the same type. Multiple providers can offer the same service. The system should automatically…arrow_forwardA fast food restaurant is planning to develop a system to process customer’s orders. The system receives food orders from the users, and stores and processes according to the order in which the users placed the orders. The system can remove an order from the list of orders once the order is complete. The system can also display the order which is currently being processed by the employees. The system displays the list of orders as well. The system displays all these options as a menu of choices to a user and performs the operations according to the user’s selection. (Please see the test runs on the next page). Write a program in C/C++ to develop a simple order processing system for the fast-food restaurant. In your program, you must use queue to store and process customer’s orders. Your program must use a linked list to perform the queue operations. Your output format should be as shown in the test runs (see the next page). Your program must contain the following user-defined…arrow_forwardA small consulting company ECN have decided to hire you. When you go to the office of the human resources to complete new employee’s paperwork, you are presented with two salary offers and told that, before you start working, you must decide which one offers you would accept. After looking at the two salary offers, you decide to write a program to help you make the best choice. The two salary offers are: Salary 1: Salary of $117.23 per day for 10 days. Salary 2: Calculated as follows: first day: $1.15, second day: $2.30, third day: $4.60, and so on, with the amount doubling each day up to the 10th day. Part A: Perform a mathematical hands-on calculations first that shows the values for salary 1 and salary 2 respectively for the ten days. Part B: Now, write a program with the following requirements:. A main function to hold the inputs, outputs, and pass them if and where needed A function to calculate salary 1 and pass the total to another function called “comparison” A function to…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