SlideShare a Scribd company logo
1 of 9
Download to read offline
Exercise 2.1 Explain the accompanying terms quickly: trait, space, element, relationship,
element set, relationship set, one-to-numerous relationship, numerous to-numerous relationship,
interest limitation, cover requirement, covering imperative, feeble element set, total,
what's more, part marker.
Answer 2.1 No answer gave yet.
Exercise 2.2 A college database contains data about teachers (recognized
by government managed savings number, or SSN) and courses (recognized by courseid).
Teachers
show courses; each of the accompanying circumstances concerns the Teaches relationship set.
For every circumstance, draw an ER outline that portrays it (expecting that no further
limitations hold).
1. Educators can instruct the same course in a few semesters, and every offering must
be recorded.
2. Educators can instruct the same course in a few semesters, and just the most
late such offering should be recorded. (Accept this condition applies taking all things together
consequent inquiries.)
3. Each educator must show some course.
4. Each teacher instructs precisely one course (no all the more, no less).
5. Each teacher instructs precisely one course (no all the more, no less), and each course
must be educated by some educator.
6. Presently assume that specific courses can be instructed by a group of teachers together,
in any case, it is conceivable that nobody teacher in a group can educate the course. Model this
circumstance, presenting extra element sets and relationship sets if important.
Answer 2.2 Answer overlooked.
5
6 Chapter 2
Exercise 2.3 Consider the accompanying data around a college database:
Educators have a SSN, a name, an age, a rank, and an examination claim to fame.
Ventures have a task number, a supporter name (e.g., NSF), a beginning date, an
finishing date, and a financial plan.
Graduate understudies have a SSN, a name, an age, and a degree program (e.g., M.S.
on the other hand Ph.D.).
Every task is overseen by one educator (known as the venture's important specialist).
Every venture is dealt with by one or more educators (known as the undertaking's
co-agents).
Teachers can oversee and/or chip away at different activities.
Every task is chipped away at by one or more graduate understudies (known as the
task's exploration collaborators).
At the point when graduate understudies chip away at a venture, an educator must manage their
work
on the task. Graduate understudies can deal with different tasks, in which case
they will have a (possibly diverse) chief for every one.
Offices have a division number, an office name, and a principle office.
Offices have an educator (known as the executive) who runs the division.
Teachers work in one or more divisions, and for every office that they
work in, a period rate is connected with their occupation.
Graduate understudies have one noteworthy division in which they are chipping away at their
degree.
Every graduate understudy has another, more senior graduate understudy (known as a
understudy counsel) who exhorts him or her on what courses to take.
Outline and draw an ER chart that catches the data about the college.
Utilize just the fundamental ER model here, that is, elements, connections, and characteristics.
Be
beyond any doubt to show any key and investment imperatives.
Answer 2.3 The ER chart is appeared in Figure 2.1.
Exercise 2.4 An organization database needs to store data about representatives (recognized
by ssn, with compensation and telephone as characteristics); divisions (distinguished by dno,
with dname and spending plan as properties); and offspring of workers (with name and age
as traits). Representatives work in offices; every division is overseen by an
The Entity-Relationship Model 7 work_in Manages venture pid support start_date end_date
spending plan Dept Work_dept Runs office dname dno Professor ssn age rank strength Major
Work_proj Graduate Advisor senior graduate ssn pc_time age ssn deg_prog name Supervises
Figure 2.1 ER Diagram for Exercise 2.3
8 Chapter 2
worker; a tyke must be recognized remarkably by name when the guardian (who is an
worker; expect that stand out guardian works for the organization) is known. We are definitely
not
intrigued by data around a tyke once the guardian leaves the organization.
Draw an ER chart that catches this data.
Answer 2.4 Answer overlooked.
Exercise 2.5 Notown Records has chosen to store data about performers who
perform on its collections (and in addition other organization information) in a database. The
organization
has shrewdly contracted you as a database planner (at your typical counseling charge of
$2,500/day).
Every performer that records at Notown has a SSN, a name, a location, and
a telephone number. Ineffectively paid artists regularly have the same location, and no
address has more than one telephone.
Every instrument that is utilized as a part of tunes recorded at Notown has a name (e.g., guitar,
synthesizer, woodwind) and a musical key (e.g., C, B-level, E-level).
Every collection that is recorded on the Notown name has a title, a copyright date, a
position (e.g., CD or MC), and a collection identifier.
Every melody recorded at Notown has a title and a creator.
Every performer may play a few instruments, and a given instrument might be
played by a few performers.
Every collection has various tunes on it, however no tune may show up on more than
one collection.
Every melody is performed by one or more artists, and an artist may play out a
number of melodies.
Every collection has precisely one performer who goes about as its maker. An artist may
produce a few collections, obviously.
Plan a reasonable composition for Notown and draw an ER outline for your construction. The
taking after data portrays the circumstance that the Notown database must model.
Make certain to show all key and cardinality limitations and any presumptions that you
make. Recognize any limitations that you can't catch in the ER outline and
quickly clarify why you couldn't express them.
Answer 2.5 The ER graph is appeared in Figure 2.2.
The Entity-Relationship Model 9 ssn Musicians name Album copyrightDate speed
albumIdentifier dname Instrument instrId key songId Songstitle suthor Plays Appears Perform
Producer title address Home Lives Place Telephone phone_no
Figure 2.2 ER Diagram for Exercise 2.5
10 Chapter 2
Exercise 2.6 Computer Sciences Department regular fliers have been whining
to Dane County Airport authorities about the poor association at the air terminal. As a
result, the authorities have concluded that all data identified with the air terminal ought to be
sorted out utilizing a DBMS, and you've been employed to outline the database. Your first
undertaking
is to sort out the data about every one of the planes that are positioned and kept up
at the air terminal. The applicable data is as per the following:
Each plane has an enlistment number, and every plane is of a particular model.
The air terminal suits various plane models, and every model is distinguished
by a model number (e.g., DC-10) and has a limit and a weight.
Various professionals work at the air terminal. You have to store the name, SSN,
address, telephone number, and pay of every professional.
Every professional is a specialist on one or more plane model(s), and his or her ability
may cover with that of different professionals. This data about specialists
should likewise be recorded.
Movement controllers must have a yearly medicinal examination. For every movement
controller, you should store the date of the latest exam.
All airplane terminal workers (counting specialists) have a place with a union. You should store
the union participation number of every worker. You can accept that each
representative is exceptionally recognized by the government disability number.
The air terminal has various tests that are utilized intermittently to guarantee that planes
are still airworthy. Every test has a Federal Aviation Administration (FAA)
test number, a name, and a most extreme conceivable score.
The FAA requires the air terminal to monitor every time that a given plane
is tried by a given specialist utilizing a given test. For every testing occasion, the
data required is the date, the quantity of hours the specialist spent doing
the test, and the score that the plane got on the test.
1. Draw an ER graph for the air terminal database. Make certain to show the different
qualities of every element and relationship set; likewise indicate the key and interest
imperatives for every relationship set. Determine any vital cover and covering
requirements too (in English).
2. The FAA breezes through a direction that tests on a plane must be led by a professional
who is a specialist on that model. How might you express this requirement in
the ER chart? On the off chance that you can't express it, clarify quickly.
Exercise 3.11 Suppose that we have a ternary relationship R between entity sets A, B, and C such
that A has a key constraint and total participation and B has a key constraint; these are the only
constraints. A has attributes a1 and a2, with a1 being the key; B and C are similar. R has no
descriptive attributes. Write SQL statements that create tables corresponding to this information
so as to capture as many of the constraints as possible. If you cannot capture some constraint,
explain why. Answer 3.11 The following SQL statement creates Table A: CREATE TABLE A (
a1 CHAR(10), a2 CHAR(10), PRIMARY KEY (a1) ) Tables B and C are similar to A. CREATE
TABLE R ( a1 CHAR(10), b1 CHAR(10) NOT NULL , c1 CHAR(10) , PRIMARY KEY (a1),
UNIQUE (b1) FOREIGN KEY (a1) REFERENCES A, FOREIGN KEY (b1) REFERENCES B
) FOREIGN KEY (c1) REFERENCES C ) We cannot capture the total participation constraint of
A in R. This is because we cannot ensure that every key a1 appears in R without the use of
checks. Exercise 3.12 Consider the scenario from Exercise 2.2 where you designed
Solution
Exercise 2.1 Explain the accompanying terms quickly: trait, space, element, relationship,
element set, relationship set, one-to-numerous relationship, numerous to-numerous relationship,
interest limitation, cover requirement, covering imperative, feeble element set, total,
what's more, part marker.
Answer 2.1 No answer gave yet.
Exercise 2.2 A college database contains data about teachers (recognized
by government managed savings number, or SSN) and courses (recognized by courseid).
Teachers
show courses; each of the accompanying circumstances concerns the Teaches relationship set.
For every circumstance, draw an ER outline that portrays it (expecting that no further
limitations hold).
1. Educators can instruct the same course in a few semesters, and every offering must
be recorded.
2. Educators can instruct the same course in a few semesters, and just the most
late such offering should be recorded. (Accept this condition applies taking all things together
consequent inquiries.)
3. Each educator must show some course.
4. Each teacher instructs precisely one course (no all the more, no less).
5. Each teacher instructs precisely one course (no all the more, no less), and each course
must be educated by some educator.
6. Presently assume that specific courses can be instructed by a group of teachers together,
in any case, it is conceivable that nobody teacher in a group can educate the course. Model this
circumstance, presenting extra element sets and relationship sets if important.
Answer 2.2 Answer overlooked.
5
6 Chapter 2
Exercise 2.3 Consider the accompanying data around a college database:
Educators have a SSN, a name, an age, a rank, and an examination claim to fame.
Ventures have a task number, a supporter name (e.g., NSF), a beginning date, an
finishing date, and a financial plan.
Graduate understudies have a SSN, a name, an age, and a degree program (e.g., M.S.
on the other hand Ph.D.).
Every task is overseen by one educator (known as the venture's important specialist).
Every venture is dealt with by one or more educators (known as the undertaking's
co-agents).
Teachers can oversee and/or chip away at different activities.
Every task is chipped away at by one or more graduate understudies (known as the
task's exploration collaborators).
At the point when graduate understudies chip away at a venture, an educator must manage their
work
on the task. Graduate understudies can deal with different tasks, in which case
they will have a (possibly diverse) chief for every one.
Offices have a division number, an office name, and a principle office.
Offices have an educator (known as the executive) who runs the division.
Teachers work in one or more divisions, and for every office that they
work in, a period rate is connected with their occupation.
Graduate understudies have one noteworthy division in which they are chipping away at their
degree.
Every graduate understudy has another, more senior graduate understudy (known as a
understudy counsel) who exhorts him or her on what courses to take.
Outline and draw an ER chart that catches the data about the college.
Utilize just the fundamental ER model here, that is, elements, connections, and characteristics.
Be
beyond any doubt to show any key and investment imperatives.
Answer 2.3 The ER chart is appeared in Figure 2.1.
Exercise 2.4 An organization database needs to store data about representatives (recognized
by ssn, with compensation and telephone as characteristics); divisions (distinguished by dno,
with dname and spending plan as properties); and offspring of workers (with name and age
as traits). Representatives work in offices; every division is overseen by an
The Entity-Relationship Model 7 work_in Manages venture pid support start_date end_date
spending plan Dept Work_dept Runs office dname dno Professor ssn age rank strength Major
Work_proj Graduate Advisor senior graduate ssn pc_time age ssn deg_prog name Supervises
Figure 2.1 ER Diagram for Exercise 2.3
8 Chapter 2
worker; a tyke must be recognized remarkably by name when the guardian (who is an
worker; expect that stand out guardian works for the organization) is known. We are definitely
not
intrigued by data around a tyke once the guardian leaves the organization.
Draw an ER chart that catches this data.
Answer 2.4 Answer overlooked.
Exercise 2.5 Notown Records has chosen to store data about performers who
perform on its collections (and in addition other organization information) in a database. The
organization
has shrewdly contracted you as a database planner (at your typical counseling charge of
$2,500/day).
Every performer that records at Notown has a SSN, a name, a location, and
a telephone number. Ineffectively paid artists regularly have the same location, and no
address has more than one telephone.
Every instrument that is utilized as a part of tunes recorded at Notown has a name (e.g., guitar,
synthesizer, woodwind) and a musical key (e.g., C, B-level, E-level).
Every collection that is recorded on the Notown name has a title, a copyright date, a
position (e.g., CD or MC), and a collection identifier.
Every melody recorded at Notown has a title and a creator.
Every performer may play a few instruments, and a given instrument might be
played by a few performers.
Every collection has various tunes on it, however no tune may show up on more than
one collection.
Every melody is performed by one or more artists, and an artist may play out a
number of melodies.
Every collection has precisely one performer who goes about as its maker. An artist may
produce a few collections, obviously.
Plan a reasonable composition for Notown and draw an ER outline for your construction. The
taking after data portrays the circumstance that the Notown database must model.
Make certain to show all key and cardinality limitations and any presumptions that you
make. Recognize any limitations that you can't catch in the ER outline and
quickly clarify why you couldn't express them.
Answer 2.5 The ER graph is appeared in Figure 2.2.
The Entity-Relationship Model 9 ssn Musicians name Album copyrightDate speed
albumIdentifier dname Instrument instrId key songId Songstitle suthor Plays Appears Perform
Producer title address Home Lives Place Telephone phone_no
Figure 2.2 ER Diagram for Exercise 2.5
10 Chapter 2
Exercise 2.6 Computer Sciences Department regular fliers have been whining
to Dane County Airport authorities about the poor association at the air terminal. As a
result, the authorities have concluded that all data identified with the air terminal ought to be
sorted out utilizing a DBMS, and you've been employed to outline the database. Your first
undertaking
is to sort out the data about every one of the planes that are positioned and kept up
at the air terminal. The applicable data is as per the following:
Each plane has an enlistment number, and every plane is of a particular model.
The air terminal suits various plane models, and every model is distinguished
by a model number (e.g., DC-10) and has a limit and a weight.
Various professionals work at the air terminal. You have to store the name, SSN,
address, telephone number, and pay of every professional.
Every professional is a specialist on one or more plane model(s), and his or her ability
may cover with that of different professionals. This data about specialists
should likewise be recorded.
Movement controllers must have a yearly medicinal examination. For every movement
controller, you should store the date of the latest exam.
All airplane terminal workers (counting specialists) have a place with a union. You should store
the union participation number of every worker. You can accept that each
representative is exceptionally recognized by the government disability number.
The air terminal has various tests that are utilized intermittently to guarantee that planes
are still airworthy. Every test has a Federal Aviation Administration (FAA)
test number, a name, and a most extreme conceivable score.
The FAA requires the air terminal to monitor every time that a given plane
is tried by a given specialist utilizing a given test. For every testing occasion, the
data required is the date, the quantity of hours the specialist spent doing
the test, and the score that the plane got on the test.
1. Draw an ER graph for the air terminal database. Make certain to show the different
qualities of every element and relationship set; likewise indicate the key and interest
imperatives for every relationship set. Determine any vital cover and covering
requirements too (in English).
2. The FAA breezes through a direction that tests on a plane must be led by a professional
who is a specialist on that model. How might you express this requirement in
the ER chart? On the off chance that you can't express it, clarify quickly.
Exercise 3.11 Suppose that we have a ternary relationship R between entity sets A, B, and C such
that A has a key constraint and total participation and B has a key constraint; these are the only
constraints. A has attributes a1 and a2, with a1 being the key; B and C are similar. R has no
descriptive attributes. Write SQL statements that create tables corresponding to this information
so as to capture as many of the constraints as possible. If you cannot capture some constraint,
explain why. Answer 3.11 The following SQL statement creates Table A: CREATE TABLE A (
a1 CHAR(10), a2 CHAR(10), PRIMARY KEY (a1) ) Tables B and C are similar to A. CREATE
TABLE R ( a1 CHAR(10), b1 CHAR(10) NOT NULL , c1 CHAR(10) , PRIMARY KEY (a1),
UNIQUE (b1) FOREIGN KEY (a1) REFERENCES A, FOREIGN KEY (b1) REFERENCES B
) FOREIGN KEY (c1) REFERENCES C ) We cannot capture the total participation constraint of
A in R. This is because we cannot ensure that every key a1 appears in R without the use of
checks. Exercise 3.12 Consider the scenario from Exercise 2.2 where you designed

More Related Content

Similar to Exercise 2.1 Explain the accompanying terms quickly trait, space, e.pdf

Introductory LogicUnit 6 - Assignment 850 pts.I. For each .docx
Introductory LogicUnit 6 - Assignment 850 pts.I. For each .docxIntroductory LogicUnit 6 - Assignment 850 pts.I. For each .docx
Introductory LogicUnit 6 - Assignment 850 pts.I. For each .docx
normanibarber20063
 
Students should work individually on the Mid-Term Students are enco.docx
Students should work individually on the Mid-Term Students are enco.docxStudents should work individually on the Mid-Term Students are enco.docx
Students should work individually on the Mid-Term Students are enco.docx
orlandov3
 
databases2
databases2databases2
databases2
c.west
 
ES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docx
ES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docxES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docx
ES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docx
SALU18
 
M2-Building the Assessment-June 2014-FINAL
M2-Building the Assessment-June 2014-FINALM2-Building the Assessment-June 2014-FINAL
M2-Building the Assessment-June 2014-FINAL
Research in Action, Inc.
 
A2 databases
A2 databasesA2 databases
A2 databases
c.west
 
© Charles T. Diebold, Ph.D., 73013. All Rights Reserved. Pa.docx
© Charles T. Diebold, Ph.D., 73013. All Rights Reserved.  Pa.docx© Charles T. Diebold, Ph.D., 73013. All Rights Reserved.  Pa.docx
© Charles T. Diebold, Ph.D., 73013. All Rights Reserved. Pa.docx
LynellBull52
 
Criteria No Submission0 pointsEmerging (F through .docx
Criteria No Submission0 pointsEmerging (F through .docxCriteria No Submission0 pointsEmerging (F through .docx
Criteria No Submission0 pointsEmerging (F through .docx
willcoxjanay
 

Similar to Exercise 2.1 Explain the accompanying terms quickly trait, space, e.pdf (19)

Computer sec2-1st term
Computer sec2-1st termComputer sec2-1st term
Computer sec2-1st term
 
Introductory LogicUnit 6 - Assignment 850 pts.I. For each .docx
Introductory LogicUnit 6 - Assignment 850 pts.I. For each .docxIntroductory LogicUnit 6 - Assignment 850 pts.I. For each .docx
Introductory LogicUnit 6 - Assignment 850 pts.I. For each .docx
 
4. case study
4. case study4. case study
4. case study
 
introduction of database in DBMS
introduction of database in DBMSintroduction of database in DBMS
introduction of database in DBMS
 
Students should work individually on the Mid-Term Students are enco.docx
Students should work individually on the Mid-Term Students are enco.docxStudents should work individually on the Mid-Term Students are enco.docx
Students should work individually on the Mid-Term Students are enco.docx
 
Bus 308
Bus 308Bus 308
Bus 308
 
databases2
databases2databases2
databases2
 
IT6701-Information Management Unit 1
IT6701-Information Management Unit 1IT6701-Information Management Unit 1
IT6701-Information Management Unit 1
 
CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:
 
ES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docx
ES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docxES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docx
ES 1010 Unit VIII Assignment WorksheetPart 1 Finding the Distan.docx
 
Er diagrams
Er diagramsEr diagrams
Er diagrams
 
M2-Building the Assessment-June 2014-FINAL
M2-Building the Assessment-June 2014-FINALM2-Building the Assessment-June 2014-FINAL
M2-Building the Assessment-June 2014-FINAL
 
A2 databases
A2 databasesA2 databases
A2 databases
 
Solution of Erds
Solution of ErdsSolution of Erds
Solution of Erds
 
Dba2 spec
Dba2 specDba2 spec
Dba2 spec
 
Er model
Er modelEr model
Er model
 
© Charles T. Diebold, Ph.D., 73013. All Rights Reserved. Pa.docx
© Charles T. Diebold, Ph.D., 73013. All Rights Reserved.  Pa.docx© Charles T. Diebold, Ph.D., 73013. All Rights Reserved.  Pa.docx
© Charles T. Diebold, Ph.D., 73013. All Rights Reserved. Pa.docx
 
Criteria No Submission0 pointsEmerging (F through .docx
Criteria No Submission0 pointsEmerging (F through .docxCriteria No Submission0 pointsEmerging (F through .docx
Criteria No Submission0 pointsEmerging (F through .docx
 
Normalization
NormalizationNormalization
Normalization
 

More from apoorvikamobileworld

Vector is living organisms that can transmit infectious diseases bet.pdf
Vector is living organisms that can transmit infectious diseases bet.pdfVector is living organisms that can transmit infectious diseases bet.pdf
Vector is living organisms that can transmit infectious diseases bet.pdf
apoorvikamobileworld
 
The Human Genome Project (HGP) was an international scientific proje.pdf
The Human Genome Project (HGP) was an international scientific proje.pdfThe Human Genome Project (HGP) was an international scientific proje.pdf
The Human Genome Project (HGP) was an international scientific proje.pdf
apoorvikamobileworld
 
Since no two IT firms are same, and cyberthreats are Custom built to.pdf
Since no two IT firms are same, and cyberthreats are Custom built to.pdfSince no two IT firms are same, and cyberthreats are Custom built to.pdf
Since no two IT firms are same, and cyberthreats are Custom built to.pdf
apoorvikamobileworld
 
Q2Which of the following organism can be classified as an obligato.pdf
Q2Which of the following organism can be classified as an obligato.pdfQ2Which of the following organism can be classified as an obligato.pdf
Q2Which of the following organism can be classified as an obligato.pdf
apoorvikamobileworld
 
Please find the answers and explanations below1. Dendritic cells .pdf
Please find the answers and explanations below1. Dendritic cells .pdfPlease find the answers and explanations below1. Dendritic cells .pdf
Please find the answers and explanations below1. Dendritic cells .pdf
apoorvikamobileworld
 
Ionic bonds are when opposite charges are attracted to each other. P.pdf
Ionic bonds are when opposite charges are attracted to each other. P.pdfIonic bonds are when opposite charges are attracted to each other. P.pdf
Ionic bonds are when opposite charges are attracted to each other. P.pdf
apoorvikamobileworld
 
Human capital is the stock of knowledge, habits, social and personal.pdf
Human capital is the stock of knowledge, habits, social and personal.pdfHuman capital is the stock of knowledge, habits, social and personal.pdf
Human capital is the stock of knowledge, habits, social and personal.pdf
apoorvikamobileworld
 

More from apoorvikamobileworld (20)

Vector is living organisms that can transmit infectious diseases bet.pdf
Vector is living organisms that can transmit infectious diseases bet.pdfVector is living organisms that can transmit infectious diseases bet.pdf
Vector is living organisms that can transmit infectious diseases bet.pdf
 
There is not adequate information. The reference to context is missi.pdf
There is not adequate information. The reference to context is missi.pdfThere is not adequate information. The reference to context is missi.pdf
There is not adequate information. The reference to context is missi.pdf
 
the remaining zeroes are-3-i and 2+iSolutionthe remaining ze.pdf
the remaining zeroes are-3-i and 2+iSolutionthe remaining ze.pdfthe remaining zeroes are-3-i and 2+iSolutionthe remaining ze.pdf
the remaining zeroes are-3-i and 2+iSolutionthe remaining ze.pdf
 
The Human Genome Project (HGP) was an international scientific proje.pdf
The Human Genome Project (HGP) was an international scientific proje.pdfThe Human Genome Project (HGP) was an international scientific proje.pdf
The Human Genome Project (HGP) was an international scientific proje.pdf
 
Since no two IT firms are same, and cyberthreats are Custom built to.pdf
Since no two IT firms are same, and cyberthreats are Custom built to.pdfSince no two IT firms are same, and cyberthreats are Custom built to.pdf
Since no two IT firms are same, and cyberthreats are Custom built to.pdf
 
SO2 -Dipole-Dipole because this force requires 2 polar molecules. Th.pdf
SO2 -Dipole-Dipole because this force requires 2 polar molecules. Th.pdfSO2 -Dipole-Dipole because this force requires 2 polar molecules. Th.pdf
SO2 -Dipole-Dipole because this force requires 2 polar molecules. Th.pdf
 
Q2Which of the following organism can be classified as an obligato.pdf
Q2Which of the following organism can be classified as an obligato.pdfQ2Which of the following organism can be classified as an obligato.pdf
Q2Which of the following organism can be classified as an obligato.pdf
 
s 0.02 = 2.210^-16s = 1.110^-14Solutions 0.02 = 2.210.pdf
s  0.02 = 2.210^-16s = 1.110^-14Solutions  0.02 = 2.210.pdfs  0.02 = 2.210^-16s = 1.110^-14Solutions  0.02 = 2.210.pdf
s 0.02 = 2.210^-16s = 1.110^-14Solutions 0.02 = 2.210.pdf
 
Please find the answers and explanations below1. Dendritic cells .pdf
Please find the answers and explanations below1. Dendritic cells .pdfPlease find the answers and explanations below1. Dendritic cells .pdf
Please find the answers and explanations below1. Dendritic cells .pdf
 
import java.util.;public class FirstChars {    public static vo.pdf
import java.util.;public class FirstChars {    public static vo.pdfimport java.util.;public class FirstChars {    public static vo.pdf
import java.util.;public class FirstChars {    public static vo.pdf
 
odds means number of favorable outcomesnumber of non-favorable outc.pdf
odds means number of favorable outcomesnumber of non-favorable outc.pdfodds means number of favorable outcomesnumber of non-favorable outc.pdf
odds means number of favorable outcomesnumber of non-favorable outc.pdf
 
Part A Rise of endomembrane system in the eukaryotic cells generall.pdf
Part A Rise of endomembrane system in the eukaryotic cells generall.pdfPart A Rise of endomembrane system in the eukaryotic cells generall.pdf
Part A Rise of endomembrane system in the eukaryotic cells generall.pdf
 
No ones been able to see them because no microscope is strong enou.pdf
No ones been able to see them because no microscope is strong enou.pdfNo ones been able to see them because no microscope is strong enou.pdf
No ones been able to see them because no microscope is strong enou.pdf
 
Molecular          Br2(l) + 2NaI(aq) -   2 NaBr(aq) + I2(s)Net I.pdf
Molecular          Br2(l) + 2NaI(aq) -   2 NaBr(aq) + I2(s)Net I.pdfMolecular          Br2(l) + 2NaI(aq) -   2 NaBr(aq) + I2(s)Net I.pdf
Molecular          Br2(l) + 2NaI(aq) -   2 NaBr(aq) + I2(s)Net I.pdf
 
Ionic bonds are when opposite charges are attracted to each other. P.pdf
Ionic bonds are when opposite charges are attracted to each other. P.pdfIonic bonds are when opposite charges are attracted to each other. P.pdf
Ionic bonds are when opposite charges are attracted to each other. P.pdf
 
i will help youSolutioni will help you.pdf
i will help youSolutioni will help you.pdfi will help youSolutioni will help you.pdf
i will help youSolutioni will help you.pdf
 
Human capital is the stock of knowledge, habits, social and personal.pdf
Human capital is the stock of knowledge, habits, social and personal.pdfHuman capital is the stock of knowledge, habits, social and personal.pdf
Human capital is the stock of knowledge, habits, social and personal.pdf
 
Gregor Mendel is called the father of genetics, because he introduce.pdf
Gregor Mendel is called the father of genetics, because he introduce.pdfGregor Mendel is called the father of genetics, because he introduce.pdf
Gregor Mendel is called the father of genetics, because he introduce.pdf
 
Dichlorine hexoxide(Cl2 O6) is the chemical compound with the formul.pdf
Dichlorine hexoxide(Cl2 O6) is the chemical compound with the formul.pdfDichlorine hexoxide(Cl2 O6) is the chemical compound with the formul.pdf
Dichlorine hexoxide(Cl2 O6) is the chemical compound with the formul.pdf
 
correct answerA) Carbon atoms occupy positions interstitial in fe.pdf
correct answerA) Carbon atoms occupy positions interstitial in fe.pdfcorrect answerA) Carbon atoms occupy positions interstitial in fe.pdf
correct answerA) Carbon atoms occupy positions interstitial in fe.pdf
 

Recently uploaded

Recently uploaded (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Exercise 2.1 Explain the accompanying terms quickly trait, space, e.pdf

  • 1. Exercise 2.1 Explain the accompanying terms quickly: trait, space, element, relationship, element set, relationship set, one-to-numerous relationship, numerous to-numerous relationship, interest limitation, cover requirement, covering imperative, feeble element set, total, what's more, part marker. Answer 2.1 No answer gave yet. Exercise 2.2 A college database contains data about teachers (recognized by government managed savings number, or SSN) and courses (recognized by courseid). Teachers show courses; each of the accompanying circumstances concerns the Teaches relationship set. For every circumstance, draw an ER outline that portrays it (expecting that no further limitations hold). 1. Educators can instruct the same course in a few semesters, and every offering must be recorded. 2. Educators can instruct the same course in a few semesters, and just the most late such offering should be recorded. (Accept this condition applies taking all things together consequent inquiries.) 3. Each educator must show some course. 4. Each teacher instructs precisely one course (no all the more, no less). 5. Each teacher instructs precisely one course (no all the more, no less), and each course must be educated by some educator. 6. Presently assume that specific courses can be instructed by a group of teachers together, in any case, it is conceivable that nobody teacher in a group can educate the course. Model this circumstance, presenting extra element sets and relationship sets if important. Answer 2.2 Answer overlooked. 5 6 Chapter 2 Exercise 2.3 Consider the accompanying data around a college database: Educators have a SSN, a name, an age, a rank, and an examination claim to fame. Ventures have a task number, a supporter name (e.g., NSF), a beginning date, an finishing date, and a financial plan. Graduate understudies have a SSN, a name, an age, and a degree program (e.g., M.S. on the other hand Ph.D.). Every task is overseen by one educator (known as the venture's important specialist). Every venture is dealt with by one or more educators (known as the undertaking's co-agents).
  • 2. Teachers can oversee and/or chip away at different activities. Every task is chipped away at by one or more graduate understudies (known as the task's exploration collaborators). At the point when graduate understudies chip away at a venture, an educator must manage their work on the task. Graduate understudies can deal with different tasks, in which case they will have a (possibly diverse) chief for every one. Offices have a division number, an office name, and a principle office. Offices have an educator (known as the executive) who runs the division. Teachers work in one or more divisions, and for every office that they work in, a period rate is connected with their occupation. Graduate understudies have one noteworthy division in which they are chipping away at their degree. Every graduate understudy has another, more senior graduate understudy (known as a understudy counsel) who exhorts him or her on what courses to take. Outline and draw an ER chart that catches the data about the college. Utilize just the fundamental ER model here, that is, elements, connections, and characteristics. Be beyond any doubt to show any key and investment imperatives. Answer 2.3 The ER chart is appeared in Figure 2.1. Exercise 2.4 An organization database needs to store data about representatives (recognized by ssn, with compensation and telephone as characteristics); divisions (distinguished by dno, with dname and spending plan as properties); and offspring of workers (with name and age as traits). Representatives work in offices; every division is overseen by an The Entity-Relationship Model 7 work_in Manages venture pid support start_date end_date spending plan Dept Work_dept Runs office dname dno Professor ssn age rank strength Major Work_proj Graduate Advisor senior graduate ssn pc_time age ssn deg_prog name Supervises Figure 2.1 ER Diagram for Exercise 2.3 8 Chapter 2 worker; a tyke must be recognized remarkably by name when the guardian (who is an worker; expect that stand out guardian works for the organization) is known. We are definitely not intrigued by data around a tyke once the guardian leaves the organization. Draw an ER chart that catches this data. Answer 2.4 Answer overlooked. Exercise 2.5 Notown Records has chosen to store data about performers who
  • 3. perform on its collections (and in addition other organization information) in a database. The organization has shrewdly contracted you as a database planner (at your typical counseling charge of $2,500/day). Every performer that records at Notown has a SSN, a name, a location, and a telephone number. Ineffectively paid artists regularly have the same location, and no address has more than one telephone. Every instrument that is utilized as a part of tunes recorded at Notown has a name (e.g., guitar, synthesizer, woodwind) and a musical key (e.g., C, B-level, E-level). Every collection that is recorded on the Notown name has a title, a copyright date, a position (e.g., CD or MC), and a collection identifier. Every melody recorded at Notown has a title and a creator. Every performer may play a few instruments, and a given instrument might be played by a few performers. Every collection has various tunes on it, however no tune may show up on more than one collection. Every melody is performed by one or more artists, and an artist may play out a number of melodies. Every collection has precisely one performer who goes about as its maker. An artist may produce a few collections, obviously. Plan a reasonable composition for Notown and draw an ER outline for your construction. The taking after data portrays the circumstance that the Notown database must model. Make certain to show all key and cardinality limitations and any presumptions that you make. Recognize any limitations that you can't catch in the ER outline and quickly clarify why you couldn't express them. Answer 2.5 The ER graph is appeared in Figure 2.2. The Entity-Relationship Model 9 ssn Musicians name Album copyrightDate speed albumIdentifier dname Instrument instrId key songId Songstitle suthor Plays Appears Perform Producer title address Home Lives Place Telephone phone_no Figure 2.2 ER Diagram for Exercise 2.5 10 Chapter 2 Exercise 2.6 Computer Sciences Department regular fliers have been whining to Dane County Airport authorities about the poor association at the air terminal. As a result, the authorities have concluded that all data identified with the air terminal ought to be sorted out utilizing a DBMS, and you've been employed to outline the database. Your first undertaking
  • 4. is to sort out the data about every one of the planes that are positioned and kept up at the air terminal. The applicable data is as per the following: Each plane has an enlistment number, and every plane is of a particular model. The air terminal suits various plane models, and every model is distinguished by a model number (e.g., DC-10) and has a limit and a weight. Various professionals work at the air terminal. You have to store the name, SSN, address, telephone number, and pay of every professional. Every professional is a specialist on one or more plane model(s), and his or her ability may cover with that of different professionals. This data about specialists should likewise be recorded. Movement controllers must have a yearly medicinal examination. For every movement controller, you should store the date of the latest exam. All airplane terminal workers (counting specialists) have a place with a union. You should store the union participation number of every worker. You can accept that each representative is exceptionally recognized by the government disability number. The air terminal has various tests that are utilized intermittently to guarantee that planes are still airworthy. Every test has a Federal Aviation Administration (FAA) test number, a name, and a most extreme conceivable score. The FAA requires the air terminal to monitor every time that a given plane is tried by a given specialist utilizing a given test. For every testing occasion, the data required is the date, the quantity of hours the specialist spent doing the test, and the score that the plane got on the test. 1. Draw an ER graph for the air terminal database. Make certain to show the different qualities of every element and relationship set; likewise indicate the key and interest imperatives for every relationship set. Determine any vital cover and covering requirements too (in English). 2. The FAA breezes through a direction that tests on a plane must be led by a professional who is a specialist on that model. How might you express this requirement in the ER chart? On the off chance that you can't express it, clarify quickly. Exercise 3.11 Suppose that we have a ternary relationship R between entity sets A, B, and C such that A has a key constraint and total participation and B has a key constraint; these are the only constraints. A has attributes a1 and a2, with a1 being the key; B and C are similar. R has no descriptive attributes. Write SQL statements that create tables corresponding to this information so as to capture as many of the constraints as possible. If you cannot capture some constraint, explain why. Answer 3.11 The following SQL statement creates Table A: CREATE TABLE A ( a1 CHAR(10), a2 CHAR(10), PRIMARY KEY (a1) ) Tables B and C are similar to A. CREATE
  • 5. TABLE R ( a1 CHAR(10), b1 CHAR(10) NOT NULL , c1 CHAR(10) , PRIMARY KEY (a1), UNIQUE (b1) FOREIGN KEY (a1) REFERENCES A, FOREIGN KEY (b1) REFERENCES B ) FOREIGN KEY (c1) REFERENCES C ) We cannot capture the total participation constraint of A in R. This is because we cannot ensure that every key a1 appears in R without the use of checks. Exercise 3.12 Consider the scenario from Exercise 2.2 where you designed Solution Exercise 2.1 Explain the accompanying terms quickly: trait, space, element, relationship, element set, relationship set, one-to-numerous relationship, numerous to-numerous relationship, interest limitation, cover requirement, covering imperative, feeble element set, total, what's more, part marker. Answer 2.1 No answer gave yet. Exercise 2.2 A college database contains data about teachers (recognized by government managed savings number, or SSN) and courses (recognized by courseid). Teachers show courses; each of the accompanying circumstances concerns the Teaches relationship set. For every circumstance, draw an ER outline that portrays it (expecting that no further limitations hold). 1. Educators can instruct the same course in a few semesters, and every offering must be recorded. 2. Educators can instruct the same course in a few semesters, and just the most late such offering should be recorded. (Accept this condition applies taking all things together consequent inquiries.) 3. Each educator must show some course. 4. Each teacher instructs precisely one course (no all the more, no less). 5. Each teacher instructs precisely one course (no all the more, no less), and each course must be educated by some educator. 6. Presently assume that specific courses can be instructed by a group of teachers together, in any case, it is conceivable that nobody teacher in a group can educate the course. Model this circumstance, presenting extra element sets and relationship sets if important. Answer 2.2 Answer overlooked. 5 6 Chapter 2 Exercise 2.3 Consider the accompanying data around a college database: Educators have a SSN, a name, an age, a rank, and an examination claim to fame.
  • 6. Ventures have a task number, a supporter name (e.g., NSF), a beginning date, an finishing date, and a financial plan. Graduate understudies have a SSN, a name, an age, and a degree program (e.g., M.S. on the other hand Ph.D.). Every task is overseen by one educator (known as the venture's important specialist). Every venture is dealt with by one or more educators (known as the undertaking's co-agents). Teachers can oversee and/or chip away at different activities. Every task is chipped away at by one or more graduate understudies (known as the task's exploration collaborators). At the point when graduate understudies chip away at a venture, an educator must manage their work on the task. Graduate understudies can deal with different tasks, in which case they will have a (possibly diverse) chief for every one. Offices have a division number, an office name, and a principle office. Offices have an educator (known as the executive) who runs the division. Teachers work in one or more divisions, and for every office that they work in, a period rate is connected with their occupation. Graduate understudies have one noteworthy division in which they are chipping away at their degree. Every graduate understudy has another, more senior graduate understudy (known as a understudy counsel) who exhorts him or her on what courses to take. Outline and draw an ER chart that catches the data about the college. Utilize just the fundamental ER model here, that is, elements, connections, and characteristics. Be beyond any doubt to show any key and investment imperatives. Answer 2.3 The ER chart is appeared in Figure 2.1. Exercise 2.4 An organization database needs to store data about representatives (recognized by ssn, with compensation and telephone as characteristics); divisions (distinguished by dno, with dname and spending plan as properties); and offspring of workers (with name and age as traits). Representatives work in offices; every division is overseen by an The Entity-Relationship Model 7 work_in Manages venture pid support start_date end_date spending plan Dept Work_dept Runs office dname dno Professor ssn age rank strength Major Work_proj Graduate Advisor senior graduate ssn pc_time age ssn deg_prog name Supervises Figure 2.1 ER Diagram for Exercise 2.3 8 Chapter 2
  • 7. worker; a tyke must be recognized remarkably by name when the guardian (who is an worker; expect that stand out guardian works for the organization) is known. We are definitely not intrigued by data around a tyke once the guardian leaves the organization. Draw an ER chart that catches this data. Answer 2.4 Answer overlooked. Exercise 2.5 Notown Records has chosen to store data about performers who perform on its collections (and in addition other organization information) in a database. The organization has shrewdly contracted you as a database planner (at your typical counseling charge of $2,500/day). Every performer that records at Notown has a SSN, a name, a location, and a telephone number. Ineffectively paid artists regularly have the same location, and no address has more than one telephone. Every instrument that is utilized as a part of tunes recorded at Notown has a name (e.g., guitar, synthesizer, woodwind) and a musical key (e.g., C, B-level, E-level). Every collection that is recorded on the Notown name has a title, a copyright date, a position (e.g., CD or MC), and a collection identifier. Every melody recorded at Notown has a title and a creator. Every performer may play a few instruments, and a given instrument might be played by a few performers. Every collection has various tunes on it, however no tune may show up on more than one collection. Every melody is performed by one or more artists, and an artist may play out a number of melodies. Every collection has precisely one performer who goes about as its maker. An artist may produce a few collections, obviously. Plan a reasonable composition for Notown and draw an ER outline for your construction. The taking after data portrays the circumstance that the Notown database must model. Make certain to show all key and cardinality limitations and any presumptions that you make. Recognize any limitations that you can't catch in the ER outline and quickly clarify why you couldn't express them. Answer 2.5 The ER graph is appeared in Figure 2.2. The Entity-Relationship Model 9 ssn Musicians name Album copyrightDate speed albumIdentifier dname Instrument instrId key songId Songstitle suthor Plays Appears Perform Producer title address Home Lives Place Telephone phone_no
  • 8. Figure 2.2 ER Diagram for Exercise 2.5 10 Chapter 2 Exercise 2.6 Computer Sciences Department regular fliers have been whining to Dane County Airport authorities about the poor association at the air terminal. As a result, the authorities have concluded that all data identified with the air terminal ought to be sorted out utilizing a DBMS, and you've been employed to outline the database. Your first undertaking is to sort out the data about every one of the planes that are positioned and kept up at the air terminal. The applicable data is as per the following: Each plane has an enlistment number, and every plane is of a particular model. The air terminal suits various plane models, and every model is distinguished by a model number (e.g., DC-10) and has a limit and a weight. Various professionals work at the air terminal. You have to store the name, SSN, address, telephone number, and pay of every professional. Every professional is a specialist on one or more plane model(s), and his or her ability may cover with that of different professionals. This data about specialists should likewise be recorded. Movement controllers must have a yearly medicinal examination. For every movement controller, you should store the date of the latest exam. All airplane terminal workers (counting specialists) have a place with a union. You should store the union participation number of every worker. You can accept that each representative is exceptionally recognized by the government disability number. The air terminal has various tests that are utilized intermittently to guarantee that planes are still airworthy. Every test has a Federal Aviation Administration (FAA) test number, a name, and a most extreme conceivable score. The FAA requires the air terminal to monitor every time that a given plane is tried by a given specialist utilizing a given test. For every testing occasion, the data required is the date, the quantity of hours the specialist spent doing the test, and the score that the plane got on the test. 1. Draw an ER graph for the air terminal database. Make certain to show the different qualities of every element and relationship set; likewise indicate the key and interest imperatives for every relationship set. Determine any vital cover and covering requirements too (in English). 2. The FAA breezes through a direction that tests on a plane must be led by a professional who is a specialist on that model. How might you express this requirement in the ER chart? On the off chance that you can't express it, clarify quickly.
  • 9. Exercise 3.11 Suppose that we have a ternary relationship R between entity sets A, B, and C such that A has a key constraint and total participation and B has a key constraint; these are the only constraints. A has attributes a1 and a2, with a1 being the key; B and C are similar. R has no descriptive attributes. Write SQL statements that create tables corresponding to this information so as to capture as many of the constraints as possible. If you cannot capture some constraint, explain why. Answer 3.11 The following SQL statement creates Table A: CREATE TABLE A ( a1 CHAR(10), a2 CHAR(10), PRIMARY KEY (a1) ) Tables B and C are similar to A. CREATE TABLE R ( a1 CHAR(10), b1 CHAR(10) NOT NULL , c1 CHAR(10) , PRIMARY KEY (a1), UNIQUE (b1) FOREIGN KEY (a1) REFERENCES A, FOREIGN KEY (b1) REFERENCES B ) FOREIGN KEY (c1) REFERENCES C ) We cannot capture the total participation constraint of A in R. This is because we cannot ensure that every key a1 appears in R without the use of checks. Exercise 3.12 Consider the scenario from Exercise 2.2 where you designed