Univ

Question 1:

Let us suppose that XYZ University's Administration Office needs a database to handle
student’s transcript data. The following are the requirements:

       The database keeps track of each student's name, enrollment no. (E. No.),
   •
       communication address and phone no., permanent address and phone no., date of
       birth, sex, class, department, college, major subjects (a 4-char code).
       Some applications need to refer individually to the city, state (2-char abbrv.) and
   •
       zip code (some use 5-digit, some use 9) of the student’s address. Some
       applications need to refer to student’s first and last names separately. Enrollment
       no. should be unique number for each student.
       Each department has a name, a 3-char code, location (main building and room
   •
       number), office phone, college, and a list of instructors. Many colleges are
       affiliated to the University. Department names and code are unique, within the
       university.
       Each instructor has his/her enrolment no., first name and last name.
   •
       The course catalog contains the list of courses that XYZ University offers. Each
   •
       course has a number (e.g. 543), name, description, credit hours and department.
       Course numbers are unique within a department, but not unique across the
       university (so taken together, they are unique). Not every course is offered every
       semester.
       Each section has a single instructor (first and last names - no team-taught class),
   •
       semester (1-4) year (2-digit), course number and section number.
       A grade report contains the student's name, E. No, course number and section,
   •
       letter grade (A, B,C, D, E).

Note: If the above user requirements leave out any important detail, assume that it is
handled the way XYZ does things in the real world.

Answer the following questions based on the above requirements and specifications:

       Draw an E-R diagram of the above.
   •
       List all the accompanying attributes/domains (including constraints).
   •
       Convert your E-R diagram to a relational schema:
   •
           o Use naming as specified in the E-R diagram.
           o Use the format as shown in the example below, including:
                       Table name in caps
                       List of attributes with primary key underlined
                       Foreign key specified with table/attribute it references (with ..
                       cascade, it appropriate)
                                                                                   (7 marks)


Answer:
Each department is managed by a chair, and at least one professor. Professors must be assigned to
one, but possibly more departments. At least one professor teaches each course, but a professor
may be on leave and not teach any course. Each course may be taught more than once by
different professors. We know of the department name, the professor name, the
professor employee id, the course names, the course schedule, the term/year that the
course is taught, the departments the professor is assigned to, the department that offers the
course




Identify attribute(s) that uniquely identify each occurrence of that entity.
DEPARTMENT:                        name
DEPT-PROF:                         dept. name
                                   employee id
PROFESSOR:                         employee id
SEMESTER:                          employee id
                                   course name
COURSE:                            course name
STUDENT:                           enrollment number
                                   Semester



Identify Attributes
Identify all entity characteristics relevant to the domain being analyzed.
Excluding those keys already identified:
Schedule, Term, Professor name, Department Chair (which is an employee ID, a foreign
key to Professor)

Map Attributes
Determine which to entity each characteristic belongs. Do not duplicate attributes across
entities. If necessary, contain them in a new, related, entity.
Schedule Semester, term Semester, Chair Department
Department




                    Is
                    Assigned




                   Dept-Prof




   offe
                    has
   rs




                   instructor




                   teaches




                    Semester
Courses
             has




                      Student

  Takes
  exam
          Grade
1 de 3

Recomendados

Univ por
UnivUniv
Univvariable_orr
437 vistas3 diapositivas
Copy Of Univ por
Copy Of UnivCopy Of Univ
Copy Of Univvariable_orr
1.1K vistas3 diapositivas
Example for ER diagram part11 por
Example for ER diagram part11Example for ER diagram part11
Example for ER diagram part11DrMohammed Qassim
15.6K vistas3 diapositivas
Unit i b(er model) por
Unit i b(er model)Unit i b(er model)
Unit i b(er model)Rohit Rathi
433 vistas36 diapositivas
ER diagram powerpoint por
ER diagram powerpointER diagram powerpoint
ER diagram powerpointSteffi Libarios
548 vistas31 diapositivas
GRASPS about Procedural Text por
GRASPS about Procedural TextGRASPS about Procedural Text
GRASPS about Procedural TextNoelyn Cagalawan
1.2K vistas17 diapositivas

Más contenido relacionado

Destacado

Tour Poster por
Tour PosterTour Poster
Tour Posternimh55
192 vistas2 diapositivas
Magallanes por
MagallanesMagallanes
MagallanesNatii
106 vistas3 diapositivas
Greece(Nx Power Lite) por
Greece(Nx Power Lite)Greece(Nx Power Lite)
Greece(Nx Power Lite)RoThia
347 vistas28 diapositivas
Unvasodeleche por
UnvasodelecheUnvasodeleche
Unvasodelecheronny
209 vistas6 diapositivas
Llm Em Direito Empresarial por
Llm Em Direito EmpresarialLlm Em Direito Empresarial
Llm Em Direito Empresarialucammaster
464 vistas6 diapositivas
Adimark Junio 2007 por
Adimark Junio 2007Adimark Junio 2007
Adimark Junio 2007elciudadano2.0
213 vistas1 diapositiva

