0% found this document useful (0 votes)
42 views14 pages

Dbms Question Bank r23 (II-II) Blooms

This document is a question bank for II B. Tech - II Semester students studying Database Management Systems (DBMS) under the R23 regulation for the academic year 2024-2025. It includes short answer questions and long answer questions categorized by units, covering key concepts such as data models, DBMS characteristics, relational models, SQL commands, and entity-relationship diagrams. The questions are designed to assess students' understanding of DBMS principles and applications.

Uploaded by

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

Dbms Question Bank r23 (II-II) Blooms

This document is a question bank for II B. Tech - II Semester students studying Database Management Systems (DBMS) under the R23 regulation for the academic year 2024-2025. It includes short answer questions and long answer questions categorized by units, covering key concepts such as data models, DBMS characteristics, relational models, SQL commands, and entity-relationship diagrams. The questions are designed to assess students' understanding of DBMS principles and applications.

Uploaded by

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

Question Bank for II B.

Tech - II Semester
Course: DBMS Regulation : R23
Academic Year: 2024-2025 Branch :CSE&ACSE
UNIT-1

Part-A
Short Answer Questions (2M)
Q. No Question BL CO PO
1. Write the definition of DBMS? I I III
2. Explain the terms Data, Information, Metadata in brief? II I I
3. Write any five applications of Database? I I I
4. Which are the data models to store the data? I I I
5. Write the schema for University database? I I II
6. Write the responsibilities of DBA? I I I
7. Explain two differences between file system Vs Database system? I I I
8. Discuss about the physical data independence in DBMS? II I I
9. What is the main drawback in DBMS? I I I
10. Difference between hierarchy and the network data model? IV I I
11. What is an Entity and draw the different types of entities? II I I
12. Explain the terms single valued and derived attributes? II I I
13. What is Null value attribute? I I I
14. What are the Entity and Entity sets? I I II
15. Explain the different types of relationships? II I II
16. What are the symbols used in ER diagrams? I I II
17. What is Cardinality? I I I
18. Explain in brief Key Constraints in ER model? II I I
19. What is Super and sub Classes? I I II
20. What is inheritance in ER model? I I I

Part-B
Long Answer Questions (10M)
Q. No Question BL CO PO
1. Define Data base? Explain the terms i) Data ii) Information iii) Table
I I I
iv) Row v) Column vi) Record
2. Explain DBMS? Differentiate between Database and Files. II I II
3. List six major steps that you would take in setting up a database for a
I I I
particular enterprise.

Page 1 of 14
4. Discuss in brief about the characteristics of DBMS? II I
5. Differentiate between File system and DBMS? IV I II
6. Why DBMS is preferred over flat file system for maintaining the
1 I III
database of an organization
7. Discuss in detail about database users. II I II
8. Describe the different types of DBMS users II I I
9. Define DBMS? What are advantages of DBMS? Explain. I I I
10. What are the applications of DBMS? Explain in detail. I I I
11. What is a database? What are applications of databases? Explain III I II
12. Discuss various types of data models? Explain II I III
13. What is a data model? What are the different data models? Explain E-
I I II
R model and relation model briefly.
14. What is logical data independence and why is it important? I I II
15. Explain the difference between external, internal, and conceptual
schemas. How are these different schema layers related to the I I I
concepts of logical and physical data in dependence?
16. Explain the difference between physical and logical data
I I I
independence. ?
17. Describe levels of abstraction in a DBMS. II I I
18. Describe three tier schema architecture for data independence. II I I
19. Explain about three tier architecture in database II I II
20. With a neat diagram, explain in detail about the structure of a DBMS. IV I III
21. Explain about centralized architecture for DBMS I I I
22. Discuss about client server architecture for the database in detail. II I I
23. Explain in brief about the Client Server architecture for the database? II I I
24. A company database needs to store information about employees
(identified by ssn, with salary and phone as attributes); departments
(identified by dno, with dname and budget as attributes); and children
of employees (with name and age as attributes). Employees work in
departments; each department is managed by an employee; a child VI I I
must be identified uniquely by name when the parent (who is an
employee; assume that only one parent works for the company) is
known. We are not interested in information about a child once the
parent leaves the company. Draw an ER diagram that captures
25. Consider a university database for the scheduling of classrooms for
final exams. This database could be modeled as the single entity set
exam, with attributes coursename, section-number, room-number, and
time. Alternatively, one or more additional entity sets could be defined,
along with relationship sets to replace some of the attributes of the
exam entity set, as •course with attributes name, department, and c- VI I I
number
•section with attributes s-number and enrollment, and dependent as a
weak entity set on course •room with attributes r-number, capacity,
and building Show an E-R diagram illustrating the use of all three
additional entity sets listed
26. A university registrar’s office maintains data about the following
entities: (a) courses, including number, title, credits, syllabus, and VI I II
prerequisites; (b) course offerings, including course number, year,

