Modulewise Question Bank: Entity-Relationship Model
Modulewise Question Bank: Entity-Relationship Model
Modulewise Question Bank: Entity-Relationship Model
Module 1:
Entity-Relationship Model
1. List the summary of the notations for ER diagrams. Include symbols used in ER diagram
and their meaning.
2. With respect to ER model explain with example.
3. Explain how role names are assigned in case of recursive relationships? Illustrate this
concept with an example.
4. What is meant by partial key? Explain.
5. Define an entity and an attribute, explain the different types of attributes that occur in an
ER diagram model, with an example.
6. Define the following with an example
Weak entity types
Cardinality ratio
Ternary relationship
Participation constraints
7. Design an ER Diagram for keeping track of Information about Bank Database, Taking
into account 4 entities?
8. Describe how to map the following Scenario’s in ER Model to schema, with suitable
example: ?
9. Define and explain Partial Key, with example?
10. What is meant by recursive relationship? Bring out the importance of role names in
recursive relationship, with an example?
11. Explain Specialization and generalization with example.
Module 2:
SQL – 1
1. Given the schema
EMP ( Fname, Lname, SSN, Bdate, Address, Sex, Salary, SuperSSN,Dno)
DEP T(Dname, Dnumber, MgrSSN, MGrstartdate)
DEPT-LOC (Ploc,Dnum)
DEPT(Dnumber, Dloc)
PROJECT(Pname, Pnumber, Plocation)
WORKS-ON (ESSN,PNo,Hours)
Give the relation algebra expression for the following:
i. List ‘CSE’ department details.
ii)List female employees from Dno=20 earning more than 50000
iii. Retrieve the first name, last name and salary of all employees who work in departmental
number 50
iv. Retrieve the name of the manager of each department.
v. Retrieve the name and address of all employees who work for sports department
2. With respect to SQL, explain with example.
1 Drop table
2 Alter table
3. Explain IN and EXISTS operations with an example.
4. How does SQL implement the entity integrity constraints of relational Data Model?
Explain with an example
5. Consider the following two tables T1 and T2 show the result of the
following operations.
a. T1∞T1.p = T2. A T2
b. T1∞T1. Q=T2. B T2
c. T1∞T 1.p= T2.A T2
d. T1UT2
6. Explain with an example ,the basic constraints that can be specified ,when you create a
table in SQL
7. Explain how group By clause works? What is the difference between WHERE and
Having? In many cases, we want to apply the aggregate functions to subgroups of tuples
in a relation Each subgroup of tuples consists of the set of tuples that have the same value
for the grouping attribute(s)
8. How does SQL implement the entity integrity constraints of relational Data Model?
Explain with an example?
9. Explain all possible options that are specified when referential integrity constraint is
violated using suitable example for all options
10. Write queries in SQL for the following
a. Select all EMPLOYEE SSNs , and all combinations of EMPLOYEE SSN and
DEPARTMENT DNAME ?
b. Show the resulting salaries if every employee working on the 'ProductX' project is
given a 10 percent raise.
Module 3
1. Distinguish between static and dynamic SQL.
2. What is meant by static SQL? How it differs from dynamic SQL?
3. How are the nulls represented in database system?
4. What are aggregate functions?
5. What is the purpose of group by clause in the SELECT statement?
6. What are views? How they are created?
7. What do you mean by integrity constraints ?
8. Which subdivision of SQL is used to put values in tables and which one to create tables ?
9. Differentiate between SQL commands DROP TABLE and DROP VIEW.
10. What is the difference between WHERE and Having Clause ?
11. Discuss the various type of join operations ? Why are these join required.
12. How are exceptions handled in PL/SQL? Give some of the internal exceptions' name
13. What are stored-procedures? And what are the advantages of using them.
14. What are cursors give different types of cursors.
Module 4
1. What is normalization?
2. What are Armstrong rules? How do we say that they are complete and/or sound
3. Explain the codd’s rules for relational database design.
4. Explain Functional dependency and Trivial functional dependency with examples.
5. Explain the term Distributed DBMS and Client-Server DBMS
6. Define the relational data model.
7. What is Functional Dependency?
8. What do you mean by redundancy ?How this can be avoided ?
9. When is a functional dependency F said to be minimal?
10. What is Multivalued dependency?
11. What is Lossless join property?
12. What is Fully Functional dependency?
13. What is lossy decomposition?
14. What is transitive dependency?
15. What is 1NF, 2NF, 3NF and BCNF (Boyce-Codd Normal Form)?
16. Explain Closure of Set of Functional dependency and Closure of Attribute sets
17. Explain Canonical cover and Extraneous Attributes with examples.
18. What do you understand by dependency preservation?
Module 5