Copy Of 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

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
2. Entity Relationship Model in DBMS por
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
52.5K vistas73 diapositivas
Data mining Measuring similarity and desimilarity por
Data mining Measuring similarity and desimilarityData mining Measuring similarity and desimilarity
Data mining Measuring similarity and desimilarityRushali Deshmukh
5.3K vistas46 diapositivas
ER diagram powerpoint por
ER diagram powerpointER diagram powerpoint
ER diagram powerpointSteffi Libarios
548 vistas31 diapositivas
Er model ppt por
Er model pptEr model ppt
Er model pptPihu Goel
26.9K vistas19 diapositivas
Data Mining: Concepts and Techniques (3rd ed.) — Chapter _04 olap por
Data Mining:  Concepts and Techniques (3rd ed.)— Chapter _04 olapData Mining:  Concepts and Techniques (3rd ed.)— Chapter _04 olap
Data Mining: Concepts and Techniques (3rd ed.) — Chapter _04 olapSalah Amean
7.6K vistas51 diapositivas

Más contenido relacionado

La actualidad más candente

Database design por
Database designDatabase design
Database designJennifer Polack
3.1K vistas24 diapositivas
Entity relationship modelling por
Entity relationship modellingEntity relationship modelling
Entity relationship modellingDr. C.V. Suresh Babu
6.4K vistas23 diapositivas
Data cleansing por
Data cleansingData cleansing
Data cleansingkunaljain1701
34.8K vistas23 diapositivas
Dbms 7: ER Diagram Design Issue por
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueAmiya9439793168
1.2K vistas8 diapositivas
2.4 rule based classification por
2.4 rule based classification2.4 rule based classification
2.4 rule based classificationKrish_ver2
17.7K vistas12 diapositivas
Chapter 05 classes and objects por
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objectspraveenjigajinni
2.8K vistas67 diapositivas

La actualidad más candente(20)

Dbms 7: ER Diagram Design Issue por Amiya9439793168
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
Amiya94397931681.2K vistas
2.4 rule based classification por Krish_ver2
2.4 rule based classification2.4 rule based classification
2.4 rule based classification
Krish_ver217.7K vistas
Machine learning with scikitlearn por Pratap Dangeti
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearn
Pratap Dangeti3.9K vistas
Analytical learning por swapnac12
Analytical learningAnalytical learning
Analytical learning
swapnac126.1K vistas
Object diagram por Rahul Pola
Object diagramObject diagram
Object diagram
Rahul Pola3.2K vistas
Python Libraries and Modules por RaginiJain21
Python Libraries and ModulesPython Libraries and Modules
Python Libraries and Modules
RaginiJain211.1K vistas
3 pillars of big data : structured data, semi structured data and unstructure... por PROWEBSCRAPER
3 pillars of big data : structured data, semi structured data and unstructure...3 pillars of big data : structured data, semi structured data and unstructure...
3 pillars of big data : structured data, semi structured data and unstructure...
PROWEBSCRAPER3.9K vistas
How to download and install Python - lesson 2 por Shohel Rana
How to download and install Python - lesson 2How to download and install Python - lesson 2
How to download and install Python - lesson 2
Shohel Rana2.1K vistas
Software Engineering :UML class diagrams por Ajit Nayak
Software Engineering :UML class diagramsSoftware Engineering :UML class diagrams
Software Engineering :UML class diagrams
Ajit Nayak3.5K vistas
2.3 bayesian classification por Krish_ver2
2.3 bayesian classification2.3 bayesian classification
2.3 bayesian classification
Krish_ver222.4K vistas

Destacado

