100% found this document useful (1 vote)
261 views

DBMS Question DBMS

DBMS assignment quantum university

Uploaded by

digitalnepal2079
Copyright
© © All Rights Reserved
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
100% found this document useful (1 vote)
261 views

DBMS Question DBMS

DBMS assignment quantum university

Uploaded by

digitalnepal2079
Copyright
© © All Rights Reserved
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/ 14

Quantum University, Roorkee

Quantum School of Technology


Department of Technology
________________________________________________________________________________

Question Bank – Unit -1

Program: Bachelor of Technology Semester: 3rd

Course Title: Database Management system Course Code:


CS3305

Name of Faculty: Kapil Kumar Session: 2023-2024

MCQs/True False/Fill in the Blanks

Bloom’s
Q.N
Question CO Taxonom BL
.
y
The level of data abstraction which describes how the data
1 is actually stored is……………

DML Stands for………….


2

Entity is a ________
a) Object of relation b) Present working model c) Thing
3
in real world d) Model of relation

A Database Management System (DBMS) is


a) Collection of interrelated data b) Collection of
programs to access data
4 c) Collection of data describing one particular enterprise
d) All of the above

In an Entity-Relationship Diagram Rectangles


5 represents……………….

An Attribute is a property of an entity or a relationship


6 type. True/False

The view of total database content is


a) Conceptual view b) Internal view c) External view
7 d) Physical View
An entity set that does not have sufficient attributes to
form a primary key is termed a………
8 a) Strong entity set b) Variant set c) Weak entity set d)
Variable set

In entity attribute modelling many to many relationship is


9
represented by M:M. True/False
An E – R Diagram purpose is to support a users perception
of the data and conceal the technical aspects associated
10 with database design. True/False

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

Long Answer

Bloom’s
Q.N
Question CO Taxonom BL
.
y

1 Briefly explain about Database system architecture.

2 Explain E-R Model in detail with suitable example.

3
Explain about various data models.

4 Draw an E – R Diagram for Banking.

5 Draw an E – R Diagram for University.

6
Briefly explain about Views of data.

Describe various advantages of Data base management


7 system compare to file system.
Discuss the Aggregation and Generalization? Explain it
8
with the help of example.
9 Explain the components of DBMS with a neat diagram.
Explain specialization and generalization concepts in ER
10
diagram with Suitable example.
Define Instance and Schema? List different data models
11 and explain?

12 Explain about Database languages with examples?


Discuss about Database users and Administrators?
13

Discuss Data Abstraction? Explain about different views


14 of data.

Explain following terms in detail. Entity set, Simple


15 attribute, Composite attribute, single valued attribute,
multivalued attribute, Null attribute, derived attribute.

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)
Quantum University, Roorkee

Quantum School of Technology


Department of Computer Applications
________________________________________________________________________________

Question Bank – Unit -2

Program: Bachelor of Technology Semester: 3rd

Course Title: Database Management system Course Code:


CS3305

Name of Faculty: Kapil Kumar Session: 2023-2024

MCQs/True False/Fill in the Blanks

Bloom’s
Q.N
Question CO Taxonom BL
.
y
An attribute is a __________ in a relation.
1 a) Row b) Column c) Value d) Tuple

If a relation consists of a foreign key, then it is called a


referenced relation of the foreign key dependency.
2 True/False

SQL stands for __________.


3

The DBMS that is most difficult to use is…………….

a) Microsoft's SQL Server b) Microsoft's


4 Access
c) IBM's DB2 d) Oracle
Corporation's Oracle

Multiple constraints can be included in a single query


5 True/False

The definition of primary and foreign key relationships are


set using SQL
6
a) Keys b) Assignments c) Rules
d) Constraints

7 DDL Stands for__________.


The primary key does not necessarily have to be unique
for a table
8
True/False

‘AS’ clause is used in SQL for operation


9
a) Modify b) Alter c) Rename d) All

__________ is a Collection of all possible value.


10 a) Range b) Tuple c) Domain d) Record

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

Long Answer

Bloom’s
Q.N
Question CO Taxonom BL
.
y
Discuss the candidate key, primary key, super key,
1 composite key and alternate key.

Describe about constraint in database? Explain types of


2 constraints with suitable example.

Explain about SQL and write sql syntax for creating table
EMP(EMPNO,ENAME,SALARY,JDATE,DIS).Write sql
3 syntax for insert two rows in table, delete one row from
table, update salary and view whole table.

Discuss about relational algebra and also explain about


4 different operators used in algebra.

Explain in detail about nested queries.


5
Explain about aggregate functions.
6

Differentiate the relational algebra and calculus.


7

Discuss about join. Explain about conditional join and


8 natural join with syntax and example.

Explain about triggers and active databases.


9

Discuss about outer joins with examples.


10

List and Explain set operators of relational algebra.


11

Explain the use of group by clause.


12

How to list and update row in a table? Explain with syntax


13 and examples.

Explain the concept of Database Cursor and Stored


14 procedure with example in PL/SQL.

Define view in SQL? How is it created?


15

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)
Quantum University, Roorkee

Quantum School of Technology


Department of Computer Applications
________________________________________________________________________________

Question Bank – Unit -3


Program: Bachelor of Technology Semester: 3rd

Course Title: Database Management system Course Code:


CS3305

Name of Faculty: Kapil Kumar Session: 2023-2024

MCQs/True False/Fill in the Blanks

Bloom’s
Q.N
Question CO Taxonom BL
.
y
If no multivalued attributes exist in a relation, then the
relation is in what normal form?
1
a) 1NF b) 2NF c) 3NF d) 4NF

Normalization is a formal process for deciding which


attributes should be grouped together in a relation.
2
True/False

In the __________ normal form, a composite attribute is


converted to individual attributes.
3

Functional Dependencies are the types of constraints that


are based on______
4 a) Key b) Key revisited c) Superset key
d) None of the mentioned

If a relation is in 3NF, it does not need to be in 2NF.


5 True/False

Which normal form is considered adequate for normal


relational database design? a) 1NF b) 2NF c)
6
3NF d) 4NF

Lossless, dependency-preserving decomposition into


BCNF is always possible
7
True/False

8 A relation R is in 3NF if every non-prime attribute of R is


fully functionally dependent on every key of R
True/False

‘The highest normal form of this relation scheme is


9 a) BCNF b) 2NF c) 3NF d) 4NF

A prime attribute can be transitively dependent on a key in


a 3 NF relation.
10
True/False

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

Long Answer

Bloom’s
Q.N
Question CO Taxonom BL
.
y
Explain about Full functional dependency and Partial
1 dependency

Explain the following with suitable example:


2 a) non-loss decomposition b) prime attributes

Define BCNF. How does BCNF differ from 3NF? Explain


3 with example.

Define normalization. List and Explain different normal


4 forms with examples.

Explain the classification of functional dependency.


5

Discuss about super key and candidate key in functional


6 dependency with example.

Define multivalued dependency? Explain with example.


7
Define multivalued dependency? Explain with example.
8

Define union rule, decomposition rule, reflexivity rule,


9 augmentation rule and transitivity rule.

Explain detail in decomposition using Functional


10 Dependencies.

Explain detail in decomposition using Multi-Valued


11 Dependencies.

Explain Closure of Set of Functional dependency and


12 Closure of Attribute sets.

Explain the role of functional dependency in the process of


13 normalization.

Describe about dependency-preserving decomposition?


14

Explain the concept of attribute closure.


15

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

Quantum University, Roorkee

Quantum School of Technology


Department of Computer Applications
________________________________________________________________________________

Question Bank – Unit -4

Program: Bachelor of Technology Semester: 3rd

Course Title: Database Management system Course Code:


CS3305

Name of Faculty: Kapil Kumar Session: 2023-2024

MCQs/True False/Fill in the Blanks


Bloom’s
Q.N
Question CO Taxonom BL
.
y
A transaction may not complete its execution successfully.
Such a transaction is termed…….
1 a) Aborted b) Terminated c) Closed
d) All of the mentioned.

The “all-or-none” property is commonly referred to as


2 a) Isolation b) Durability c) Atomicity
d) None of the mentioned

Information residing in the volatile storage does not


3 usually survive system crashes.
T/F

Each modification done in database transaction are first


4
recorded into the
a) Hard drive b) Log c) Disk d) Datamart

Which of the following is an atomic sequence of database


actions?
5 a) Transaction b) Concurrency c) Relations
d) All of the mentioned

Locks help to synchronize access to the database items by


6 concurrent transactions.
T/F

The timestamp-based algorithm uses a timestamp to


7
serialize the execution of concurrent transactions.
T/F

………….means that the data used during the execution of


a transaction cannot be used by a second transaction until
8 the first one is completed.
a) Isolation b) Durability c) Atomicity d)Consistency

Once a transaction has executed commit work, its effects


can no longer be undone by
9 a) Trace work b) Transmit work c) Rollback work
d) Traceback work

The protocol that indicates when a transaction may lock


