SlideShare a Scribd company logo
SERIAL
NO.
NAME ID
1 SIFAT ARA SABA 21-103
2 TANIA AKTAR 21-118
3 KEYA DATTA 21-124
4 AEYSHA AKTER RANI 21-158
5 MD. IMTIAJ HOSSAIN 21-097
6 MD. RAKIBUL ISLAM 21-073
7 MD. SHAKIL AHMED 21-106
8 RUHUL AMIN 21-133
9 MD. PAPPU MIAH 21-178
10 MD. SAYED MURSALIN 21-013
 An entity relationship diagram shows the
relationship of entity sets stored in a
database. At first glance an entity relationship
diagram looks like a flowchart.
 Now we are going to design an ER diagram
for a college database. At first we have to
discuss the database of a college that is
normally seen...
1. A college contains many departments.
2. Each department has a number of sections.
3. Each department can offer any number of
courses.
4. Many instructor work in a department.
5. An instructor can work only in one
department.
6. An instructor can be head of his concerned
department.
7. An instructor teaches any number of courses.
8. Each course is taught by only one instructor.
9. Each student is enlisted in only one section.
10. Each course can have any number of
students.
 Now we have to follow the 4 step procedures to
construct the ER diagram for the above database..
1. Identify the entities and relationship..
Here the entities are-
 Department
 Section
 Courses
 Instructors
 students
Department Has sections
Department Has Courses
Department Has Instractor
Students Enroll Courses
Instractor Teaches Course
DEPT. HAS SECTION
INSTR
UCTE
D BY
HASOFFER
COURSE
TAUGHT
BY
INSTRUC
TOR
ENRO
LLED
BY
STUDENT
S
M
1
1
N
M
N
M
M
M
M
M
1
1. A department has many sections and each
department can have many sections, so the
cardinality between dept. and sections is many to
many. (M:N)
2. One dept offer many courses but one particular
course can be offered by only one department and
courses. So the cardinality between dept and
courses is one to many. (1:N)
3. A department has many instructor but one
instructor can be a member of only one
department. So the cardinality between
department and instructor is one to many. (1:N)
3. Assign Cardinalities between the
relationships:
4.One course can b enrolled by many students
and one student can enrolled for may courses.
Hence the cardinality between students and
courses is many to many. (M:N)
5. One course is taught by only one instructor but
one instructor teaches many courses. Hence the
cardinality between courses and instructor is
many to one.(N:1)
 Department: name, location
 Ccourse: course name, course code, duration
 Instructor: ID, name, Phone number,
Designation.
 Student: ID, name, phone number
 Section: A, B, C
DEPT
OFFER
COURSE
ENROL
LEDBY
STUDENTS
HAS
INSTRACT
OR
HAS
SECTIONTAUGHTBY
Name Location
Dutri
on
Code
Name
Phon
e
Name
Id
Desig
natio
n
Phon
eNameId BA

More Related Content

Similar to computer hardware

Student evaluation of teaching for Kiarash Ahi
Student evaluation of teaching for Kiarash AhiStudent evaluation of teaching for Kiarash Ahi
Student evaluation of teaching for Kiarash Ahi
Kiarash Ahi
 
my presentation.pptx.pdf
my presentation.pptx.pdfmy presentation.pptx.pdf
my presentation.pptx.pdfhmhashmi
 
my presentation.pptx.pdf
my presentation.pptx.pdfmy presentation.pptx.pdf
my presentation.pptx.pdfhmhashmi
 
Lasson systam
Lasson systamLasson systam
Lasson systambader242
 
NUS Teaching Assistant Feedback: CS1010E (Andre Lim)
NUS Teaching Assistant Feedback: CS1010E (Andre Lim)NUS Teaching Assistant Feedback: CS1010E (Andre Lim)
NUS Teaching Assistant Feedback: CS1010E (Andre Lim)Andre Lim
 
Trts
TrtsTrts
Trtshnod
 
SE_Lec 07_UML CLASS DIAGRAM
SE_Lec 07_UML CLASS DIAGRAMSE_Lec 07_UML CLASS DIAGRAM
SE_Lec 07_UML CLASS DIAGRAM
Amr E. Mohamed
 
FS1-EP07-EP08-2021.pdf
FS1-EP07-EP08-2021.pdfFS1-EP07-EP08-2021.pdf
FS1-EP07-EP08-2021.pdf
Niña Mae Sabillo
 
Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...
Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...
Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...
Kiarash Ahi
 
Learning act# 7 learning activities and learning process
Learning act# 7 learning activities and learning processLearning act# 7 learning activities and learning process
Learning act# 7 learning activities and learning process
shaian30
 
Detailed Lesson Plan in Math
Detailed Lesson Plan in Math Detailed Lesson Plan in Math
Detailed Lesson Plan in Math
Lorie Jane Letada
 
2023.DLL.Mathematics.7.Q1.Week..1. april
2023.DLL.Mathematics.7.Q1.Week..1. april2023.DLL.Mathematics.7.Q1.Week..1. april
2023.DLL.Mathematics.7.Q1.Week..1. april
JOLITAINWAYLISBOG
 
Task 2 PPM - Group 5 - Thinking about Content
Task 2 PPM - Group 5 - Thinking about ContentTask 2 PPM - Group 5 - Thinking about Content
Task 2 PPM - Group 5 - Thinking about Contentouronlinemeetings
 
MSE_GSI_Evals
MSE_GSI_EvalsMSE_GSI_Evals
MSE_GSI_EvalsAaron Tan
 
6 Maths Lesson Plan.docx
6 Maths Lesson Plan.docx6 Maths Lesson Plan.docx
6 Maths Lesson Plan.docx
Samruddhi Chepe
 
HBMT 3103 Teaching of Elementary Mathematic
HBMT 3103 Teaching of Elementary MathematicHBMT 3103 Teaching of Elementary Mathematic
HBMT 3103 Teaching of Elementary Mathematic
Cool University
 
中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie
中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie
中国政治-新加坡国立大学教学评估-2014:2015 - Wang JieJie Wang
 

Similar to computer hardware (20)

Trts1
Trts1Trts1
Trts1
 
Student evaluation of teaching for Kiarash Ahi
Student evaluation of teaching for Kiarash AhiStudent evaluation of teaching for Kiarash Ahi
Student evaluation of teaching for Kiarash Ahi
 
my presentation.pptx.pdf
my presentation.pptx.pdfmy presentation.pptx.pdf
my presentation.pptx.pdf
 
my presentation.pptx.pdf
my presentation.pptx.pdfmy presentation.pptx.pdf
my presentation.pptx.pdf
 
Trtsss
TrtsssTrtsss
Trtsss
 
Lasson systam
Lasson systamLasson systam
Lasson systam
 
سلمان7a
سلمان7aسلمان7a
سلمان7a
 
NUS Teaching Assistant Feedback: CS1010E (Andre Lim)
NUS Teaching Assistant Feedback: CS1010E (Andre Lim)NUS Teaching Assistant Feedback: CS1010E (Andre Lim)
NUS Teaching Assistant Feedback: CS1010E (Andre Lim)
 
Trts
TrtsTrts
Trts
 
SE_Lec 07_UML CLASS DIAGRAM
SE_Lec 07_UML CLASS DIAGRAMSE_Lec 07_UML CLASS DIAGRAM
SE_Lec 07_UML CLASS DIAGRAM
 
FS1-EP07-EP08-2021.pdf
FS1-EP07-EP08-2021.pdfFS1-EP07-EP08-2021.pdf
FS1-EP07-EP08-2021.pdf
 
Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...
Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...
Set spring 2017 individual report with comments -a1 f189f2e3-341c-47ec-b004-1...
 
Learning act# 7 learning activities and learning process
Learning act# 7 learning activities and learning processLearning act# 7 learning activities and learning process
Learning act# 7 learning activities and learning process
 
Detailed Lesson Plan in Math
Detailed Lesson Plan in Math Detailed Lesson Plan in Math
Detailed Lesson Plan in Math
 
2023.DLL.Mathematics.7.Q1.Week..1. april
2023.DLL.Mathematics.7.Q1.Week..1. april2023.DLL.Mathematics.7.Q1.Week..1. april
2023.DLL.Mathematics.7.Q1.Week..1. april
 
Task 2 PPM - Group 5 - Thinking about Content
Task 2 PPM - Group 5 - Thinking about ContentTask 2 PPM - Group 5 - Thinking about Content
Task 2 PPM - Group 5 - Thinking about Content
 
MSE_GSI_Evals
MSE_GSI_EvalsMSE_GSI_Evals
MSE_GSI_Evals
 
6 Maths Lesson Plan.docx
6 Maths Lesson Plan.docx6 Maths Lesson Plan.docx
6 Maths Lesson Plan.docx
 
HBMT 3103 Teaching of Elementary Mathematic
HBMT 3103 Teaching of Elementary MathematicHBMT 3103 Teaching of Elementary Mathematic
HBMT 3103 Teaching of Elementary Mathematic
 
中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie
中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie
中国政治-新加坡国立大学教学评估-2014:2015 - Wang Jie
 

More from Rakibul islam

Project management-final
Project management-finalProject management-final
Project management-final
Rakibul islam
 
Walton company case study
Walton company case studyWalton company case study
Walton company case study
Rakibul islam
 
case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh
Rakibul islam
 
Mixed research-methods (1)
Mixed research-methods (1)Mixed research-methods (1)
Mixed research-methods (1)
Rakibul islam
 
Measure & scaling
Measure & scaling Measure & scaling
Measure & scaling
Rakibul islam
 
Bsa 530 presesentation
Bsa 530 presesentationBsa 530 presesentation
Bsa 530 presesentation
Rakibul islam
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
Rakibul islam
 
presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006
Rakibul islam
 
Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.
Rakibul islam
 
Measurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussionMeasurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussion
Rakibul islam
 
Introduction to business, BUSINESS definition
Introduction to business, BUSINESS definitionIntroduction to business, BUSINESS definition
Introduction to business, BUSINESS definition
Rakibul islam
 