Page 2 of 14
semester, section number, instructor(s),timings, and classroom; (c)
students, including student-id, name, and program; and (d) instructors,
including identification number, name, department, and title. Further,
the enrollment of students in courses and grades awarded to students
in each course they are enrolled for must be appropriately modeled.
Construct an E-R diagram for the registrar’s office. Document all
assumptions that you make about the mapping constraints
27. Although you always wanted to be an artist, you ended up being an
expert on databases because you love to cook data and you somehow
confused `data base' with `databaste.' Your old love is still there,
however, so you set up a database company, Art Base, that builds a
product for art galleries. The core of this product is a database with a
schema that captures all the information that galleries need to maintain.
Galleries keep information about artists, their names (which are
unique), birthplaces, age, and style of art. For each piece of artwork,
the artist, the year it was made, its unique title, its type of art (e.g.,
painting, lithograph, sculpture, photograph), and its price must be IV I III
stored. Pieces of artwork are also classified into groups of various
kinds, for example, portraits, still lifes, works by Picasso, or works of
the 19th century; a given piece may belong to more than one group.
Each group is identified by a name (like those above) that describes the
group. Finally, galleries keep information about customers. For each
customer, galleries keep their unique name, address, total amount of
dollars they have spent in the gallery (very important!), and the artists
and groups of art that each customer tends to like.
Draw the ER diagram for the database?
28. Explain about Entity-relationship model? II I I
29. What are the different types entities in ER model explain with an
II I I
example
30. Explain the types of attributes available in entity relational model? II I I
31. Define these terms: relationship, relationship set explain with an
I I I
example
32. Describe the Key Constraints with Employee Department example
II I I
with ER model?
33. Differentiate between the Ternary and Quaternary relationship in ER
IV I I
model?
34. What is Generalization and how it is implemented using ER? III I I
35. Explain about the specialization with an example? II I I
36. How the Is-A relationship implemented using ER? III I I

UNIT-11
Part-A
Short Answer Questions (2M)
Q. No Question BL CO PO
1 What is Relational Model? I II I
2 Explain the terms attribute, tuple, degree, cardinality II II I
3 Describe the relation in relational model II II II

Page 3 of 14
4 Describe the relation in relational model II II II
5 Explain the primary key and foreign key? II
II II

6 What is the main difference between unique and primary key IV II II


7 Write the list of Relational algebra operations? I II II
8 Explain the cartesian product operation? II II II
9 List out the different types of joins? I II II
10 Write any two limitations of relational algebra? I II II
11 Explain about the declarative language? II II II
12 Describe this {t \| P(t)} expression? II II II
13 Explain the characteristics of SQL? II II II
14 What are the different SQL commands I II II
15 How do we create table with example? VI II II
16 Differentiate between delete and drop commands in sql? IV II II
17 What are the Date & time data types in sql? I II II
18 Differentiate between update and alter commands in sql? IV II I

Part-B
Long Answer Questions (10M)
Q. No Question BL CO PO
1 Explain about Relational Model? II II I
2 What are Dr.E.F.Coddlaws for fully functional relational database
management systems? Explain. II II III

3 Write a brief introduction on relational model II II II


4 What is relational model? Explain the concepts of domain, attribute II
and relation with an example. I I

5 Discuss the concepts of domain, attribute, tuple, relation, null values II


and constraints I I

6 Explain about the importance of null values II II I


7 What are NULL values? How do they affect the meaning of queries?
Can a foreign key value in a database be NULL or Duplicates? IV II III
Justify your answer

8 Explain about domain and key constraints with examples II II II

Page 4 of 14
9 What is a constraint? Explain in detail about integrity constraints II II I
10 What are key constraints? Explain with examples III II I
11 Describe domain and referential integrity constraints with an example II II I
12 Explain the selection and projection operations with examples? II II I
13 How the binary operations implemented in relational algebra with II
example? III II

14 Define the different types of joining techniques applied on multiple


relations with example? II II I

15 What are the advantages and disadvantages of relational algebra? I II III


16 What is Declarative language? Explain the different types of
relational calculus operations? II II I

17 a) Write a TRC query to get all the data of customers whose zip code II
is 12345.
VI II
b) Write a TRC query to get the customer id of all the Customers.

18 7. Describe a database schema is a structure that represents the logical II


storage of the data in the database with an example? II II

19 Design the schema for the University database VI II I


20 List and explain the common data types available in SQL III II III
21 Give the form of a basic SQL query. Write SQL queries to
demonstrate the usage of SQL date and time data types and functions III II I

22 Write SQL Queries for following set of tables:

EMPLOYEE (EmpNo, Name, DoB, Address, Gender, Salary,

DNumber)

DEPARTMENT (DNumber, Dname, ManagerEmpNo,

ManagerJoingdate). VI II II

i) Create the above table using create command


ii) Display the description
iii) insert the 5 rows in each table
iv) display the two tables?
v) Delete the two employees from employee table

23 How to create and alter the tables in detail VI II II


24 Explain the syntax of various DML commands with suitable examples. VI II II

Page 5 of 14
25 Explain about DDL, DML commands with suitable examples II II I
26 Explain various SQL commands in database IV II III

UNIT-III
Part-A
Short Answer Questions (2M)
Q. No Question BL CO PO
1 Describe the Group by clause with an example II III I
2 Display the employee details who is having the salary between 3000
I III III
and 60000?
3 Show the employee table using order by clause on employee name?
I III II
4 Display the employee salary by adding the bonus of Rs. 1000/-?
I III II

5 Write the different types of logical operators in SQL?


I III III
6 Write any four date functions of sql? III
I II
7 Differentiate between sum() and count() function with an example? III
IV II
8 Describe the power(), sqrt(),floor(),mod() functions in sql? III
II II

9 List any five functions of strings in sql? III


I II
10 How to establish the relationship between two tables using primary III
key and foreign key? I III

11 How to add the primary key constraint at table level with an III
example? IV II

12 What are keywords for enabling and disabling the constraints in sql? III
I III

13 Difference between unique and primary key in sql? III


IV II
14 Differentiate between alter and update key words in sql? III
IV II
15 What are the different type of joins in sql? III
I III
16 Explain the advantages and disadvantages of views in sql? III
II I
17 What is sub query and its types? III
I I
18 What is the result for the following queries?
a. SQL> Select s.sname from sailors s, reserves r, boats b where
s.sid=r.sid and r.bid=b.bid and b.color=’red’ III
I II
b.SQL>SELECT ename FROM emp WHERE sal = (SELECT
MAX(sal) FROM EMP WHERE sal < (SELECT MAX(sal)
FROM emp)) ;

Page 6 of 14
19 Write the query for Select employees whose salary is greater than
every salesman’s salary ? I III II

20 Write the sql query for finding the sailor’s ID whose name is equal to
‘DUSTIN’? I III II

Part-B
Long Answer Questions (10M)
Q. No Question BL CO PO

Write a SQL query by using Select and Project commands


1 IV III II
with some examples?

2 Discuss about Where Clause in Database VI III II


3 Discuss in brief about arithmetic and logic operations in
VI III I
SQL?
4 Give the form of a basic SQL query. Write SQL queries to
demonstrate the usage of SQLdate and time data types and III III III
functions.
5 Explain the standard functions provided by SQL for String
V III II
manipulation
6 Explain about Different types of Functions in SQL? IV III II
7 Consider the following relational database. Give an
expression in SQL for each of the following queries.
employee (employee-name, street, city) works (employee-
name, company-name, salary) company (company-name,
city) manages (employee-name, manager-name)
a. Find the names of all employees who work for First
Bank Corporation.
b. Find the names and cities of residence of all employees
who work for First Bank Corporation. VI III III
c. Find the names, street addresses, and cities of
residence of all employees who work for First Bank
Corporation and earn more than $10,000.
d. Find all employees in the database who live in the
same cities as the companies for which they work.
e. Find all employees in the database who live in the
same cities and on the same streets as do their managers.
f. Find all employees in the database who do not work
for First Bank Corporation.
8 Consider the following schema
Customer (custId: Number, custName: String, city: String)
Order_Details(ordNo: Number, purAmt: Number,ordDate:
Date, custId:Number)
i) Write a SQL query to display those customers who IV III II
belongs to thecity “Hyderabad” and last purchase
amount is less than Rs.1000/-.
ii) Write a SQL statement to exclude the rows which
satisfy