and unlock each of the data items is called as
10 __________
a) Locking protocol b) Unlocking protocol c) Granting
protocol d) Conflict protocol
Bloom’s Taxonomy and Bloom’s Level
(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

Long Answer

Bloom’s
Q.N
Question CO Taxonom BL
.
y
Explain the concepts of serializability.
1

Explain various recovery techniques during transaction in


2 detail.

Describe about the deadlock prevention schemes


3

Discuss about two phase locking and commit protocol.


4

Explain about deadlock prevention and dead lock


5 detection method.

Explain the deadlock recovery technique.


6

Define Serializability. Explain the types of serializability


7 with example.

Describe the concept of Query optimization.


8

Discuss about transaction recoverability.


9

Explain ACID properties of transaction management


10

Explain in detail about Timestamp based protocols.


11

Explain transaction states with example?


12

Describe the concept of transaction rollback?


13

How Transactions are possible in Distributed database?


14 Explain briefly.

Explain role of check point in log base.


15
Bloom’s Taxonomy and Bloom’s Level
(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

Quantum University, Roorkee

Quantum School of Technology


Department of Computer Applications
________________________________________________________________________________

Question Bank – Unit -5

Program: Bachelor of Technology Semester: 3rd

Course Title: Database Management system Course Code:


CS3305

Name of Faculty: Kapil Kumar Session: 2023-2024

MCQs/True False/Fill in the Blanks

Bloom’s
Q.N
Question CO Taxonom BL
.
y
What is a key difference between SQL and NoSQL
databases?
a) SQL databases are only used for large-scale
applications.
1 b) NoSQL databases are only used for structured data.
c) SQL databases use a structured schema, while
NoSQL databases are schema-less.
d) NoSQL databases rely on the ACID properties.

Which type of database is better suited for handling


unstructured or semi-structured data?
a) SQL
2 b) NoSQL
c) Both are equally suitable.
d) Neither is suitable for unstructured data.

Which of the following is a common example of a SQL


database management system (DBMS)?
a) MongoDB
3 b) Redis
c) MySQL
d) Cassandra

In the CAP theorem, which aspect can be compromised


4
in a distributed system when a network partition
occurs?
a) Consistency
b) Availability
c) Partition tolerance
d) All of the above

When should you consider using a document-based


NoSQL database?
a) When you need to perform complex joins between
tables.
5 b) When you have highly structured data.
c) When you need to store data in a tabular format.
d) When you want to store data as JSON-like
documents.

Which type of database is more suitable for handling


data with many-to-many relationships?
a) SQL
b) NoSQL
6
c) Both are equally suitable.
d) Neither is suitable for handling many-to-many
relationships.

Which property is associated with SQL databases and


ensures transactions are processed reliably and
accurately?
7 a) ACID
b) BASE
c) CAP
d) NoSQL
What is the primary advantage of using NoSQL
databases when it comes to scalability?
a) They do not require partition tolerance.
8 b) They can easily scale horizontally by adding more
servers.
c) They guarantee strong data consistency.
d) They use a fixed schema for data storage.
Which type of database is typically preferred for
applications where real-time data retrieval is critical,
such as online gaming?
9 a) SQL
b) NoSQL
c) Both are equally suitable.
d) Neither is suitable for real-time data retrieval.
What is one key benefit of using SQL databases for
complex queries and reporting?
a) They have faster data retrieval times.
10
b) They are more cost-effective.
c) They provide strong consistency for data.
d) They support flexible data structures.

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)
Long Answer

Bloom’s
Q.N
Question CO Taxonom BL
.
y
What is the primary difference between SQL and NoSQL
1
databases?
What does ACID stand for, and how is it related to SQL
2
databases? Explain.
Which type of database, SQL or NoSQL, is better suited
3
for structured data? Explain.
Explain the CAP theorem and how it relates to the
4 consistency, availability, and partition tolerance of
NoSQL databases.
How do SQL and NoSQL databases handle relationships
5
between data entities differently?
What is spatial data in the context of a database
6 management system, and why is it important in modern
applications?
Discuss the difference between spatial data and
7
traditional tabular data in a database
What is the fundamental difference between a single-
8
database system and a multi-database system?
How does data sharing work between databases in a
9 multi-database system compared to a single-database
system?

10 Describe the data model used in SQL databases.

Discuss the concept of schema flexibility in NoSQL


11 databases. How does it impact data modeling and
database design?
Explain four types of v NoSQL databases with an
12
example for each type.
Explain the characteristics of NoSQL databases. How
13
they address the limitations of relational databases?
What is NoSQL, and how does it differ from traditional
14
relational databases?
Compare and contrast the ACID properties of
15 transactions in relational databases with the BASE
properties often associated with NoSQL databases.

Bloom’s Taxonomy and Bloom’s Level


(BL-1: Remember, BL-2: Understand, BL-3: Apply, BL-4: Analyze, BL-5: Evaluate, BL-6: Create)

You might also like