Draw the er diagram for the database

Assignment Help Computer Engineering
Reference no: EM133422690

Question: Suppose that you need to design a simple database for COVID-19 testing. Some basic requirements are as follows.

- There are many test centers in Hong Kong. Each test center has an id, a name, and an address. A test center can serve many clients.

- A client can go to any test center for testing. A client has an id, a name, and a phone number.

- The client should make an appointment before he/she sets out for testing. Each appointment should have the id of the client, the id of the test center, and the appointed time.

 The test center takes a swab sample for a client and the testing result of the sample will be sent to the client within 48 hours.

(a) Draw the ER diagram for the database. You need to specify the keys of the entity sets and relationship sets. You also need to mark the cardinality and participation constraints of the relationship sets and explain the reason for the constraints. Note that this question is open and different designs are possible due to different considerations.

(b) Map the ER diagram in (a) to the relational tables (Write down the SQL for creating these tables). You need to capture as many constraints in the ER diagram as possible. If you cannot capture a constraint, you need to explain the reason.

Reference no: EM133422690

Questions Cloud

Why are the interests of society of utmost importance : Why are the interests of society of utmost importance? Why must you always think about what is best for society and act accordingly
How do you think that protein folding is involved in these : how do you think that protein folding is involved in these disorders and how does the disease progress in individuals with these disorders?
Explain the prisoners dilemma : Explain the prisoner's dilemma and discuss how social contract theory morality can be seen as a solution to this dilemma.
What is the evolutionary origin of the chloroplast : According to the endosymbiotic theory of eukaryotic evolution, what is the evolutionary origin of the chloroplast and the mitochondria in eukaryotic cells?
Draw the er diagram for the database : Draw the ER diagram for the database. You need to specify the keys of the entity sets and relationship sets. You also need to mark the cardinality
How do we target chaperones and co-chaperones : How do we target chaperones and co-chaperones in neurodegenerative diseases to effectively control protein misfolding and prevent aggregation?
Design a privacy policy that you would like to see added : Design a privacy policy that you would like to see added to the site. How should the policy be worded? Where (location on the site) would you add this
How many page faults would occur : How many page faults would occur using the MIN replacement algorithm, assuming four frames? Remember that all frames are initially empty, so your first unique
Explain what paraprofessionals and other support staff : Explain what paraprofessionals and other support staff members will do to assist with instruction and direct services. Include discussion of how the aspects

Reviews

Write a Review

Computer Engineering Questions & Answers

  Demonstrate your understanding of conditional executio

This is a project that requires using http://snap.berkeley.edu to complete. The program should demonstrate your understanding of conditional execution with one or more if blocks.

  Prove that there exists a large set of objects

Suppose that the hash code for your object is defined by some deterministic function h(x; y) that produces a single w-bit integer.

  Write down a class grade with a method getnumericgrade

note down  a Java program that translates a letter grade into a number grade. Letter grades are A B C D F, possibly followed by + or -. Their numeric values are 4, 3, 2, 1, and 0. There is no F+ or F-. A + increases the numeric value by 0.3, a - d..

  Design and implement a class quadratic for a function

Design and implement a class quadratic to represent a quadratic function, a function of the form f(x) = ax^2 +bx +c .

  Analyze the need for waterfall and agile methodologies

Explain waterfall methodologies and identify their relationship to the PMBOK process groups. Analyze the need for waterfall and agile methodologies.

  Which array types can hold object references

What is the default initialization value for a integer array.

  What is penetration testing and testing stages

Penetration testing is a simulated cyberattack against a computer or network that checks for exploitable vulnerabilities. Pen tests can involve attempting to.

  Briefly define four major methods used to select a sample

Sample Selection Methods. You are employed by Fish Wrap Ltd., a local newspaper distribution company, and are attempting to determine the average level.

  Discuss strategies to ensure integrated error messages

Error messages are a key part of an overall interface design strategy of guidance for the user. Discuss strategies to ensure integrated.

  How many boxes of each size should the banks design provide

A bank is retrofitting part of its vault to hold safety deposit boxes. How many boxes of each size should the bank's design provide?

  What are the characteristic features of a web application

What is a Web 2.0 application? What are the characteristic features of a Web 2.0 application? Use at least 500 words for your explanation.

  List and briefly define categories of security services

It is important to understand that humans and technology interact in all information systems. Why do you feel businesses must spend time and money.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd