


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A final examination for the course cis216-database design and development, which is part of the bsc computer systems engineering program at a university. The exam covers various topics related to database management, including transactions, entity-relationship diagrams, table properties, database management systems, data definition language (ddl), data manipulation language (dml), normalization, concurrency problems, database environment, and database implementation models. The exam consists of four questions, each with multiple sub-questions, and the total marks are 100. The exam duration is 2 hours, and candidates are required to attempt any four out of the five questions. Detailed instructions for the candidates, including the prohibition of bringing any material that may be used for copying, collusion, or plagiarism.
Typology: Exercises
1 / 4
This page cannot be seen from the preview
Don't miss anything!



School of Computing and Information Systems PROGRAMME: BSC COMPUTER SYSTEMS ENGINEERING CIS216-Database Design and Development Year 2 Semester
Date:10/11/ Time:14: Total Marks: 100 Duration: 2hours Instructions to candidates
a) Explain what a transaction is in databases. 2 Marks b) Give an example of a transaction in the context of a bank. 1 Mark c) Identify and explain the four (4) properties of a database transaction. 8 Marks d) Explain what these symbols mean1:1, 1:M, M:N and draw an ERD to represent them. 6 marks e) State four properties of a table. 4 marks f) List any four database management systems. 4 marks
a) Write a DDL statement that will define the table described below: Student has the following attributes: id, full name, age, gender, 6 marks b) Write PLSQL code that creates a procedure that takes parameters and adds a student record into the database. 6 Marks c) •Write a function that takes an id parameter of a student and displays all the details of the found student and returns their id. 7 Marks d) Write an anonymous block that calls the 2 procedures and function. • 4 Marks e) Write a trigger that prevents the insertion of student who are younger than 17 or older than 65. 4 Marks
a) Define normalization. 2 marks b) Identify the characteristics of the first 3 normal forms. 3 marks c) List three concurrency problems that arise when isolation is broken. 3 marks d) What does the database environment consist of? 5 marks d) Identify and explain three database implementation models. 6 marks e) Explain these two acronyms DDL and DML and provide two examples each. 6 marks Question 5 Total: 25 Marks a) Define the following terms database, data, information, table and record.
b) Identify and explain any 5 DBMS functions. 10 c) Explain five objectives of the three level architecture. 5 End of exam paper.