Beruflich Dokumente
Kultur Dokumente
Awais Ali
Respected
teacher
Zeeshan sb
Introduction
Definition
Uses
Advantages
Disadavtages
Artificial = a human creation that did not
occur in nature
Intelligence= the ability to learn and apply
knowledge
Artificial Intelligence = man made
device/system that is able to act the task
according to human intelligence
Artificial intelligence is the branch of
computer science in which we study
about tasks perform by machines and
also study to develop system/device to
perform these tasks such as reasoning
learning e.t.c
Game playing
General problem solving
Natural language processing
Robotics
Education
others
Uses robots for heavy constructions, military
benefits, or even for personal assistance at
private home
There will less injuries and stress to human
beings
Many health now have possible to with the use
of Artificial Intelligence in study at
universities
It will long time to build
Can not provide a human feelings
No emotional understanding
Lesser jobs
High cost
Third Normal Form (3NF)
Solution:
Apply first three normal forms.
Normalization
2NF:
The partial dependencies are removed from the table to be in
2NF. The functional dependencies for the Student table are:
StdID, DeptID -> Position (full functional dependency)
DeptID -> DeptName (partial dependency as DeptID part of
primary key)
DeptID -> SupID (partial dependency as DeptID part of
primary key)
Normalization
2NF:
To convert the Student table into 2NF extract the DeptName,
SupID, Supervisor to a separate table named Department.
Three attributes are fully functionally dependent on DeptID,
which will be used as primary key in Society Table.
Student (StdID, StdName)
Department (DeptID, DeptName, SupID, Supervisor)
Student_in_Dept (StdID, DeptID, Position)
Normalization- 2NF: StdID DeptID Position
Dept DeptName SupID Supervisor 123 001 HoD
Std StdName
ID
ID 123 003 Lecturer
001 Urdu 1 Mr. Kashif
123 Rehman
002 English 1 Mr. Yasir 132 001 Lecturer
132 Abida
003 Maths 2 Ms. Uzma 142 002 Lecturer
142 Ali
005 Physics 3 Mr. Abid 142 005 HoD
The above tables are in 2NF but did not solve all of the anomalies.
The Modification anomaly still exist in Department table.
What if Mr. Asad replace Mr. Kashif as HoD.
Mr. Asad will use the same SupID of Mr. Kashif.
Two rows instead of one needs to be updated to reflect the change.
Normalization: 3NF
A table is in 3NF if it is in 2NF and
Displays no transitive properties.
In Department table, DeptID -> SupID and SupID ->
Supervisor.
Hence, DeptID -> Supervisor (kind of a transitive property).
SupID Supervisor
1 Mr. Kashif
2 Ms. Uzma
This is 3NF 3 Mr. Abid
4 Ms. Saba