Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

DATABASE MANAGEMENT SYSTEMS EXAM 1

Document preview thumbnail
Preview 2 out of 8 pages

DATABASE MANAGEMENT SYSTEMS EXAM 1

Content preview

DATABASE MANAGEMENT SYSTEMS EXAM 1

What are the 5 SQL built in functions? - Answers - COUNT
SUM
AVG
MIN
MAX

Entity - Answers - some identifieable thing that users want to track.

Relation - Answers - a two-dimensional table that has certain characteristics

Characteristics of a relation - Answers - - each relation in a database has a unique
name
- rows contain data about a specific instance of an entity
- columns contain data about attributes of the entity class
- all entries in a column are of the same kind
- each column in a given table has a unique name
- cells of the table hold a single value
- the order of the columns is unimportant
- the order of the rows is unimportant
- no two rows may be identical

What are two words that can be used interchangably with "Relation" - Answers - Table
File

What are two words that can be used interchangably with "Attribute" - Answers -
Column
Field

What are two words that can be used interchangably with "Tuple" - Answers - Row
Record

Functional Dependency - Answers - occurs when the value of one (set of) attribute(s)
determines the value of a second (set of) attribute(s)
if A > (B,C) then A > B and A > C
if (A,B) > C then neither A nor B determines C by itself

What makes a determinant value unique? - Answers - a determinant is unique in a
relation if and only if, it determines every other column in the relation.
You cannot find the determinant of all functional dependencies simply by looking for
unique values in one column

Key - Answers - a combination of one or more columns that is used to identify rows in a
relation.

, Composite key - Answers - a key that consists of two or more columns

Candidate key - Answers - a key that determines all of the other columns in a relation

Primary key - Answers - a candidate key selected as the primary means of identifying
rows in a relation.
There is ony one primary key per relation.
The primary key may may be a composite key
the ideal pimary key is short, numeric, and never changes.

Surrogate key - Answers - An artificial column added to a relation to serve as a primary
key.

Foreign key - Answers - the primary key of one relation that is placed in another relation
to form a link between the relations.
can be a single column or a compostie key.
the term refers to the fact that key values are foreign to the relation in which they appear
as foreign key values.

referenctial integrity constraint - Answers - a statement that limits the values of the
foreign key to those already existing as primary key values in the corresponding
relation.

Anomaly - Answers - something unusual, unexpected or abnormal.
bad things when we work with databases.

Modification Anomalies - Answers - Deletion anomaly
insertion anomaly
update anomaly

Normal form - Answers - a relation is in normal form if it conforms to a defined set of
rules (norms)
a relation that conforms to the x set of rules is said to be in xNF.
The purpose is to help us prevent anomalies.

1NF - Answers - a table that qualifies as a relation

2NF - Answers - all of its nonkey attributes are dependent on all the attributes of the
primary key

3NF - Answers - if it is in 2NF and has no determininants except the primary key

Boyce-Codd Normal Form (BCNF) - Answers - if every determinant is a candidate key.

Document information

Uploaded on
December 20, 2024
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA
3.8
(360)
Sold
2134
Followers
1447
Items
58391
Last sold
1 day ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions