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/ 3
Subidhanagar, Tinkune, Kathmandu
First Term Examination - 2077
Subject: Database Management System (Fourth semester) Time: 3 hours FM: 60 Bachelor of Arts in Computer Application (BCA) PM: 24 Lecture: Mr. Suresh Kumar Mahato Name: ___________________________ Roll No: _________ Group – A (Attempt all questions) [10×1=10] 1. Database is Collection of__________- (a) Program (b) data (c) Modules (d) None of these 2. In______________ data can be stored in structured manner. (a) CPU (b) ALU (c) Database (d) None of these 3. Which of these is not a representational data model? a) Entity-relationship model b) Relational data model (c) Hierarchical data model (d) network data model 4. The information about data in a database is called___________ a) Meta data (b) Hyper data c) tera data (d)None of these 5. In categories of data modeling, low level data models are also called___________ (a) conceptual datal model (b) physical data model (c) logical data model (d) triggered data models 6. Which is a unary operation____________ a) Selection operation (b) primitive operation (c) projection operation (d) Generalized selection 7. Which is a join condition contains an equality operator: a) Equijoins b) Cartesian c) Natural d) left 8. The primary key should be chosen such that its attribute values are______________ a) Updated b) dependent c) changed d) never changed 9. Which forms are based on the concept of functional dependency a) 1NF (b) 2NF (c) 3NF (d)4NF 10. A functional dependency is a relationship between or among a. rows b. tables c. relations d. attributes Subidhanagar, Tinkune, Kathmandu First Term Examination - 2077 Subject: Database Management system (Fourth semester) Time: 3 hours FM: 60 Bachelor of Arts in Computer Application (BCA) Lecture: Mr. Suresh Kumar Mahato PM: 24
Group – B (Attempt any Six questions) [6×5=30]
1. What is database? How it is differ from traditional file system? 2. Differentiate (any 5) between DBMS and RDBMS. 3. What is data model? What is the difference between logical and physical data independence? 4. Why we need normalization ? explain ,List any 2 advantages and disadvantages of normalization 5. Describe 1NF, 2NF,3NF,BCNF with examples. 6. Why we need keys in DBMS? Define the following keys a) Super key b)candidate key c) primary key d)foreign key 7. Define join operation . Explain different types of join operations in binary relational operations.
Group – C (Attempt any TWO questions) [2×10=20]
8. Draw an ER diagram for a database showing Hospital system. The Hospital maintains data about Affiliated hospitals, type of treatments facilities given at each hospital and patients.
9. Consider the following relational schema of a hospital where primary keys are underlined. DOCTOR ( name , age, address) WORKS (name, deptno) DEPARTMENT ( deptno, floor, room)
Write down the relational algebra for the following
a) List the room of the doctors named 'SURESH' b) Count the number of doctors working in top floor. c) Delete all the department of ground floor. d) Insert a new department in the hospital e) Increase the age of doctor named 'SURESH' BY 1 10. Consider the following database Lecture ( sn , Lname, status) Subject ( scode, sname, credit) Taught ( scode , sn, semester) Write the SQL statements to perform the following a) Display the name of the lecturers b) Display the name of those lecturers whose status is "FULL" c) List the name of all the subjects of 6 credit hours. d) Update the status of lecturer " suresh" with " rohit " e) Delete the lecturer " suresh" from the lecturer relation