0% found this document useful (0 votes)
12 views4 pages

Database Management Systems Exam August 2023

The document outlines the examination structure for the IS 300 Database Management Systems course for the May-August 2023 semester. It includes instructions for the exam format, marking scheme, and practical requirements using MYSQL, along with specific sections detailing questions and tasks for students. Additionally, it emphasizes the importance of originality in submissions to avoid plagiarism.

Uploaded by

otim.micheal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Database Management Systems Exam August 2023

The document outlines the examination structure for the IS 300 Database Management Systems course for the May-August 2023 semester. It includes instructions for the exam format, marking scheme, and practical requirements using MYSQL, along with specific sections detailing questions and tasks for students. Additionally, it emphasizes the importance of originality in submissions to avoid plagiarism.

Uploaded by

otim.micheal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

EXAMINATIONS FOR MAY - AUGUST 2023 SEMESTER

COURSE CODE: IS 300


COURSE NAME: DATABASE MANAGEMENT SYSTEMS
PROGRAMME(S): BSc. CS, BIST
SCHOOL(S): SCE

INSTRUCTIONS:
1. This is not an Open Book Examination, although section C is practical
and will be submit 48 Hours on the eLearning system after the physical
part A and B.
2. Section A is compulsory and carries 40 Marks.
3. Each Question from Section B carries 20 marks. Answer any ONE
question from section B
4. Section C is compulsory, answer all questions in Section C.
5. You are to use MYSQL command prompt to do the practical section of
this this exam.
6. Extract your database in .sql format and upload it along with your
report as two separate files.
7. Plagiarism will earn you zero (0) Marks.

GOOD LUCK!!
* The exam Should be completed in 3 Hours. You have UNTIL 23:55 to complete all the
submission formalities.
SECTION A: (40 MARKS)
A). With examples, explain each of the following in Databases.
(1 mark @)
a. Database –
b. Database Management System-DBMS
c. Database application program
d. A base Relation
e. A view
B):

I. Explain your understanding of the following. (2


marks@)
a. Manual filing system
b. File-based approach
c. The database approach.
II. Explain the limitations of file-based approach. (5
marks)
III. What are the two (2) major limitations of manual filing systems that
led to the evolution of file-based approach? (2 marks)
C)

a. Describe the five components of the DBMS environment and discuss


how they relate to each other.
(5 marks)
b. Outline the roles/personnel in the database environment
(1/2 mark @)
D)

a. Define the following terms (1 mark @)

I. A relation

II. An attribute

III. Cardinality

IV. Degree

b. Domain In relational database approach, relations are the core in


building a database. Imagine you are to design a database to
manage student marks;

a. Identify some three (3) relations you would include in your


database (3 marks)
b. Identify three attributes (3) for each of the relations above (3
marks)
c. Write SQL statement to Create, one of the relations and
Insert two records in the relation created. Write an SQL query
to retrieve all the records inserted in the Relation (4 marks)

SECTION B: (20 MARKS)

2. (I) Write a query in sql to create two tables, employee and


department. (8 Marks @)
Employee(empno,ename,deptno,job,hiredate)
Department(deptno,dname,loc)
Include the following constraints on column of emp table.
a) to make the empno as primary key of the table and
b) to ensure that the ename column does not contain NULL values and
c) the job column to have only UPPERCASE entries and
d) to put the current date as default date in hire date column in case data
is not supplied for the column.

(II) Include the following constraints on columns of dept table. (8


Marks @)
a) to make deptno as primary key.
b) to ensure dname,loc coloumns does not contain NULL values
Also enforce REFERENTIAL INTEGRITY, declare deptno field of dept
table as primary key and deptno field of emp table as foreign key.

(III) Modify the above table to add three more columns


salary,mgr,comm to the emp table. add salary column with
constraint greater than zero and modify the width of sal
column. (4 Marks)

3. (I) Insert following values in employee table. (10 Marks)


EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
(II) Edit the commission of JONES to 1000. (4 Marks)
(III) Retrieve all rows of employee table. (3 Marks)
(IV) Delete row from employee table where deptno is 10. (3 Marks)
SECTION C: (40 MARKS)

4. You already identified a problem that requires a database application in


your class. Design a database management system that will solve the
identified problem. (20 Marks)

5. After the development come up with a good report of your System Come
up with the report including introduction, requirements, Relationships and
multiplicities, database design (ERD diagrams), SQL database codes, Data
tables, etc. Submit the report on E-learning. (20 Marks)

You might also like