Destacado(20)

Tour Poster por nimh55
Tour PosterTour Poster
Tour Poster
nimh55192 vistas
Magallanes por Natii
MagallanesMagallanes
Magallanes
Natii106 vistas
Greece(Nx Power Lite) por RoThia
Greece(Nx Power Lite)Greece(Nx Power Lite)
Greece(Nx Power Lite)
RoThia347 vistas
Unvasodeleche por ronny
UnvasodelecheUnvasodeleche
Unvasodeleche
ronny209 vistas
Llm Em Direito Empresarial por ucammaster
Llm Em Direito EmpresarialLlm Em Direito Empresarial
Llm Em Direito Empresarial
ucammaster464 vistas
Core System + Web Shop por daceti
Core System + Web ShopCore System + Web Shop
Core System + Web Shop
daceti523 vistas
Humanage Company Profile 2007 por humanage
Humanage Company Profile 2007Humanage Company Profile 2007
Humanage Company Profile 2007
humanage330 vistas
Magallanes por hubee
MagallanesMagallanes
Magallanes
hubee128 vistas
Esencia por waxsoul
EsenciaEsencia
Esencia
waxsoul249 vistas
Magallanes por pajarracu
MagallanesMagallanes
Magallanes
pajarracu124 vistas
20070705志明公益講座-談創新突破格局 por goriko
20070705志明公益講座-談創新突破格局20070705志明公益講座-談創新突破格局
20070705志明公益講座-談創新突破格局
goriko333 vistas
Creo Recreo Y Aprendo Webquest por Luis Vilchez
Creo Recreo Y Aprendo WebquestCreo Recreo Y Aprendo Webquest
Creo Recreo Y Aprendo Webquest
Luis Vilchez337 vistas
Endicott College por kinship
Endicott CollegeEndicott College
Endicott College
kinship218 vistas
Noche Cultural por voluntario
Noche CulturalNoche Cultural
Noche Cultural
voluntario327 vistas
Magallanes por Lukitazz
MagallanesMagallanes
Magallanes
Lukitazz240 vistas

Similar a Univ

Assignment #1Instruction for properly completing the assignment.docx por
Assignment #1Instruction for properly completing the assignment.docxAssignment #1Instruction for properly completing the assignment.docx
Assignment #1Instruction for properly completing the assignment.docxmurgatroydcrista
8 vistas8 diapositivas
sDownload the attached template called INFO620-Assignment1_LastName.docx por
sDownload the attached template called INFO620-Assignment1_LastName.docxsDownload the attached template called INFO620-Assignment1_LastName.docx
sDownload the attached template called INFO620-Assignment1_LastName.docxpotmanandrea
4 vistas8 diapositivas
4. case study por
4. case study4. case study
4. case studykhoahuy82
5K vistas15 diapositivas
ERModel1.pdf por
ERModel1.pdfERModel1.pdf
ERModel1.pdfMirHazarKhan1
9 vistas33 diapositivas
Introduction er & eer por
Introduction er &  eerIntroduction er &  eer
Introduction er & eersaurabhshertukde
2.2K vistas61 diapositivas
Introduction er & eer por
Introduction er & eerIntroduction er & eer
Introduction er & eersaurabhshertukde
3.7K vistas67 diapositivas

Similar a Univ(20)

