{"id":203048,"date":"2018-09-13T23:18:30","date_gmt":"2018-09-13T23:18:30","guid":{"rendered":"http:\/\/localhost\/wordpress\/index.php\/2018\/09\/13\/bis-245-week-5-lab-er-diagram-and-er-matrix\/"},"modified":"2018-10-24T09:13:56","modified_gmt":"2018-10-24T09:13:56","slug":"bis-245-week-5-lab-er-diagram-and-er-matrix","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/bis-245-week-5-lab-er-diagram-and-er-matrix\/","title":{"rendered":"BIS 245 Week 5 Lab &#8211; ER Diagram and ER Matrix"},"content":{"rendered":"<p>A. Lab # : BSBA BIS 245A-5A\tB. Lab 5A of 7 : Database design using Visio, and based on data requirements\tand business rules focusing on normalizing data to third normal form.\tC. Lab Overview&#8211;Scenario\/Summary:\tTCO(s):\t2. Given a situation containing entities, business rules, and data requirements,\tcreate the conceptual model of the database using a database modeling tool.\tScenario:\tYou have been asked to create a database model using the MS Visio Database\tModel Diagram Template. The purpose of this lab is to provide experience\tnormalizing the database to third normal form based on limited instructions, data\trequirements, and associated business rules.\tUpon completing this lab, you will be able to\t1. create a new Visio file for database design; and\t2. using the data requirements and the business rules provided, develop a\tconceptual model (ERD), including attribute data types and required field\tlengths.\tD. Deliverables\tSection Deliverable Points\tStep 1 YourName_Lab5A_ERMatrix.docx\u00a0\tStep 3 YourNameLab5A.vsd (Visio Diagram)\tE. Lab Steps\tPreparation\t1. Get the Lab5A_ERMatrix.docx document from Doc Sharing:\ta. Download the Lab5A_ERMatrix document file from your course Doc\tSharing panel (Labs view), and Save the file to your local drive.\t2. Using Citrix for MS Visio and\/or MS Access\ta. If you are using the Citrix remote lab, follow the login instructions\tlocated in the iLab tab in Course Home.\u00a0\t3. Start MS Visio\ta. Open Microsoft Office, Visio application, or\tb. if you are using Citrix, click on Microsoft Office Applications folder\tto start Visio. Page 2 of 5\tLab\tStep 1: Identify the entities and relationships.\ta. Over the past four weeks, you have created ERDs based on information\tprovided. This week, you will complete the ERD being sure to normalize it to\t3NF (third normal form). Normalization is the systematic application of rules\tdesigned to eliminate redundancy from the database. Data in previous weeks\twas, to some extent, normalized for you. This week, it is not. An abbreviated\tlist of the data requirements follows.\tCollege Scheduling Data Requirements\tStudent ID\tStudent First Name\tStudent Last Name\tCourse Code\tCourse Name\tCourse Description\tCourse Credit Hours\tCourse Time\tCourse Days\tInstructor ID\tInstructor First Name\tInstructor Last Name\tRoom Number\tRoom Capacity\tb. Open the Word file in the Week 5 Lab Materials, Lab5A_ERMatrix.docx\tc. Save the Word file as YourName_Lab5A_ERMatrix.\td. An ER Matrix helps define both the entities and the relationships between the\tentities. Using the partially completed ER Matrix below as a guide, complete\tthe matrix.\tHint: You should end up with four entities.\t1. List each entity both across and down.\u00a0\t2. Determine whether a relationship exists between entities and define that\trelationship with a verb phrase. (NOTE: The entity with the greatest\tnumber of related entities is usually the center of the ER diagram.)\t3. Identify minimum (Optional or Mandatory) and maximum (only one, or one\tor more).Page 3 of 5\tStudent Course\tStudent none Enrolls in;\tMandatory\tOne or\tmore\tCourse Is taken by:\tOptional\tOne or\tmore\tnone\te. Save the completed matrix to submit as part of your lab.\tStep 2: Create the initial ERD based on the matrix.\ta. Open a new blank Database Model Diagram in Visio. If you need assitance with\tthis, refer to the Week 1 Lab Instructions. Be sure that all options are set\tconsistent to those used in previous weeks so that you generate your model in\tCrow&#8217;s Foot notation.\tb. One of the issues in denormalized data is that it can result in many-to-many\trelationships that are not compatible with the relational database. Visio does\tnot allow creation of a many-to-many relationship because of this\tincompatibility. Therefore, for any many-to-many relationships in your data,\tyou will need to create two one-to-many relationships. See the example\tbelow:Page 4 of 5\tc. Based on the information from Step 1, create the initial ERD for the College\tScheduling database including the many-to-many relationships. If you need\tassistance to create the entities, refer to labs from Weeks 1 and 2.\td. Assign the primary keys and attributes from the data requirements to the\tproper entities.\te. Save the file as YourName_Lab5A.vsd.\tStep 3: Normalize the database\ta. While the initial ERD is accurate, if you design a database without deviating\tfrom it, you will encounter problems. For example, a course is offered many\ttimes. If you use the course code, for example BIS 245, as the primary key,\tyou will only be able to list the course once. There are three possible solutions.\t1. Assign another primary key, such as an auto-number field, so that\tthe course can be listed multiple times. However, this is not\tacceptable because it introduces redundancy rather than reducing it.\t2. Use a composite primary key consisting of the Course Code and the\tSection code. If you create a unique section code (EXAMPLE:\tYearTerm_Section or 2010SpringA_A), then you can list the course\trepeatedly. Again, this introduces redundancy, and is not an\tacceptable solution.\t3. Split the table to create two tables.\u00a0TostayconsistentwithDeVry\tterminology, create a second Section table. To ensure that a course is\tnot entered twice, you might modify the Section code to include the\tcourse: BIS 245_2010SpringA_A. By consistently using this format,\tyou should not be able to duplicate the section, and can avoid a\tcomplicated composite key. However, as the Section table will serve\tas an associative entity, it is acceptable to borrow the primary keys of\ttheparenttables.\tb. Open the Visio file from Step 2, and add a new page.\u00a0Changethepagetabto\tread Revised. Revise the initial ERD based on the following information.\t1. A Course may exist without being offered. It exists in the catalog.\tCourses are scheduled for a term and given a section. It is the\tschedule course (Section) that students enroll in, that are scheduled\tin rooms and assigned instructors.\t2. A Student can exist without being enrolled in a course.\t3. An Instructor can exist without being assigned to teach a course.\t4. A Room can exist without being scheduled for a course.\tc. Save the file with your revised ERD.Page 5 of 5\tLab 5A Final Deliverables\ta. YourName_Lab5A_ERMatrix.docx\u00a0 (Word Document) from Lab 5A Step 1\tb. YourName_Lab5A.vsd (Visio Diagram) from Lab 5A Step 3.\tSubmit these files to the Week 5 iLabDropbox.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8211;Scenario\/Summary: TCO(s): 2. Given a <a href=\"https:\/\/www.benedictsol.com\/blogs\/bis-245-week-5-lab-er-diagram-and-er-matrix\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-203048","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/203048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=203048"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/203048\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=203048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=203048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=203048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}