About experience with InGenious por
About experience with InGeniousAbout experience with InGenious
About experience with InGeniouslanadot
743 vistas38 diapositivas
The famous people of Estonia por
The famous people of EstoniaThe famous people of Estonia
The famous people of Estonialanadot
4.2K vistas10 diapositivas
Gift to a friend por
Gift to a friendGift to a friend
Gift to a friendlanadot
809 vistas4 diapositivas
Estonia por
EstoniaEstonia
Estoniamaiki21
2.9K vistas21 diapositivas
Estonia Power Point por
Estonia Power PointEstonia Power Point
Estonia Power Pointguesta2a2a1
10K vistas18 diapositivas
Estonia Country PowerPoint Presentation Content por
Estonia Country PowerPoint Presentation ContentEstonia Country PowerPoint Presentation Content
Estonia Country PowerPoint Presentation ContentAndrew Schwartz
3.2K vistas7 diapositivas

Destacado(7)

About experience with InGenious por lanadot
About experience with InGeniousAbout experience with InGenious
About experience with InGenious
lanadot743 vistas
The famous people of Estonia por lanadot
The famous people of EstoniaThe famous people of Estonia
The famous people of Estonia
lanadot4.2K vistas
Gift to a friend por lanadot
Gift to a friendGift to a friend
Gift to a friend
lanadot809 vistas
Estonia por maiki21
EstoniaEstonia
Estonia
maiki212.9K vistas
Estonia Power Point por guesta2a2a1
Estonia Power PointEstonia Power Point
Estonia Power Point
guesta2a2a110K vistas
Estonia Country PowerPoint Presentation Content por Andrew Schwartz
Estonia Country PowerPoint Presentation ContentEstonia Country PowerPoint Presentation Content
Estonia Country PowerPoint Presentation Content
Andrew Schwartz3.2K vistas

Similar a Copy Of Univ

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
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

Similar a Copy Of Univ(20)

Unit i b(er model) por Rohit Rathi
Unit i b(er model)Unit i b(er model)
Unit i b(er model)
Rohit Rathi433 vistas
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

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(13)

Último

Dance KS5 Breakdown por
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 BreakdownWestHatch
69 vistas2 diapositivas
Women from Hackney’s History: Stoke Newington by Sue Doe por
Women from Hackney’s History: Stoke Newington by Sue DoeWomen from Hackney’s History: Stoke Newington by Sue Doe
Women from Hackney’s History: Stoke Newington by Sue DoeHistory of Stoke Newington
148 vistas21 diapositivas
Class 10 English notes 23-24.pptx por
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptxTARIQ KHAN
125 vistas53 diapositivas
Psychology KS5 por
Psychology KS5Psychology KS5
Psychology KS5WestHatch
81 vistas5 diapositivas
Community-led Open Access Publishing webinar.pptx por
Community-led Open Access Publishing webinar.pptxCommunity-led Open Access Publishing webinar.pptx
Community-led Open Access Publishing webinar.pptxJisc
91 vistas9 diapositivas
Ch. 7 Political Participation and Elections.pptx por
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptxRommel Regala
90 vistas11 diapositivas

Último(20)

Dance KS5 Breakdown por WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch69 vistas
Class 10 English notes 23-24.pptx por TARIQ KHAN
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptx
TARIQ KHAN125 vistas
Psychology KS5 por WestHatch
Psychology KS5Psychology KS5
Psychology KS5
WestHatch81 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
Ch. 7 Political Participation and Elections.pptx por Rommel Regala
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptx
Rommel Regala90 vistas
Class 10 English lesson plans por TARIQ KHAN
Class 10 English  lesson plansClass 10 English  lesson plans
Class 10 English lesson plans
TARIQ KHAN280 vistas
Psychology KS4 por WestHatch
Psychology KS4Psychology KS4
Psychology KS4
WestHatch76 vistas
Narration ppt.pptx por TARIQ KHAN
Narration  ppt.pptxNarration  ppt.pptx
Narration ppt.pptx
TARIQ KHAN131 vistas
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively por PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 574 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
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
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
REPRESENTATION - GAUNTLET.pptx por iammrhaywood
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptx
iammrhaywood91 vistas
The basics - information, data, technology and systems.pdf por JonathanCovena1
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdf
JonathanCovena1106 vistas

Copy Of 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