Question

In: Computer Science

Create business rules for each of the exercises (below is an example of the format needed)

Create business rules for each of the exercises (below is an example of the format needed)

 A writer may create many novels.

 A novel is created by a writer.

 A consumer may buy many novels.

 A novel may be bought by may consumers.

 Exercise A

 United Broke Artists (UBA) is a broker for not-so-famous artists. UBA maintains a small database used to track artists, paintings, and galleries. A particular painting can be duplicated and exhibited in multiple galleries, provided the galleries have the space. UBA accepts work from artists, many of whom provide multiple

 paintings to be presented at available galleries.

 Exercise B

 An insurance company sells home, auto, and life insurance. The company has three departments -- one for each type of insurance -- and every department has its own group of agents. A customer is assigned an agent based on the type of insurance he or she desires. The agent then creates a policy for the customer.

 Exercise C

 A publisher wants a database to store the books it publishes along with their authors. An author can write many books, and a book can have more than one author. When the publisher and author(s) agree to produce a book, a contract is created for the book, one for each author. The contract specifies the percentage of the profit the author will receive back.

 Exercise D

 A supermarket has many departments, each of which has employees. A few of the employees in each department manage it. An employee can only work in one department at any given time. A department has many products, some of which can

 be offered in more than one department at the same time. For instance, batteries are offered in the electronics, toys, photo, groceries, and hardware departments.

 Exercise E

 A rapidly growing health care organization has a number of clinics across the state that offer outpatient services. Each doctor is assigned a specific clinic. A patient can schedule an appointment at a specific clinic or with a specific doctor. If the patient has no specific doctor in mind, one is assigned based on availability. As an outcome of the appointment, the doctor may choose to prescribe one or more medications for the patient. A given prescription is written for a specific medication and indicates the strength, daily dosage, and instructions for the patient.


Solutions

Expert Solution

Business rules for Exercise A :

  • The UBA(United Broke Artist) is a broker for not so famous artists.
  • The UBA might be a broker for famous artists.
  • The UBA maintains database for tracking artists, paintings and galleries.
  • Duplication can be done of a particular painting.
  • The painting is exhibited in multiple galleries depending upon availability of space.
  • Multiple galleries may contain multiple paintings depending upon availability of space.
  • An artist may draw multiple paintings.
  • A painting is drawn by an artist.
  • The UBA accepts the work from many artists.
  • An artist may submit his works to UBA.

Business rules for Exercise B :

  • Home, auto and life insurance are sold by an Insurance company.
  • Many Insurance companies might sell auto, home and life insurance.
  • The insurance company consists three departments.
  • The insurance company may consists many departments.
  • Each type of insurance has one particular department.
  • Every department has it's own group of agents.
  • A customer is assigned an agent depending on the type of insurance he/she desires.
  • The agent may have many customers.
  • The agent creates policy for a customer.
  • The customer can have many policies and agents.

Business rules for Exercise C :

  • A publisher wants a database.
  • Many databases can be created by publishers.
  • The database may store many books published and respective authors.
  • A book and an author might be stored in a database.
  • The publisher and author produce a book.
  • The publishers and authors may produce many books.
  • A contract is created for a book.
  • A contract belongs to an author.
  • An author may sign multiple contracts.
  • The contract specifies the profit percentage the author will earn.

Business rules for Exercise D :

  • A supermarket has many departments.
  • A department has many employees.
  • Many employees may work in many departments.
  • Each department is managed by few employees.
  • Few employees may manage many departments.
  • At a given point of time an employee can work in one department.
  • A department has many products.
  • A product may be offered in many departments.

Business rules for Exercise E :

  • A health care organisation has many clinics.
  • A clinic may have many health care organizations.
  • Many clinics across the states offer outpatient services.
  • Appointment at specific clinic or with a specific doctor can be made by a patient.
  • A patient may make appointment with many clinics and with many doctors.
  • Based on the doctor's availability appointment is made if patient doesn't know a particular doctor.
  • The doctor may choose to prescribe one or more medications for the patient.
  • The prescription contains strength, daily dosage and instruction for the patient.
  • A patient may have multiple prescriptions.

Related Solutions

Create & name a file with the following format: LastNameFirstNameUnit5.java. Example: The instructor would create a...
Create & name a file with the following format: LastNameFirstNameUnit5.java. Example: The instructor would create a file with the following name: TonsmannGuillermoUnit5.java Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter. Only submit the .java file needed to make the program run. Do not submit the .class file or any other file. Comments REQUIRED; flow charts & pseudocode NOT REQUIRED. 5%...
Create a partnership agreement example. Business LAW.
Create a partnership agreement example. Business LAW.
You are given four examples of Business Processes below. For each example, you are to generate...
You are given four examples of Business Processes below. For each example, you are to generate a complete Business Process Flow diagram and a detailed Swimlane diagram. The Swimlane diagram should also include labels on the connectors or a legend to describe the type of data that is flowing between blocks. Each example should have at least 1 alternate or non-ideal path in addition to the ideal “sweet” path. Each example should have at least 5 major blocks in the...
Create a Java Program to calculate luggage costs. USING ECLIPSE IDE The Business Rules are: A....
Create a Java Program to calculate luggage costs. USING ECLIPSE IDE The Business Rules are: A. Two bags per person are free. B. The Excess Bag Charge is $75 per bag. The program needs to do the following: 1. In your main method(),    Create integers to store the number of Passengers and also the total number of bags    Prompt for the number of passengers on a ticket.    Prompt for the total number of bags for all passengers...
Read the article titled “What Is the Importance of Probability Rules in a Business?” listed below....
Read the article titled “What Is the Importance of Probability Rules in a Business?” listed below. __________________________________________________________________________ What Is the Importance of Probability Rules in a Business? by Kevin Johnston Probability has a popular meaning that is not the same as the mathematical meaning. As a small-business owner, you may act on hunches, guesses and instincts. After such actions, you might even say you thought a certain outcome was "probable." However, the mathematics of probability has rules that you can...
PLEASE USE RULES OF ADDITION OF PROBABILITY /MDPART 1: Create a context: Introduce a real-world business...
PLEASE USE RULES OF ADDITION OF PROBABILITY /MDPART 1: Create a context: Introduce a real-world business situation or an imagined business scenario that may benefit from the theories and methods presented in the prior two weeks (Weeks 3 and 4 - see the objective stated in bold above). While creating the context, ask yourself: What business use cases may benefit from the quantitative methods offered last week and this week? Pick one. You can use Google or other search tools,...
Why are laws, rules and regulations needed for professional nursing practice?
I need help with an essay about:1) Why are laws, rules and regulations needed for professional nursing practice?2) Explain the purpose of the Nurse Practice Act (NPA)3) Explain the role of the state boards of nursing (SBN)4) what are the liability issues for a nurse who fails to raise the side rails of a patient after surgery and the patient falls out of bed?
why are laws ,rules and regulations needed for professional nursing practice
why are laws ,rules and regulations needed for professional nursing practice
Why business rules are important for a good database design? Give 3 examples of business rules...
Why business rules are important for a good database design? Give 3 examples of business rules in academic environment.
. Identify a real business and give an example of each of the business decisions we...
. Identify a real business and give an example of each of the business decisions we have learned. Use at least one complete sentence to describe your decision. There are four decisions. illustration: A. Special Order-       Company: Procter and Gamble, makers of Tide detergent       Decision: P&G has to decide whether it will use its excess capacity to produce a generic brand laundry detergent for Aldi supermarkets at a lower price that it normally charges. Use this format and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT