Professional Documents
Culture Documents
1 a Discuss the following in the context of file processing system: (10 Marks)
2 a Discuss the database development activities carried out during the systems development
life cycle. (15 Marks)
b Explain the differences between user views, a conceptual schema, and an internal schema
as different perspectives of the same database. (10 Marks)
3 a Draw ER Diagram(s) for the following situation: (If you believe you need to make additional
assumptions, clearly state them)
The loan office in a bank receives from various parties requests to investigate the credit
status of a customer. Each credit request is identified by a Request ID and is described by a
Request Date and Requesting Party Name. The loan office also receives results of credit
checks. A credit check is identified by a Credit Check ID and is described by the Credit Check
Date and the Credit Rating. The loan office matches credit requests with credit check
results. A credit request may be recorded before its result arrives; a particular credit result
may be used in support of several credit requests. (20 Marks)
b Convert the ER diagram(s) in Question 3a to relations. (5 Marks)
b Discuss the anomalies that can occur in a relation that is in first normal form but not in
second normal form (9 Marks)
c List the conditions that you can apply to determine whether a relation that is in second
normal form is also in third normal form. (6 Marks)
d What do you understand by the following: (4 Marks)
a Count the number of courses taken per lecturer. The result should include Lecturer_Id and
number of courses. (3 Marks)
b List the Matric No and Last name of students that scored 40 and above in CSC204. (4 Marks)
c Insert a male Muslim student with matric number 020805023, named Sanni Sambo and
born on November 5th 1990 in the STUDENT table. (3 Marks)
d Create a view for female students that offered compulsory courses. The view should include
all the fields in the STUDENT table (3 Marks)
e Delete all students with last name containing ADE in the STUDENT table. (3 Marks)
i Find the Matric Number of the student with the highest score in CSC100. (3 Marks)
ii Change the religion of Njum Adeola and Adewoye Emmanuel to Islam (3 Marks)
2|Page
STUDENT(MATRIC_NO, LAST_NAME, FIRST_NAME, SEX, RELIGION, DATE_OF_BIRTH)
MATRIC_NO LAST_NAME FIRST_NAME SEX RELIGION DATE_OF_BIRTH
010805036 ADEWOYE Emmanuel Male Christianity 27/10/1981
010805037 NJUM Adeola Female Christianity 18/03/1981
010805038 FODEKE Jude Male Christianity 15/01/1982
010805039 OTUTEYE Kolawole Male Christianity 13/07/1969
010805040 ADEOYE Bamitale Male Islam 21/09/1972
010805041 FALANA Jubril Male Islam 24/03/1984
3|Page