Class Test-I Database Management Systems Time: 1Hr. 2010-11
This document contains a class test on database management systems with 3 questions. Question 1 has 4 parts about database abstraction, the difference between schema and instance, data models, and database user types. Question 2 has 3 parts about derived attributes, entity-relationship modeling concepts like weak entities, and extended entity-relationship features. Question 3 has 4 parts about relational algebra operations, Cartesian products, and writing queries using relational algebra expressions. It also provides the schema for 6 database relations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
65 views2 pages
Class Test-I Database Management Systems Time: 1Hr. 2010-11
This document contains a class test on database management systems with 3 questions. Question 1 has 4 parts about database abstraction, the difference between schema and instance, data models, and database user types. Question 2 has 3 parts about derived attributes, entity-relationship modeling concepts like weak entities, and extended entity-relationship features. Question 3 has 4 parts about relational algebra operations, Cartesian products, and writing queries using relational algebra expressions. It also provides the schema for 6 database relations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
CLASS TEST-I DATABASE MANAGEMENT SYSTEMS TIME: 1HR.
2010-11
Answer any two.
Q1. a) What is abstraction and its levels. What is the difference between instance and schema? Give 1 example of each. b) What is meant by data model? Name the different models. c) What are the two classes of database languages are? Give one example each of procedural and non-procedural language (1.5+1.5+2+1+1+1.5+1.5) d) Who are the different types of DB users? Give two functions of DBA Q2 a) Give an example of derived attribute. Define mapping cardinalities (No details). b) What is existence dependency, weak entity set and participation in weak to strong entity set? Explain through example giving proper E-R diagrams. c) Explain any one of the extended E-R features. (1+2+4+3) Q3. a) Name two each and explain the unary and binary operations of relational algebra. b) What is Cartesian product? Explain it, then define it. Query: Find all customers of the bank who have an account but not a loan by writing in relational algebra expressions. Query: Find the names of all bank customers who have either an account or a loan or both Query: Find those customers who live in Harrison. Query: Find all tuples in which the amount lent is more than $1200 (3+3+4) The DB Schema is as follows: Branch-schema = (branch-name, branch-city, assets) Customer-schema = (customer-name, customer-street, customer-city) Loan-schema = (branch-name, loan-number, amount) Borrower-schema = (customer-name, loan-number) Account-schema = (account-number, branch-name, balance) Depositor-schema= (customer-name, account-number
CLASS TEST-I DATABASE MANAGEMENT SYSTEMS TIME: 1HR. 2010-11
Answer any two.
Q1. a) What is abstraction and its levels. What is the difference between instance and schema? Give 1 example of each. b) What is meant by data model? Name the different models. c) What are the two classes of database languages are? Give one example each of procedural and non-procedural language (1.5+1.5+2+1+1+1.5+1.5) d) Who are the different types of DB users? Give two functions of DBA Q2 a) Give an example of derived attribute. Define mapping cardinalities (No details). b) What is existence dependency, weak entity set and participation in weak to strong entity set? Explain through example giving proper E-R diagrams. c) Explain any one of the extended E-R features. (1+2+4+3) Q3. a) Name two each and explain the unary and binary operations of relational algebra. b) What is Cartesian product? Explain it, then define it. Query: Find all customers of the bank who have an account but not a loan by writing in relational algebra expressions. Query: Find the names of all bank customers who have either an account or a loan or both Query: Find those customers who live in Harrison. Query: Find all tuples in which the amount lent is more than $1200 (3+3+4) The DB Schema is as follows: Branch-schema = (branch-name, branch-city, assets) Customer-schema = (customer-name, customer-street, customer-city) Loan-schema = (branch-name, loan-number, amount) Borrower-schema = (customer-name, loan-number) Account-schema = (account-number, branch-name, balance) Depositor-schema= (customer-name, account-number