DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
MULTIPLE CHOICE QUESTIONS
ACADEMIC YEAR 2024-2025 (EVEN SEMESTER) – APRIL / MAY 2025
Second Year / Fourth Semester
CS3492 DATABASE MANAGEMENT SYSTEM (Regulations 2021)
Time: 𝟐𝟎 Minutes Maximum Marks: 20
UNIT I RELATIONAL DATABASES
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks ANSWER MARKS
Which type of data can be stored in the database?
a) Image oriented data
1 b) Text, files containing data
c) Data in the form of audio or video
d) All of the above
Which command is used to remove a relation from an SQL?
a) Drop table
2 b) Delete
c) Purge
d) Remove
______________ is a set of one or more attributes taken
collectively to uniquely identify a record.
3
a) Primary Key
b) Foreign key
c) Super key
d) Candidate key
Which of the following command is correct to delete the
values in the relation teaches?
4
a) Delete from teaches;
b) Delete from teaches where Id =’Null’;
c) Remove table teaches;
d) Drop table teaches;
Procedural language among the following is __________
a) Domain relational calculus
5 b) Tuple relational calculus
c) Relational algebra
d) Query language
6
After groups have been established, SQL applies predicates in
the ___________ clause, allowing aggregate functions to be
used.
a) Where
b) Having
c) Group by
d) With
Which of the following is correct regarding the file produced
by a spreadsheet?
7
a) can be used as it is by the DBMS
b) stored on disk in an ASCII text format
c) all of the mentioned
d) none of the mentioned
The values appearing in given attributes of any tuple in the
referencing relation must likewise occur in specified attributes
of at least one tuple in the referenced relation, according to
8
_____________________ integrity constraint.
a) Referential
b) Primary
c) Referencing
d) Specific
The DBMS acts as an interface between ________________
and ________________ of an enterprise-class system.
9
a) Data and the DBMS
b) Application and SQL
c) Database application and the database
d) The user and the software
The ability to query data, as well as insert, delete, and alter
tuples, is offered by ____________
10
a) TCL (Transaction Control Language)
b) DCL (Data Control Language)
c) DDL (Data Definition Langauge)
d) DML (Data Manipulation Langauge)
Total Marks (20 Marks)
Faculty Incharge HOD/CSE
UNIT II DATABASE DESIGN
Time: 𝟐𝟎 Minutes Maximum Marks: 20
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks ANSWER MARKS
Which forms have a relation that contains information about a
single entity?
1
a) 4NF
b) 2NF
c) 5NF
d) 3NF
Why the following statement is erroneous?
SELECT dept_name, ID, avg (salary)
FROM instructor
GROUP BY dept_name;
2 a) Dept_id should not be used in group by clause
b) Group by clause is not valid in this query
c) Avg(salary) should not be selected
d) None
Which of the following is known as a set of entities of the
same type that share same properties, or attributes?
3
a) Relation set
b) Tuples
c) Entity set
d) Entity Relation model
Which of the following is not a type of database?
a) Hierarchical
4 b) Network
c) Distributed
d) Decentralized
Which of the following set should be associated with weak
entity set for weak entity to be meaningful?
5
a) Neighbour set
b) Strong entity set
c) Owner set
d) Identifying set
Functional requirement or database design..............
a) Describe about kind of operation translation could be
6
performed on the data.
b) Describe functionality of program
c) Describe functionality of query language
d) Describe functionality of each and every data element
Which is not part of ER Model basic concept
a) Entity set
7 b) Relationship set
c) Attribute
d) Attribute set
Regressive relationship set is.................
a) Same entity set participate in relationship set more than
once in difference roles.
b) Same entity set participate in relationship set more than
8 once in same roles
c) Different entity set participate in relationship set more
than once in difference roles
d) Same entity set participate in relationship set more than
once in same roles
Super key is…............
a) set of one or more attribute to identify uniquely a record
in the relation.
9 b) It is only a one key with only one attribute used to define
super class
c) It is a foreign key for identify parent class
d) It is a foreign key for identifying child class
What is the correct syntax to create a table in SQL?
a) CREATE TABLE table_name (column1 datatype, column2
datatype, ...);
10
b) CREATE table_name (column1 datatype, column2
datatype, ...);
c) TABLE CREATE table_name (column1 datatype, column2
datatype, ...);
d) None of the above
Total Marks (20 Marks)
Faculty Incharge HOD/CSE
UNIT III TRANSACTIONS
Time: 𝟐𝟎 Minutes Maximum Marks: 20
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks ANSWER MARKS
A _________ consists of a sequence of query and/or update
statements.
1
a) Transaction
b) Commit
c) Rollback
d) Flashback
Consider the following action:
TRANSACTION.....
Commit;
ROLLBACK;
2
What does Rollback do?
a) Undoes the transactions before commit
b) Clears all transactions
c) Redoes the transactions before commit
d) No action
Transaction processing is associated with everything below
except
3
a) Conforming an action or triggering a response
b) Producing detail summary or exception report
c) Recording a business activity
d) Maintaining a data
Which of the following is used to get back all the transactions
back after rollback?
4
a) Commit
b) Rollback
c) Flashback
d) Redo
______ will undo all statements up to commit?
a) Transaction
5 b) Flashback
c) Rollback
d) Abort
The INSERT, UPDATE, or DELETE statement fails if the
OLE DB provider used to access the linked server does not
support the _________ interface.
6 a) ITransJoin
b) ITransactionJoin
c) IactionJoin
d) None of the mentioned
Point out the wrong statement.
a) BEGIN TRANSACTION represents a point at which the
7 data referenced by a connection is logically and physically
consistent
b) BEGIN TRANSACTION deccrements @@TRANCOUNT
by 2
c) BEGIN TRANSACTION starts a local transaction for the
connection issuing the statement
d) All of the mentioned
Which of the following is valid syntax for SAVE
TRANSACTION with all the optional parameters?
a)
SAVE { TRAN | TRANSACTION }
[;]
b)
8
SAVE { savepoint_name | @savepoint_variable }
[;]
c)
SAVE { TRAN | TRANSACTION } { savepoint_name |
@savepoint_variable }
d) None of the mentioned
If @@TRANCOUNT is 1 ________ makes all data
modifications performed since the start of the transaction a
permanent part of the database.
9 a) COMMIT TRANSACTION
b) SAVE TRANSACTION
c) ROLLBACK TRANSACTION
d) None of the mentioned
Point out the correct statement.
a) Transaction ID Returns an object that can be used to specify
configuration options for a subsequent call to ITransactionJoin
b) COMMIT WORK syntax, with or without specifying the
10
optional keyword WORK, is compatible with SQL-92
c) You can use ROLLBACK WORK TRANSACTION to
erase all data modifications made from the start of the
transaction
d) SQL-92 was the third revision of the SQL database query
language
Total Marks (20 Marks)
Faculty Incharge HOD/CSE
UNIT IV IMPLEMENTATION TECHNIQUES
Time: 𝟐𝟎 Minutes Maximum Marks: 20
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks OPTION MARKS
What is heap file organization?
a) Any record can be placed wherever there is a space for the
record
1
b) Records are stored in a sequential order according to a
search key
c) A hash function is computed on some attribute and that
decides the block
d) None of the mentioned
What is sequential file organization?
a) Any record can be placed wherever there is a space for the
record
2
b) Records are stored in a sequential order according to a
search key
c) A hash function is computed on some attribute and that
decides the block
d) None of the mentioned
What is a bucket overflow?
a) When a bucket does not have enough space
3 b) There are insufficient buckets
c) When Bucket skew occurs
d) All of the mentioned
Which of the following need to be stored in the data
dictionary?
4
a) Name of the relation
b) Domains and lengths of attributes
c) Integrity constraints
d) All of the mentioned
The subsystem responsible for the allocation of buffer space
is called as _______
5
a) Buffer allocator
b) Buffer manager
c) Buffer enhancer
d) Buffer intermediary
What is a search key in sequential file organization?
a) A number assigned to each record
6 b) Necessarily the primary key
c) Any attribute or a set of attributes
d) None of the mentioned
What is the full form of LRU (in buffer replacement
strategy)?
7
a) Least Reactive User
b) Least Recently Used
c) Least Read URL
d) Lowest Reading User
In a __________ , we obtain the address of the disk block
containing a desired record directly by computing a function
on the search key value of the record
8 a) Hash file organization
b) Hash index organization
c) Hashing address
d) None of the mentioned
Data dictionary is also called as ________
a) Data log
9 b) System log
c) System catalog
d) System database log
Metadata about the relations are stored in ________
a) File header
10 b) Data dictionary
c) Data query
d) Data analyser
Total Marks (20 Marks)
Faculty Incharge HOD/CSE
UNIT V ADVANCED TOPICS
Time: 𝟐𝟎 Minutes Maximum Marks: 20
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks ANSWER MARKS
What is NoSQL?
a) A form of structured query language
1 b) A type of database management system
c) A programming language
d) A data visualization tool
Which NoSQL data architectural pattern is focused on
handling large volumes of data with high velocity?
2 a) Document-oriented
b) Key-value store
c) Column-family
d) Graph
What does ACID stand for in the context of database
transactions?
a) Atomicity, Consistency, Isolation, Durability
3
b) Association, Collaboration, Integration, Deployment
c) Availability, Compatibility, Integration, Deployment
d) Atomicity, Consistency, Integrity, Durability
Which NoSQL database type is optimized for storing and
retrieving data in a key-value pair format?
a) Column-family
4
b) Graph
c) Key-value store
d) Document-oriented
Which major companies popularized the concept of NoSQL
databases?
5
a) Microsoft, Apple, IBM
b) Twitter, LinkedIn, Instagram
c) Google, Facebook, Amazon
d) Netflix, Spotify, Airbnb
What is a common variation of NoSQL architectural patterns
used for managing big data analytics workloads?
6 a) Document-oriented databases
b) Graph databases
c) Wide-column stores
d) Key-value stores
MongoDB is an example of which type of NoSQL database?
a) Key-value store
7 b) Document-oriented
c) Column-family
d) Graph
Which NoSQL database type is known for its ability to handle
hierarchical data structures efficiently?
8
a) Column-family
b) Graph
c) Key-value store
d) Document-oriented
Which NoSQL architectural pattern is designed for storing
and querying data in a tabular format with dynamic
columns?
a) Key-value store
9
b) Document-oriented
c) Column-family
d) Graph
What does NOSQL stand for in the context of databases?
10
a) New Operational SQL
b) Non-Operational SQL
c) Not Only SQL
d) Non-Optimized SQL
Total Marks (20 Marks)
Faculty Incharge HOD/CSE