Professional Documents
Culture Documents
Assignment 1
Assignment 1
A and B):
column of Room, Student Name, Student ID, Class Days and Class credit Hours the data is repeated
many times. In “Room” column we have 5 redundancies, on Student ID and Name columns we have 3
redundancies for each name and ID. In section of Credit Hours all the data is repeated 6 times. Besides,
we have repeated class day of 4 times, and other columns are out of redundancies.
Furthermore, about the anomalies if we execute the update anomaly all the data would be
changed or if the user conducting the update is unaware that the data is redundantly stored, the update will
fail. The inability to add data to a database due to the lack of additional data is known as an insertion
anomaly. Assume that the names and IDs of the classes are defined in such a way that null values are not
permitted. If a student registers for a new course but does not immediately assign it to a class name and
ID, the class will not be recorded into the database. As a result of the omission, there are database
Ahmad Jawid Karimi
inconsistencies. A deletion anomaly occurs when data is lost unintentionally as a result of the deletion of
other data. Student ID, class day, time, credit hours, and the course name, for example, would all be lost if
the student Name dissolved and was removed from the table above. This causes database discrepancies
and is an illustration of how grouping information that doesn't belong together into a single table can lead
to issues.