Page 7 of 14
a) order dates are 01-01-2023 and purchase
amount is below Rs.500/-

b) customers city is “Hyderabad” and purchase


amount is below Rs.500/-
9 Consider the following Relational schemas,

Sailors( sid: Integer, sname:


String, age: Integer, rating:
Integer)Boats(bid: Integer, bname:
String, bcolor: String)
Reserves(sid: Integer, bid: Integer, date: Date) III III IIII

Write the following queries in SQL

i) Find the names of sailors with Third highest rating


ii) Find the age of youngest sailor who is eligible to vote
(18 years age) for eachrating level with at least 2 sailors.
10 Consider the following Relational schemas,
Sailors( sid: Integer, sname: String, age: Integer, rating:
Integer)
Boats(bid: Integer, bname: String, bcolor: String)
Reserves(sid: Integer, bid: Integer, date: Date)
Write the following queries in SQL III III I

i) find the names of sailors who have reserved a red and a


green boat

ii) find the names of sailors who have reserved all boats
11 Explain the following SQL constructs with examples:
VI III II
(i) order by (ii) group by (iii) and having
12 Explain the distinctions among the terms primary key,
foreign key, unique key. III III II

13 Discuss about how add the constraints at table level and


column level with an example II III II

14 How to add the primary key, unique, foreign key and check
constraints on a table using alter command? IV III III

15 Explain Various types of keys? IV III I


16 What is a constraint? Explain in detail about integrity
constraints II III I

17 What is a nested query? Explain with SQL examples IV III I


18 What are nested queries? What is correlation in nested
queries? How would you use the operators IN, EXISTS,
UNIQUE, ANY, and ALL in writing nested queries? Explain II III II
with example

19 Write SQL queries using exists, in, not, any, and all I III III

Page 8 of 14
20 Define Sub queries? Explain with Example queries? IV III I
21 What are the aggregate functions in explain with an
example? II III II

22 Explain Group by clause and order by clause with examples? II III I


23 Explain in brief about different types of joins in SQL II II III
24 What are the advantages of views? List out the constraints
for defining updateable and non-updateable views II III II

25 Discuss about updates on views. What is the need to restrict


view updates IV III I

26 Explain about the complex views and how they are


implemented in sql? II III I

27 Write SQL queries using union, union all, intersect, minus


and explain?. IV III I

28 Explain about Relational Set operators with some examples? III III I

UNIT-1V
Part-A
Short Answer Questions (2M)
Q. No Question BL CO PO
1 What is Normalization? II III II
2 Explain update, deletion anomaly in DBMS? II III I
3 What are the advantages and disadvantages of II
II III
normalization?
4 Define Functional Dependency with an example? II III II
5 Explain the primary, secondary axioms rules? III
IV I
6 Describe the closure set of attributes with an example? III
II I
7 What is partial functional dependency explain with an III
IV I
example?
8 Differentiate between candidate key and super key? III
III I

Page 9 of 14
9 Explain the 1NF with an example? III
VI I
10 When we say a relation is said to be in 2NF? III
III III
11 How do we prove the given relation in BCNF? III
V II
12 Explain about the surrogate key? III
IV II
13 What is spurious tuple in lossy decomposition? III
III III
14 What is the use of surrogate key? III
V II
15 Find the relation R(ABCD) with FD set {A->BC} is
I IV I
decomposed into R1(ABC) and R2(AD) is it a lossless join
decomposition or not?

Part-B
Long Answer Questions (10M)
Q. No Question BL CO PO
1 Explain about purpose of Normalization?
I IV I

2 What are the problems or anomaly’s caused by


redundancy? Discuss in detail. [4M] [R20, SET 3, January VI III II
2023]
3 Define functional dependency and full, partial, transitive, III III II
multi-valued, trivial?
4 R (A, B, C, D) and set of Functional Dependencies are
A→B, B→D, C→B then what is the Closure of A, B, II III II
C, D?
5 In a schema with attributes A,B,C,D and E the following set
of FD’s are given A→B, A→C, CD→E, B→D, E→A. Find IV III III
CD→AC determines from the given FDs or not
6
Find candidate keys for the relation R(ABCD) IV III I
having following FD’s AB→CD,C→A, D→A
7
Find candidate keys for the relation R(ABCDE)
II III I
having following FD’s A→BC, CD→E, B→D,
E→A
8 Compute the closure of the following set F of functional
dependencies for relation schema R = (A, B, C, D, E). A→BC, IV III I
CD →E, B→ D, E → A List the candidate keys for R.
9 Compute the canonical cover Fc, using the following set F of
functional dependencies for relation scheme R=(A,B,C,D) III III II
A→BC, CD→E, B→D,E→A [7M] [R20, SET 4, January 2023]
10 Given a relation R(ABCDEF) having FDs {AB->C, C->DE, E->F,
II III II
C->B} identify the prime attributes and non-prime attributes