Gift tax presentation
Gift tax presentationGift tax presentation
Gift tax presentation
Rakibul islam
 
Labour law
Labour lawLabour law
Labour law
Rakibul islam
 
Excise duty
Excise dutyExcise duty
Excise duty
Rakibul islam
 
Value added tax
Value added taxValue added tax
Value added tax
Rakibul islam
 
Customs duty
Customs dutyCustoms duty
Customs duty
Rakibul islam
 
Bangladesh labour act 209-246
Bangladesh labour act 209-246Bangladesh labour act 209-246
Bangladesh labour act 209-246
Rakibul islam
 
PwC audit firm
PwC audit firmPwC audit firm
PwC audit firm
Rakibul islam
 
Tax presentation
Tax presentationTax presentation
Tax presentation
Rakibul islam
 
Deloitte presentation
Deloitte presentationDeloitte presentation
Deloitte presentation
Rakibul islam
 

More from Rakibul islam (20)

Project management-final
Project management-finalProject management-final
Project management-final
 
Walton company case study
Walton company case studyWalton company case study
Walton company case study
 
case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh
 
Mixed research-methods (1)
Mixed research-methods (1)Mixed research-methods (1)
Mixed research-methods (1)
 
Measure & scaling
Measure & scaling Measure & scaling
Measure & scaling
 
Bsa 530 presesentation
Bsa 530 presesentationBsa 530 presesentation
Bsa 530 presesentation
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
 
presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006
 
Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.
 
Measurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussionMeasurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussion
 
Introduction to business, BUSINESS definition
Introduction to business, BUSINESS definitionIntroduction to business, BUSINESS definition
Introduction to business, BUSINESS definition
 
Gift tax presentation
Gift tax presentationGift tax presentation
Gift tax presentation
 
Labour law
Labour lawLabour law
Labour law
 
Excise duty
Excise dutyExcise duty
Excise duty
 
Value added tax
Value added taxValue added tax
Value added tax
 
Customs duty
Customs dutyCustoms duty
Customs duty
 
Bangladesh labour act 209-246
Bangladesh labour act 209-246Bangladesh labour act 209-246
Bangladesh labour act 209-246
 
PwC audit firm
PwC audit firmPwC audit firm
PwC audit firm
 
Tax presentation
Tax presentationTax presentation
Tax presentation
 
Deloitte presentation
Deloitte presentationDeloitte presentation
Deloitte presentation
 

Recently uploaded

Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 

Recently uploaded (20)

Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 

computer hardware

  • 1.
  • 2. SERIAL NO. NAME ID 1 SIFAT ARA SABA 21-103 2 TANIA AKTAR 21-118 3 KEYA DATTA 21-124 4 AEYSHA AKTER RANI 21-158 5 MD. IMTIAJ HOSSAIN 21-097 6 MD. RAKIBUL ISLAM 21-073 7 MD. SHAKIL AHMED 21-106 8 RUHUL AMIN 21-133 9 MD. PAPPU MIAH 21-178 10 MD. SAYED MURSALIN 21-013
  • 3.  An entity relationship diagram shows the relationship of entity sets stored in a database. At first glance an entity relationship diagram looks like a flowchart.
  • 4.  Now we are going to design an ER diagram for a college database. At first we have to discuss the database of a college that is normally seen... 1. A college contains many departments. 2. Each department has a number of sections. 3. Each department can offer any number of courses.
  • 5. 4. Many instructor work in a department. 5. An instructor can work only in one department. 6. An instructor can be head of his concerned department. 7. An instructor teaches any number of courses. 8. Each course is taught by only one instructor. 9. Each student is enlisted in only one section. 10. Each course can have any number of students.
  • 6.  Now we have to follow the 4 step procedures to construct the ER diagram for the above database.. 1. Identify the entities and relationship.. Here the entities are-  Department  Section  Courses  Instructors  students
  • 7. Department Has sections Department Has Courses Department Has Instractor Students Enroll Courses Instractor Teaches Course
  • 8. DEPT. HAS SECTION INSTR UCTE D BY HASOFFER COURSE TAUGHT BY INSTRUC TOR ENRO LLED BY STUDENT S M 1 1 N M N M M M M M 1
  • 9. 1. A department has many sections and each department can have many sections, so the cardinality between dept. and sections is many to many. (M:N) 2. One dept offer many courses but one particular course can be offered by only one department and courses. So the cardinality between dept and courses is one to many. (1:N) 3. A department has many instructor but one instructor can be a member of only one department. So the cardinality between department and instructor is one to many. (1:N) 3. Assign Cardinalities between the relationships:
  • 10. 4.One course can b enrolled by many students and one student can enrolled for may courses. Hence the cardinality between students and courses is many to many. (M:N) 5. One course is taught by only one instructor but one instructor teaches many courses. Hence the cardinality between courses and instructor is many to one.(N:1)
  • 11.  Department: name, location  Ccourse: course name, course code, duration  Instructor: ID, name, Phone number, Designation.  Student: ID, name, phone number  Section: A, B, C