Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
33 views
2 pages
Q LR
Good Notes
Uploaded by
myworkmyangel
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save q.lr For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
33 views
2 pages
Q LR
Good Notes
Uploaded by
myworkmyangel
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save q.lr For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save q.lr For Later
You are on page 1
/ 2
Search
Fullscreen
Question 1 1. A university has many departments. Each department has multiple instructors (one person is HOD). Here the HOD refers to the head of the department. The University is identified by name and location and the department is identified by name, deptid, and location. An instructor belongs to only one department. Instructors are identified by name, ID, roomNo, and telephone. Each department offers multiple courses, which are determined by course title, courseID, and course unit. A single instructor teaches each course. A. student may enroll in many courses offered by different departments. The student is identified by name, student ID, and address. a, Draw an E/R model for the above scenario[S Marks]. b. Write an SQL command to create the tables Department and Instructors[5 Marks] c. Write an SQL command to insert to record each into the Department[5 Marks] d. Write an SQL command to establish a relationship between the Department and the Instructor[S Marks}. €. Modify the instructor Table by adding another attribute called Place of birth{S Marks], Question 2 Explain the following within the context of Database Management: a. The differences between the notions of Database (DB) and Database Management System (DBMS) [5 Marks} b. Write an SQL statement to create a database named school [5 Marks] c. Consider the school database, where the primary keys are underlined. Write an SQL statement to create each of the relations 1. Student (student_id, name, address,gender) [5 Marks] 2. Course (code, course_name, year) [5 Marks] 3. Department (dept_number, date, department_name) [5 Marks] Question 3 Kampala International University is recently voted the Runner-up University in East Africa. The University registrar requested you help pull out some information from the University database. Perform the following task on the University database: a) Write an SQL statement to display all records in the staff table.[5 Marks} b) Give an SQL statement to add a new record into the department table.[5 Marks] ©) Write an SQL statement to delete all the records from the course table. [5 Marks] d) Write an SQL statement to insert a new column/tuple in the student table called ‘Hobby’. [5 Marks] e) Write an SQL statement that displays all records that are captured in the year 2020 in the course table. [5 Marks] Page 2 of 4Question 4 Define the following terms as used in Database Systems a) Data Definition Language[5 Marks}. b) Data Manipulation Language [5 Marks]. ©) Outline three advantages of a Relation database over a flat file.{5 Marks]. 4) Outline at least three drawbacks of the flat file system. [5 Marks]. e) Define the term model with the contest of Database Management System.[5 Marks}. Question 5 Consider the schema Employee (r_no, name, dept, dob, percentage, specialty,salary) and solve thefollowing queries using SQL statements. a) Display the name of the students having r_no is 13345[5 Marks]. ) Display the list of employees having dob > 1975[5 Marks}. ©) Display all information of employees whose specialty is cyber security[S Marks]. d) Display names and departments of employees whose monthly rating is greater than 80% [5 Marks}. ©) Display the sum of all employee salaries. [3 Marks}. Question 6 Answer the following questions in terms of Normalization in the database: istomer Name NOMS ECCT al NCU Aol ELL 4 Joe Bloggs Baked Beans Bread Jeff Smith Milk Baked Beans Stephen Jones Bread Milk a) What is Normalization in Relational Database?[5 Marks]. b) Explain the importance of Normalization in Database Management System[5 Marks] c) What are the forms of anomalies that exist in an UN-normalized table?[5 Marks]. Page 3 0f 4
You might also like
6-Database Design and Development
PDF
No ratings yet
6-Database Design and Development
6 pages
Question Bank Unit-1
PDF
No ratings yet
Question Bank Unit-1
9 pages
COMP 302 Database Systems
PDF
No ratings yet
COMP 302 Database Systems
31 pages
DatabaseAdministration Exam
PDF
100% (1)
DatabaseAdministration Exam
4 pages
DB Sample Exam Intake30
PDF
No ratings yet
DB Sample Exam Intake30
8 pages
Class 11th Information Practice Sample Queston Paper
PDF
No ratings yet
Class 11th Information Practice Sample Queston Paper
16 pages
Dbms
PDF
No ratings yet
Dbms
7 pages
DCS 015 DBMS Sep-Dec 2015 Theory
PDF
No ratings yet
DCS 015 DBMS Sep-Dec 2015 Theory
4 pages
DBMS Assignment 01
PDF
No ratings yet
DBMS Assignment 01
3 pages
Exam March 2013, Questions Exam March 2013, Questions
PDF
No ratings yet
Exam March 2013, Questions Exam March 2013, Questions
5 pages
Study Questions - Database Concepts
PDF
No ratings yet
Study Questions - Database Concepts
8 pages
Sample Test 2
PDF
No ratings yet
Sample Test 2
8 pages
2019 July
PDF
No ratings yet
2019 July
5 pages
Dbf510s - Database Fundamentals - 1st Opp - June 2022
PDF
No ratings yet
Dbf510s - Database Fundamentals - 1st Opp - June 2022
9 pages
Dit1301 Database Systems Eve Main
PDF
No ratings yet
Dit1301 Database Systems Eve Main
3 pages
Cit 843 B
PDF
No ratings yet
Cit 843 B
33 pages
Easy Exam
PDF
No ratings yet
Easy Exam
11 pages
Xi Ip Final Examp Model QP
PDF
No ratings yet
Xi Ip Final Examp Model QP
10 pages
hcs219 Assignment 2
PDF
No ratings yet
hcs219 Assignment 2
5 pages
Database Management System
PDF
No ratings yet
Database Management System
6 pages
Sit 200 - Data Base Management
PDF
No ratings yet
Sit 200 - Data Base Management
3 pages
Basics of Database L4sod
PDF
No ratings yet
Basics of Database L4sod
10 pages
HDBP200 1 Jan June2025 FA1 STM V2 06012025
PDF
No ratings yet
HDBP200 1 Jan June2025 FA1 STM V2 06012025
5 pages
Databases
PDF
No ratings yet
Databases
10 pages
2017 Nov
PDF
No ratings yet
2017 Nov
6 pages
Sample Question Paper Data Base Management System
PDF
No ratings yet
Sample Question Paper Data Base Management System
5 pages
DBMS Lab Assignment (Section-16 and Section-17)
PDF
No ratings yet
DBMS Lab Assignment (Section-16 and Section-17)
2 pages
Dbmsprev
PDF
No ratings yet
Dbmsprev
7 pages
IFS215
PDF
No ratings yet
IFS215
6 pages
Final DB Systems Exam June 2020
PDF
No ratings yet
Final DB Systems Exam June 2020
8 pages
Imp Dbms
PDF
No ratings yet
Imp Dbms
7 pages
2223 1 Sehh2240
PDF
No ratings yet
2223 1 Sehh2240
5 pages
BCT 2304 Database Management System
PDF
No ratings yet
BCT 2304 Database Management System
3 pages
CIT843 2023 Answered
PDF
No ratings yet
CIT843 2023 Answered
6 pages
DBMS
PDF
No ratings yet
DBMS
3 pages
CIT843
PDF
No ratings yet
CIT843
5 pages
SPI 2110 Introduction To Database Management Systems Year I II Semester II I
PDF
No ratings yet
SPI 2110 Introduction To Database Management Systems Year I II Semester II I
3 pages
OLD QPs - DBMS
PDF
No ratings yet
OLD QPs - DBMS
21 pages
Intake Programmes AUGUST 2025 Flyer A3 FOLD (LOCAL) WESTERN CAMPUS
PDF
No ratings yet
Intake Programmes AUGUST 2025 Flyer A3 FOLD (LOCAL) WESTERN CAMPUS
2 pages
Database Management System QB
PDF
No ratings yet
Database Management System QB
14 pages
Sample Dbms Paper
PDF
No ratings yet
Sample Dbms Paper
5 pages
DBMS Important Questions With Answers Unit1 2 3
PDF
No ratings yet
DBMS Important Questions With Answers Unit1 2 3
5 pages
EE467 Final 2020 - Q17 Solutions
PDF
No ratings yet
EE467 Final 2020 - Q17 Solutions
7 pages
Database Systems 1 Theory
PDF
No ratings yet
Database Systems 1 Theory
3 pages
Exam 05
PDF
No ratings yet
Exam 05
25 pages
DBAS MS Spring 2021 SAMPLE 2
PDF
No ratings yet
DBAS MS Spring 2021 SAMPLE 2
13 pages
Question Bank Unit 3 and 4
PDF
No ratings yet
Question Bank Unit 3 and 4
3 pages
Gujarat Technological University
PDF
No ratings yet
Gujarat Technological University
2 pages
Assignment1 DBMS Soln PDF
PDF
No ratings yet
Assignment1 DBMS Soln PDF
4 pages
Database Systems
PDF
No ratings yet
Database Systems
2 pages
DBMS MQP's-1,2,3 PDF
PDF
No ratings yet
DBMS MQP's-1,2,3 PDF
6 pages
DBMS
PDF
No ratings yet
DBMS
3 pages
2020 DBMS Mid
PDF
No ratings yet
2020 DBMS Mid
2 pages
Paper 1
PDF
No ratings yet
Paper 1
3 pages
1 - Principles of Database Design (CS208) - Supple - September 2020
PDF
No ratings yet
1 - Principles of Database Design (CS208) - Supple - September 2020
4 pages
Assignment 1
PDF
No ratings yet
Assignment 1
4 pages
Database Fundamentals June 2019 Exam Paper
PDF
No ratings yet
Database Fundamentals June 2019 Exam Paper
5 pages
DBMS
PDF
No ratings yet
DBMS
4 pages
Dbms 2013 Uviversity Exam
PDF
No ratings yet
Dbms 2013 Uviversity Exam
2 pages
Dbms - Question Bank
PDF
No ratings yet
Dbms - Question Bank
7 pages
Chapter Four
PDF
No ratings yet
Chapter Four
37 pages
Network Administration Officer External Advertisement ONLINE 2025
PDF
No ratings yet
Network Administration Officer External Advertisement ONLINE 2025
3 pages
System Analysis & Design: EDITION v5.1
PDF
No ratings yet
System Analysis & Design: EDITION v5.1
14 pages
Cisco
PDF
No ratings yet
Cisco
6 pages
HW 04
PDF
No ratings yet
HW 04
34 pages
Oop G20
PDF
No ratings yet
Oop G20
18 pages
Database & SQL: EDITION v5.2.1
PDF
No ratings yet
Database & SQL: EDITION v5.2.1
15 pages
Fun Com 1:1
PDF
No ratings yet
Fun Com 1:1
10 pages
HW Vii
PDF
No ratings yet
HW Vii
10 pages
OOP v3 6
PDF
No ratings yet
OOP v3 6
6 pages
Electronic Services: Edition V3
PDF
No ratings yet
Electronic Services: Edition V3
7 pages
Database & SQL: Cats Edition
PDF
No ratings yet
Database & SQL: Cats Edition
7 pages
Tutorial Questions For Exams
PDF
No ratings yet
Tutorial Questions For Exams
3 pages
DB Erd v2
PDF
No ratings yet
DB Erd v2
3 pages
MTC CW
PDF
No ratings yet
MTC CW
3 pages