Page 10 of 14
11 Find the equivalence of two sets of FDs

IV III III

12

IV III I

13

IV III I

14 What is a normal form? Explain 2NF and 3NF with


examples. [7M] [R20, SET 2, January 2023] II III I

15 Discuss the BCNF and 4th normal form with examples.


[7M] [R20, SET 4, January 2023] IV III I

16 Consider the relation R=ABCDEF and set of FDs are


A→ FC, C→D, B→ E Find thekey and normalize into II II I
2NF.
17 Explain 3NF and find the given relation R(ABCDEF)
with FDs {AB->CDEF, BD->F} is in 3NF or not? II II I

18 Given relation R(ABCDE) and F: {AB→C, B→D, D→E}


III II II
Decompose in into 3NF
19 Why is a relation that is in 3NF generally considered
good? Explain? II I
II
20 Find the given relation R(ABCDE) using FDs
{A->BCDE, BC->ACE, D->E} is in BCNF or not? I II III

21 Identify the highest normal form the given relation


R(ABCDE) using FDs {AB->CDE, D->A} II II I

Page 11 of 14
22 Explain the following: i) Surrogate Key ii) Super key iii)
spurious tuples [7M] VI II II

23 What the problems we overcome in 4NF explain with an


example? II II II

24 Discuss the loss-less join and dependency preserving


properties. [7M] [R20, SET 2, January 2023] III II II

25 Explain why 4NF is more desirable than BCNF [7M]


[R20, SET 1, January 2023] II II I

UNIT-V
Part-A
Short Answer Questions (2M)
Q. No Question BL CO PO
1 What is transaction and its operations? IV III III
2 How Isolation property control the concurrency? IV III I
3 What is dirty read and explain with an example? II III I
4 Explain blind write with an example? IV III I
5 What are the different conflicts in conflict serializability? III III II
6 Give me the example for parallel serialization? III
II II

What is meant by shared lock? V


I I
7
8 What is dense indexing technique? V
I III
9 Explain secondary indexing technique? III
IV I
10 Explain the terms Bucket, Hash Function? III
III II

Part-B
Long Answer Questions (10M)
Q. No Question BL CO PO
1 Explain the operations of Creating, terminating
a II III I
transactions and Transaction characteristics in detail.

b What are ACID properties? Define with examples. II III I


2 Explain different types of locks used in concurrency
a II III I
control.

Page 12 of 14
Write about the anomalies that can be caused by
b II III I
concurrent access to same dataobject

3
Consider the following two transactions:

a II III I

Write a concurrent execution of T13 and T14 that


produces a non-serializableschedule.

Define the terms transaction, schedule, complete schedule,


b I II III
and serial schedule.

4 What is a locking protocol? Describe the Strict Two-


a I III II
Phase Locking protocol.

b Explain about the conflict serializability and view II III II


serializability?
5 How the organization of a file helps us to reduce the
a complexities involved inexecuting various File I III II
operations like search, insert and update? Explain.

Write short notes on: i) Primary index ii) Clustered


b I III II
index iii) Secondary index.

6 Construct a B+ tree of order 3 for the following set of key


values: 1,2,5,8,10,13,18,21,26,37. Assume that the tree is
a I III II
initially empty and elements are entered in the given
order.

How to achieve dynamic multilevel indexing using B-


b I V II
Trees? Explain.

7 What does Extendible hashing use a directory of


a buckets? How does it handlesinsert and delete II V I
operations?

Explain the difference between Hash indexes and B+ tree V


b indexes. IV I

8 Differentiate between dense and sparse indices


a I V II
with an example?

How do we delete a node from B+ tree? Explain


b II V II
with an example?

Bloom’s Taxonomy levels


1) Remembering, 2) Understanding, 3) Applying, 4) Analyzing, 5) Evaluating, 6) Creating

Page 13 of 14
Signature of Faculty Signature of HoD

Page 14 of 14

You might also like