Assignment #1Instruction for properly completing the assignment.docx por murgatroydcrista
Assignment #1Instruction for properly completing the assignment.docxAssignment #1Instruction for properly completing the assignment.docx
Assignment #1Instruction for properly completing the assignment.docx
murgatroydcrista8 vistas
sDownload the attached template called INFO620-Assignment1_LastName.docx por potmanandrea
sDownload the attached template called INFO620-Assignment1_LastName.docxsDownload the attached template called INFO620-Assignment1_LastName.docx
sDownload the attached template called INFO620-Assignment1_LastName.docx
potmanandrea4 vistas
4. case study por khoahuy82
4. case study4. case study
4. case study
khoahuy825K vistas
Let us consider the following relational database Profess.pdf por response3
Let us consider the following relational database  Profess.pdfLet us consider the following relational database  Profess.pdf
Let us consider the following relational database Profess.pdf
response33 vistas
please help!! it is for an intro to java class so it must be simple!.pdf por aioils
please help!! it is for an intro to java class so it must be simple!.pdfplease help!! it is for an intro to java class so it must be simple!.pdf
please help!! it is for an intro to java class so it must be simple!.pdf
aioils2 vistas
CSI2132: Database I – Assignment 3: por DeanMurphys
CSI2132: Database I – Assignment 3:CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:
DeanMurphys134 vistas
Introduction basic schema and SQL QUERIES por DHIVYADEVAKI
Introduction basic schema and SQL QUERIESIntroduction basic schema and SQL QUERIES
Introduction basic schema and SQL QUERIES
DHIVYADEVAKI51 vistas
Solution Manual for Fundamentals of Database Systems – Ramez Elmasri, Shamkan... por HenningEnoksen
Solution Manual for Fundamentals of Database Systems – Ramez Elmasri, Shamkan...Solution Manual for Fundamentals of Database Systems – Ramez Elmasri, Shamkan...
Solution Manual for Fundamentals of Database Systems – Ramez Elmasri, Shamkan...
HenningEnoksen15.1K vistas
Lab 2 Modifying a Database Design  Due Week 4 and worth 75 points.docx por ssuser47f0be
Lab 2 Modifying a Database Design  Due Week 4 and worth 75 points.docxLab 2 Modifying a Database Design  Due Week 4 and worth 75 points.docx
Lab 2 Modifying a Database Design  Due Week 4 and worth 75 points.docx
ssuser47f0be2 vistas
Enhanced E-R diagram por Mayank Jain
Enhanced E-R diagramEnhanced E-R diagram
Enhanced E-R diagram
Mayank Jain13.3K vistas
08. Object Oriented Database in DBMS por koolkampus
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
koolkampus9.7K vistas
Similarity computation exploiting the semantic and syntactic inherent structu... por Joydeep Mondal
Similarity computation exploiting the semantic and syntactic inherent structu...Similarity computation exploiting the semantic and syntactic inherent structu...
Similarity computation exploiting the semantic and syntactic inherent structu...
Joydeep Mondal125 vistas

Más de variable_orr

Private por
PrivatePrivate
Privatevariable_orr
400 vistas1 diapositiva
nice yaar por
nice yaarnice yaar
nice yaarvariable_orr
462 vistas1 diapositiva
Open Document V1.1 por
Open Document V1.1Open Document V1.1
Open Document V1.1variable_orr
359 vistas738 diapositivas
Music mobile por
Music mobileMusic mobile
Music mobilevariable_orr
403 vistas24 diapositivas
Open Document V1.1 por
Open Document V1.1Open Document V1.1
Open Document V1.1variable_orr
356 vistas738 diapositivas
Again music por
Again musicAgain music
Again musicvariable_orr
545 vistas74 diapositivas

Más de variable_orr(11)

Último

discussion post.pdf por
discussion post.pdfdiscussion post.pdf
discussion post.pdfjessemercerail
130 vistas1 diapositiva
Use of Probiotics in Aquaculture.pptx por
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptxAKSHAY MANDAL
95 vistas15 diapositivas
Recap of our Class por
Recap of our ClassRecap of our Class
Recap of our ClassCorinne Weisgerber
74 vistas15 diapositivas
ICS3211_lecture 08_2023.pdf por
ICS3211_lecture 08_2023.pdfICS3211_lecture 08_2023.pdf
ICS3211_lecture 08_2023.pdfVanessa Camilleri
127 vistas30 diapositivas
American Psychological Association 7th Edition.pptx por
American Psychological Association  7th Edition.pptxAmerican Psychological Association  7th Edition.pptx
American Psychological Association 7th Edition.pptxSamiullahAfridi4
82 vistas8 diapositivas
MercerJesse2.1Doc.pdf por
MercerJesse2.1Doc.pdfMercerJesse2.1Doc.pdf
MercerJesse2.1Doc.pdfjessemercerail
142 vistas5 diapositivas

Último(20)

