Database Assignment #3, Assignments of Database Management Systems (DBMS)

its is a assignment of database management system where we talk about how to use data base and its usage that hkw data based is used by user means the people

Typology: Assignments

2019/2020

Uploaded on 10/27/2020

fahad-siddiqui
fahad-siddiqui 🇵🇰

1

(2)

2 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
SIR SYED UNIVERSITY OF ENGINEERING AND
TECHNOLOGY
INTRODUCTION TO DATABASE MANAGMENT SYSTEM
(SWE 209)
ASSIGNMENT # 3
Submitted by :
Muhammad Fahad Siddiqui (2019-SE-206)
Semester: 4th
Batch: 2019
Section: E
Submitted to :
Sir Shariq-uz-Zaman Durrani
pf3
pf4

Partial preview of the text

Download Database Assignment #3 and more Assignments Database Management Systems (DBMS) in PDF only on Docsity!

SIR SYED UNIVERSITY OF ENGINEERING AND

TECHNOLOGY

INTRODUCTION TO DATABASE MANAGMENT SYSTEM

(SWE 20 9 )

ASSIGNMENT # 3 Submitted by : Muhammad Fahad Siddiqui (2019-SE-206)

Semester: 4th

Batch: 2019

Section: E

Submitted to : Sir Shariq-uz-Zaman Durrani

ASSIGNMENT # 3

Question 1

Find all possible candidates keys? R (A, B, C, D, E, F) FD’S = {AB → C, C → DE, E → F, F →A}

Answer.

AB→C
C→DE
E→F
F→A
(B)+ →B
[BC]+ →B
[BE]+ →BCDEFA
[BE]+ →BEFA
[BE]+ →BFA
[BC, BE, BF]

Question 2

Define anomalies with its types? Use your own examples only

Answer.

ANOMALIES AND ITS TYPE:-

The anomalies naturally occur and result in data that does not match the real-world the database purports to represent Anomalies are caused when there is to too much redundancy in the database’s information. There are three types of Data Anomalies.

Update Anomalies:

It is used when the person has to keep the records current and accurate

for example:

If we have to change or update Students information and detail in a university database then we use update anomalies

So, D→C is a redundant functionally and we will remove it For G: A→B A→C D→A D→B 𝐴+ 𝐴𝐶 So, None of them cover to each other.