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
Exam (elaborations)

COSC 3380 Final Exam With Complete Answers

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
23-03-2026
Written in
2025/2026

COSC 3380 Final Exam With Complete Answers...

Institution
COSC 3380
Course
COSC 3380

Content preview

COSC 3380 Final Exam With Complete Answers

Informal Guidelines (Measure of DB Quality) - ANSWER -Making sure that the
semantics of the attributes is clear in the schema
-Reducing the redundant information in tuples
-Reducing the NULL values in tuples
-Disallowing the possibility of generating spurious tuples

Normalization - ANSWER -analyzing schemas based on their FDs and primary
keys
-achieves 'desirable' properties:
(1) minimizing redundancy
(2) minimizing the insertion, deletion, and update anomalies

Denormalization - ANSWER -storing the join of higher normal form relations as a
base relation
-is in a lower normal form

dependency preservation property - ANSWER After decomposition, each FD is
still represented (desirable)

lossless join property (nonadditive join) - ANSWER After decomposition, there is
no problem of spurious tuple generation (must have)

First Normal Form (1NF) - ANSWER -nonprime attributes depend on a key (no
duplicate keys/rows)
-cells contain atomic values (indivisible datapoint)

Second Normal Form (2NF) - ANSWER -nonprime attributes are functionally
dependent on the whole key (no partial dependency)

Third Normal Form (3NF) - ANSWER -no nonprime attribute is transitively
dependent on the primary key (nonprime determines nonprime)
-Transitive dependence is the case where primary key X determines Z, and
attributes Z determine Y, so X determines Y, but attributes Z are not candidate
keys or subsets of any primary key. (basically fat tables)

SQL Aggregate Functions - ANSWER -COUNT, MIN, MAX, SUM, AVG

GROUP BY clause - ANSWER -groups aggregates by a certain attribute
-creates one extra group for NULL values

, HAVING Clause - ANSWER -filters applied on resulting groups after GROUP BY
clause

What happens to NULL values in aggregate functions - ANSWER they are
ignored in calculation

SOME - ANSWER -SOME returns true if at least one element in the collection is
true

ALL - ANSWER -ALL returns true if all the elements in the collection are true

VIEW - ANSWER -single table derived from other tables called defining tables
-a virtual table that is not necessarily population
-not stored in the hard-disk
-can be used in queries
-always up-to-date

Natural Join - ANSWER -no join condition
-implicit EQUIJOIN condition for each pair of attributes with the same name from
R and S

Inner Join - ANSWER -default join type
-Tuple is included only if match exists

Left Outer Join (Right Outer Join is opposite) - ANSWER -every tuple in the left
table appears in the result
-if no match then it is padded with NULL values for attributes of the right table

Full Outer Join - ANSWER -left and right outer join combined
_Null values in every column of the table without a matching row

Assertion - ANSWER -specifies additional types of constraints outside the scope
of built-in constraints
-specify a query that selects any tuples that violates a desired condition

Trigger - ANSWER -specifies automatic actions that dbms will perform on
certain events and conditions
-consists of an Event, Condition, and Action

4 Threats To Database Security - ANSWER -loss of integrity (improper
modification)
-loss of availability (cannot access db)
-loss of confidentiality (unauthorized disclosure)

4 Types of Prevention - ANSWER -access control (users)
-inference control (individual info inaccessible)

Written for

Institution
COSC 3380
Course
COSC 3380

Document information

Uploaded on
March 23, 2026
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • normalization
$15.49
Get access to the full document:

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

Get to know the seller

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.
Evergreenview Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
17
Member since
1 year
Number of followers
1
Documents
3231
Last sold
3 days ago

4.8

5 reviews

5
4
4
1
3
0
2
0
1
0

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