100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Comm 226 Assignment 2 ( got 90+) Concordia University

Rating
4.0
(1)
Sold
1
Pages
5
Uploaded on
12-12-2023
Written in
2023/2024

Comm 226 Assignment 2 ( got 90+) Concordia University

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Unknown

Document information

Uploaded on
December 12, 2023
Number of pages
5
Written in
2023/2024
Type
Exam (elaborations)
Contains
Unknown

Subjects

Content preview

Comm 226 Assignment 2 ( got 90+) Concordia University


1) Draw the ERD of the database that could be used to support the operations of the business
described in the case (3 marks). The ERD should identify:
• Primary keys and Foreign keys;
• Entities and Attributes;
• Relationships and Cardinalities (e.g. one-to-one, one-to-many).

Next to the ERD in your submission, list the assumptions made when designing the ERD. If an element of
the business case does not provide the information necessary to know for certain whether one design
choice should be made over another, the choice you make will be accepted if it correctly reflects your
assumptions.

SOLUTION TO Q1)

Assumptions:
The relationships are as follows:
1) A book can have been written by many authors and one author can have written many books:
many to many relationships.
2) A customer can buy as many books as they want.
3) Books can be published by only one publisher, but a publisher can publish many books: one to
many relationship
4) A customer can have many orders but only one order can attribute to a single customer: many
to one relationship
5) An order can have multiple books and a book can be part of multiple orders: many to many
relationship
- You cannot have many to many relationships, so transition tables were created to show many
to many relationships between “Book, Author” and “Order and Book” relationship

Assumptions of primary key:
1) Unique
2) Never changing/can’t be repeated
3) Never null

Foreign keys assumptions:
1) Doesn’t have to be unique
2) They can be repeated
3) Multiple foreign keys in one entity

Assumptions on cardinalities (based on what it takes (the minimum) to be in the system or bookstore):
Book and author:
- A book has to be written by a minimum of 1 author (one or many)
- Minimum number of books an author can write is 1 (one or many)
Customer and Books:
- A customer can buy one or more books (one or many)
Book and publisher:
- A book can be published by a minimum of 1 publisher (one or many)

, - Minimum amount of books published by a publisher to be in the book store is 1 (one or many)
Customer and order:
- A customer can exist in the system but a customer can have 0 orders (zero or many)
- Minimum of 1 order attributed to a customer (an order can have only 1 customer and not many)
– one (and only one)
Order and book:
- An order has to have a minimum of 1 book (one or many)
- A book can be a part of 1 or more orders (one or many)
$10.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Reviews from verified buyers

Showing all reviews
1 year ago

4.0

1 reviews

5
0
4
1
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
smartzone Liberty University
Follow You need to be logged in order to follow users or courses
Sold
3198
Member since
5 year
Number of followers
2291
Documents
14397
Last sold
1 day ago
AMAIZING EDUCATION WORLD

GET ALL KIND OF EXAMS ON THIS PAGE ,COMPLETE TEST BANKS,SUMMARIES,STUDY GUIDES,PROJECT PAPERS,ASSIGNMENTS,CASE STUDIES, YOU CAN ALSO COMMUNICATE WITH THE SELLER FOR ANY PRE-ORDER,ORDER AND ETC.

3.7

584 reviews

5
260
4
93
3
103
2
29
1
99

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions