BIS 245 Week 5 Lab – ER Diagram and ER Matrix
A. Lab # : BSBA BIS 245A-5A
B. Lab 5A of 7 : Database design using Visio, and based on data requirements
and business rules focusing on normalizing data to third normal form.
C. Lab Overview–Scenario/Summary:
TCO(s):
2. Given a situation containing entities, business rules, and data requirements,
create the conceptual model of the database using a database modeling tool.
Scenario:
You have been asked to create a database model using the MS Visio Database
Model Diagram Template. The purpose of this lab is to provide experience
normalizing the database to third normal form based on limited instructions, data
requirements, and associated business rules.
Upon completing this lab, you will be able to
1. create a new Visio file for database design; and
2. using the data requirements and the business rules provided, develop a
conceptual model (ERD), including attribute data types and required field
lengths.
D. Deliverables
Section Deliverable Points
Step 1 YourName_Lab5A_ERMatrix.docx
Step 3 YourNameLab5A.vsd (Visio Diagram)
E. Lab Steps
Preparation
1. Get the Lab5A_ERMatrix.docx document from Doc Sharing:
a. Download the Lab5A_ERMatrix document file from your course Doc
Sharing panel (Labs view), and Save the file to your local drive.
2. Using Citrix for MS Visio and/or MS Access
a. If you are using the Citrix remote lab, follow the login instructions
located in the iLab tab in Course Home.
3. Start MS Visio
a. Open Microsoft Office, Visio application, or
b. if you are using Citrix, click on Microsoft Office Applications folder
to start Visio. Page 2 of 5
Lab
Step 1: Identify the entities and relationships.
a. Over the past four weeks, you have created ERDs based on information
provided. This week, you will complete the ERD being sure to normalize it to
3NF (third normal form). Normalization is the systematic application of rules
designed to eliminate redundancy from the database. Data in previous weeks
was, to some extent, normalized for you. This week, it is not. An abbreviated
list of the data requirements follows.
College Scheduling Data Requirements
Student ID
Student First Name
Student Last Name
Course Code
Course Name
Course Description
Course Credit Hours
Course Time
Course Days
Instructor ID
Instructor First Name
Instructor Last Name
Room Number
Room Capacity
b. Open the Word file in the Week 5 Lab Materials, Lab5A_ERMatrix.docx
c. Save the Word file as YourName_Lab5A_ERMatrix.
d. An ER Matrix helps define both the entities and the relationships between the
entities. Using the partially completed ER Matrix below as a guide, complete
the matrix.
Hint: You should end up with four entities.
1. List each entity both across and down.
2. Determine whether a relationship exists between entities and define that
relationship with a verb phrase. (NOTE: The entity with the greatest
number of related entities is usually the center of the ER diagram.)
3. Identify minimum (Optional or Mandatory) and maximum (only one, or one
or more).Page 3 of 5
Student Course
Student none Enrolls in;
Mandatory
One or
more
Course Is taken by:
Optional
One or
more
none
e. Save the completed matrix to submit as part of your lab.
Step 2: Create the initial ERD based on the matrix.
a. Open a new blank Database Model Diagram in Visio. If you need assitance with
this, refer to the Week 1 Lab Instructions. Be sure that all options are set
consistent to those used in previous weeks so that you generate your model in
Crow’s Foot notation.
b. One of the issues in denormalized data is that it can result in many-to-many
relationships that are not compatible with the relational database. Visio does
not allow creation of a many-to-many relationship because of this
incompatibility. Therefore, for any many-to-many relationships in your data,
you will need to create two one-to-many relationships. See the example
below:Page 4 of 5
c. Based on the information from Step 1, create the initial ERD for the College
Scheduling database including the many-to-many relationships. If you need
assistance to create the entities, refer to labs from Weeks 1 and 2.
d. Assign the primary keys and attributes from the data requirements to the
proper entities.
e. Save the file as YourName_Lab5A.vsd.
Step 3: Normalize the database
a. While the initial ERD is accurate, if you design a database without deviating
from it, you will encounter problems. For example, a course is offered many
times. If you use the course code, for example BIS 245, as the primary key,
you will only be able to list the course once. There are three possible solutions.
1. Assign another primary key, such as an auto-number field, so that
the course can be listed multiple times. However, this is not
acceptable because it introduces redundancy rather than reducing it.
2. Use a composite primary key consisting of the Course Code and the
Section code. If you create a unique section code (EXAMPLE:
YearTerm_Section or 2010SpringA_A), then you can list the course
repeatedly. Again, this introduces redundancy, and is not an
acceptable solution.
3. Split the table to create two tables. TostayconsistentwithDeVry
terminology, create a second Section table. To ensure that a course is
not entered twice, you might modify the Section code to include the
course: BIS 245_2010SpringA_A. By consistently using this format,
you should not be able to duplicate the section, and can avoid a
complicated composite key. However, as the Section table will serve
as an associative entity, it is acceptable to borrow the primary keys of
theparenttables.
b. Open the Visio file from Step 2, and add a new page. Changethepagetabto
read Revised. Revise the initial ERD based on the following information.
1. A Course may exist without being offered. It exists in the catalog.
Courses are scheduled for a term and given a section. It is the
schedule course (Section) that students enroll in, that are scheduled
in rooms and assigned instructors.
2. A Student can exist without being enrolled in a course.
3. An Instructor can exist without being assigned to teach a course.
4. A Room can exist without being scheduled for a course.
c. Save the file with your revised ERD.Page 5 of 5
Lab 5A Final Deliverables
a. YourName_Lab5A_ERMatrix.docx (Word Document) from Lab 5A Step 1
b. YourName_Lab5A.vsd (Visio Diagram) from Lab 5A Step 3.
Submit these files to the Week 5 iLabDropbox.
Important information for writing discussion questions and participation
Welcome to class
Hello class and welcome to the class and I will be your instructor for this course. This is a -week course and requires alot of time commitment, organization, and a high level of dedication. Please use the class syllabus to guide you through all the assignments required for the course. I have also attached the classroom policies to this announcement to know your expectations for this course. Please review this document carefully and ask me any questions if you do. You could email me at any time or send me a message via the “message” icon in halo if you need to contact me. I check my email regularly, so you should get a response within 24 hours. If you have not heard from me within 24 hours and need to contact me urgently, please send a follow up text to
I strongly encourage that you do not wait until the very last minute to complete your assignments. Your assignments in weeks 4 and 5 require early planning as you would need to present a teaching plan and interview a community health provider. I advise you look at the requirements for these assignments at the beginning of the course and plan accordingly. I have posted the YouTube link that explains all the class assignments in detail. It is required that you watch this 32-minute video as the assignments from week 3 through 5 require that you follow the instructions to the letter to succeed. Failure to complete these assignments according to instructions might lead to a zero. After watching the video, please schedule a one-on-one with me to discuss your topic for your project by the second week of class. Use this link to schedule a 15-minute session. Please, call me at the time of your appointment on my number. Please note that I will NOT call you.
Please, be advised I do NOT accept any assignments by email. If you are having technical issues with uploading an assignment, contact the technical department and inform me of the issue. If you have any issues that would prevent you from getting your assignments to me by the deadline, please inform me to request a possible extension. Note that working fulltime or overtime is no excuse for late assignments. There is a 5%-point deduction for every day your assignment is late. This only applies to approved extensions. Late assignments will not be accepted.
If you think you would be needing accommodations due to any reasons, please contact the appropriate department to request accommodations.
Plagiarism is highly prohibited. Please ensure you are citing your sources correctly using APA 7th edition. All assignments including discussion posts should be formatted in APA with the appropriate spacing, font, margin, and indents. Any papers not well formatted would be returned back to you, hence, I advise you review APA formatting style. I have attached a sample paper in APA format and will also post sample discussion responses in subsequent announcements.
Your initial discussion post should be a minimum of 200 words and response posts should be a minimum of 150 words. Be advised that I grade based on quality and not necessarily the number of words you post. A minimum of TWO references should be used for your initial post. For your response post, you do not need references as personal experiences would count as response posts. If you however cite anything from the literature for your response post, it is required that you cite your reference. You should include a minimum of THREE references for papers in this course. Please note that references should be no more than 5 years old except recommended as a resource for the class. Furthermore, for each discussion board question, you need ONE initial substantive response and TWO substantive responses to either your classmates or your instructor for a total of THREE responses. There are TWO discussion questions each week, hence, you need a total minimum of SIX discussion posts for each week. I usually post a discussion question each week. You could also respond to these as it would count towards your required SIX discussion posts for the week.
I understand this is a lot of information to cover in 5 weeks, however, the Bible says in Philippians 4:13 that we can do all things through Christ that strengthens us. Even in times like this, we are encouraged by God’s word that we have that ability in us to succeed with His strength. I pray that each and every one of you receives strength for this course and life generally as we navigate through this pandemic that is shaking our world today. Relax and enjoy the course!
Hi Class,
Please read through the following information on writing a Discussion question response and participation posts.
Contact me if you have any questions.
Important information on Writing a Discussion Question
- Your response needs to be a minimum of 150 words (not including your list of references)
- There needs to be at least TWO references with ONE being a peer reviewed professional journal article.
- Include in-text citations in your response
- Do not include quotes—instead summarize and paraphrase the information
- Follow APA-7th edition
- Points will be deducted if the above is not followed
Participation –replies to your classmates or instructor
- A minimum of 6 responses per week, on at least 3 days of the week.
- Each response needs at least ONE reference with citations—best if it is a peer reviewed journal article
- Each response needs to be at least 75 words in length (does not include your list of references)
- Responses need to be substantive by bringing information to the discussion or further enhance the discussion. Responses of “I agree” or “great post” does not count for the word count.
- Follow APA 7th edition
- Points will be deducted if the above is not followed
- Remember to use and follow APA-7th edition for all weekly assignments, discussion questions, and participation points.
- Here are some helpful links
- The is a great resource