Use of Probiotics in Aquaculture.pptx por AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL95 vistas
American Psychological Association 7th Edition.pptx por SamiullahAfridi4
American Psychological Association  7th Edition.pptxAmerican Psychological Association  7th Edition.pptx
American Psychological Association 7th Edition.pptx
SamiullahAfridi482 vistas
11.28.23 Social Capital and Social Exclusion.pptx por mary850239
11.28.23 Social Capital and Social Exclusion.pptx11.28.23 Social Capital and Social Exclusion.pptx
11.28.23 Social Capital and Social Exclusion.pptx
mary850239291 vistas
Lecture: Open Innovation por Michal Hron
Lecture: Open InnovationLecture: Open Innovation
Lecture: Open Innovation
Michal Hron99 vistas
AI Tools for Business and Startups por Svetlin Nakov
AI Tools for Business and StartupsAI Tools for Business and Startups
AI Tools for Business and Startups
Svetlin Nakov105 vistas
Create a Structure in VBNet.pptx por Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P72 vistas
Narration lesson plan.docx por TARIQ KHAN
Narration lesson plan.docxNarration lesson plan.docx
Narration lesson plan.docx
TARIQ KHAN108 vistas
Community-led Open Access Publishing webinar.pptx por Jisc
Community-led Open Access Publishing webinar.pptxCommunity-led Open Access Publishing webinar.pptx
Community-led Open Access Publishing webinar.pptx
Jisc91 vistas
The Open Access Community Framework (OACF) 2023 (1).pptx por Jisc
The Open Access Community Framework (OACF) 2023 (1).pptxThe Open Access Community Framework (OACF) 2023 (1).pptx
The Open Access Community Framework (OACF) 2023 (1).pptx
Jisc107 vistas
Structure and Functions of Cell.pdf por Nithya Murugan
Structure and Functions of Cell.pdfStructure and Functions of Cell.pdf
Structure and Functions of Cell.pdf
Nithya Murugan455 vistas
Solar System and Galaxies.pptx por DrHafizKosar
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptx
DrHafizKosar89 vistas
The Accursed House by Émile Gaboriau por DivyaSheta
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile Gaboriau
DivyaSheta187 vistas
7 NOVEL DRUG DELIVERY SYSTEM.pptx por Sachin Nitave
7 NOVEL DRUG DELIVERY SYSTEM.pptx7 NOVEL DRUG DELIVERY SYSTEM.pptx
7 NOVEL DRUG DELIVERY SYSTEM.pptx
Sachin Nitave59 vistas
11.30.23 Poverty and Inequality in America.pptx por mary850239
11.30.23 Poverty and Inequality in America.pptx11.30.23 Poverty and Inequality in America.pptx
11.30.23 Poverty and Inequality in America.pptx
mary850239149 vistas

Univ

  • 1. Question 1: Let us suppose that XYZ University's Administration Office needs a database to handle student’s transcript data. The following are the requirements: The database keeps track of each student's name, enrollment no. (E. No.), • communication address and phone no., permanent address and phone no., date of birth, sex, class, department, college, major subjects (a 4-char code). Some applications need to refer individually to the city, state (2-char abbrv.) and • zip code (some use 5-digit, some use 9) of the student’s address. Some applications need to refer to student’s first and last names separately. Enrollment no. should be unique number for each student. Each department has a name, a 3-char code, location (main building and room • number), office phone, college, and a list of instructors. Many colleges are affiliated to the University. Department names and code are unique, within the university. Each instructor has his/her enrolment no., first name and last name. • The course catalog contains the list of courses that XYZ University offers. Each • course has a number (e.g. 543), name, description, credit hours and department. Course numbers are unique within a department, but not unique across the university (so taken together, they are unique). Not every course is offered every semester. Each section has a single instructor (first and last names - no team-taught class), • semester (1-4) year (2-digit), course number and section number. A grade report contains the student's name, E. No, course number and section, • letter grade (A, B,C, D, E). Note: If the above user requirements leave out any important detail, assume that it is handled the way XYZ does things in the real world. Answer the following questions based on the above requirements and specifications: Draw an E-R diagram of the above. • List all the accompanying attributes/domains (including constraints). • Convert your E-R diagram to a relational schema: • o Use naming as specified in the E-R diagram. o Use the format as shown in the example below, including: Table name in caps List of attributes with primary key underlined Foreign key specified with table/attribute it references (with .. cascade, it appropriate) (7 marks) Answer:
  • 2. Each department is managed by a chair, and at least one professor. Professors must be assigned to one, but possibly more departments. At least one professor teaches each course, but a professor may be on leave and not teach any course. Each course may be taught more than once by different professors. We know of the department name, the professor name, the professor employee id, the course names, the course schedule, the term/year that the course is taught, the departments the professor is assigned to, the department that offers the course Identify attribute(s) that uniquely identify each occurrence of that entity. DEPARTMENT: name DEPT-PROF: dept. name employee id PROFESSOR: employee id SEMESTER: employee id course name COURSE: course name STUDENT: enrollment number Semester Identify Attributes Identify all entity characteristics relevant to the domain being analyzed. Excluding those keys already identified: Schedule, Term, Professor name, Department Chair (which is an employee ID, a foreign key to Professor) Map Attributes Determine which to entity each characteristic belongs. Do not duplicate attributes across entities. If necessary, contain them in a new, related, entity. Schedule Semester, term Semester, Chair Department
  • 3. Department Is Assigned Dept-Prof offe has rs instructor teaches Semester Courses has Student Takes exam Grade