DBMS - Ans
DBMS - Ans
DBMS - Ans
com/dbms-mcq )
1. Which of the following is generally used for performing tasks like creating the structure of
the relations, deleting relation?
2. Query
3. Relational Schema
2. Which of the following provides the ability to query information from the database and
insert tuples into, delete tuples from, and modify tuples in the database?
1. DML(Data Manipulation Language)
3. Query
4. Relational Schema
4. Which one of the following given statements possibly contains the error?
1. select * from emp where empid = 10003
SELECT emp_name
FROM department
In the above-given Query, which of the following can be placed in the Query's blank
portion to select the "dept_name" that also contains Computer Science as its ending
string?
1. &
2. _
3. %
4. $
7. In the following Query, which of the following can be placed in the Query's blank portion
to display the salary from highest to lowest amount, and sorting the employs name
alphabetically?
SELECT *
FROM instructor
1. Ascending, Descending
2. Asc, Desc
3. Desc, Asc
SELECT name
FROM instructor1
1. SELECT name
FROM instructor1
2. SELECT name
FROM instructor|
3. SELECT name
FROM instructor1
4. SELECT name
FROM instructor!
4. Both A and C
10.The term "FAT" is stands for_____
1. File Allocation Tree
11.Which of the following can be considered as the maximum size that is supported by FAT?
1. 8GB
2. 4GB
3. 4TB
4. Both A and C
13.Which of the following can be considered as the maximum size that is supported by NTFS?
1. 4GB
2. 16TB
3. 64TB
4. 8TB
14.A huge collection of the information or data accumulated from several different sources is
known as ________:
1. Data Management
2. Data Mining
3. Data Warehouse
4. Both B and C
15.Which of the following can be used to extract or filter the data & information from the
data warehouse?
1. Data redundancy
3. Data mining
4. Both B and C
16.Which one of the following refers to the copies of the same data (or information) occupying
the memory space at multiple places.
1. Data Repository
2. Data Inconsistency
3. Data Mining
4. Data Redundancy
2. Sub Data
3. Warehouse
4. Meta Data
18.Which of the following refers to the level of data abstraction that describes exactly how the
data actually stored?
1. Conceptual Level
2. Physical Level
3. File Level
4. Logical Level
2. Database Administrator
3. Data Administrator
2. Fields
3. Database
4. Records
2. Basic information
4. Both A and C
2. Tuples
3. Entity
2. Column
3. Cardinality
2. Alter
3. Delete
2. Update
3. Delete
4. Merge
26.Which of the following is a top-down approach in which the entity's higher level can be
divided into two lower sub-entities?
1. Aggregation
2. Generalization
3. Specialization
27.In which one of the following, the multiple lower entities are grouped (or combined)
together to form a single higher-level entity?
1. Specialization
2. Generalization
3. Aggregation
28.In a relation database, every tuples divided into the fields are known as the______.
1. Queries
2. Domains
3. Relations
2. Row
3. Column
4. Both B &C
2. Row
3. Column
32.Which of the following is used in the application programs to request data from the
database management system?
1. Data Manipulation language
33.Which one of the following command is used to delete the existing row in a table?
1. Delete
2. Update
3. Insert
34.Which of the following commands is used to save any transaction permanently into the
database?
1. Commit
2. Rollback
3. Savepoint
2. Drop
3. Remove
36.Which one of the following commands is used to restore the database to the last committed
state?
1. Savepoint
2. Rollback
3. Commit
4. Both A & B
37.The database management system can be considered as the collection of ______ that
enables us to create and maintain the database.
1. Translators
2. Programs
3. Keys
4. Language activity
39.Which of the following refers collection of the information stored in a database at a specific
time?
1. Independence
3. Schema
4. Data domain
40.The term "SQL" stands for
1. Standard query language
4. Both B & C
2. It is a non-procedural language
3. It is a high-level language
43.Which one of the following refers to the total view of the database content?
1. Conceptual view
2. Physical view
3. Internal view
4. External view
2. Two-level
3. Three-level
4. Four level
47.In the relation model, the relation are generally termed as ________
1. Tuples
2. Attributes
3. Rows
4. Tables
48.The Database Management Query language is generally designed for the _____
1. Support end-users who use English like commands
49.Which of the following keys is generally used to represents the relationships between the
tables?
1. Primary key
2. Foreign key
3. Secondary key
2. External Level
3. Conceptual Level
4. Physical Level
51.A computer security protocol for logging-in can be considered as the example of the ______
component of an information system.
1. Data
2. Software
3. Procedure
4. Hardware
52.Which one of the following keyword is used to find out the number of values in a column?
1. TOTAL
2. COUNT
3. SUM
4. ADD
53.Which one of the following is commonly used to define the overall design of the database?
1. Application program
3. Schema
4. Source code
54.Which one of the following commands is used to modify a column inside a table?
1. Drop
2. Update
3. Alter
4. Set
# DBMS MCQ 2 ( https://www.interviewbit.com/dbms-mcq/ )
2. Which of the following is the property of transaction that protects data from system
failure?
1. Atomicity
2. Isolation
3. Durability
4. Consistency
2. Isolation
3. Durability
4. Consistency
2. 2NF
3. 3NF
4. BCNF
5. Which is the lowest level of abstraction that describes how the data are actually stored?
1. Physical
2. Abstract
3. View
4. User
6. For performing tasks like creating the structure of the relations, deleting relation, which of
the following is used?
1. Data definition language
2. Entity
3. Tuple
4. None
2. Delete
3. Create
9. During transaction before commit which of the following statement is done automatically
in case of shutdown?
1. Rollback
2. Commit
3. View
4. Flashback
2. Delete
3. Rollback
4. Remove
12.What is DBMS?
1. Collection of many programs to access data
3. Collection of commands
4. All
2. Attributes
3. Tuples
4. Entity sets
2. Attribute
3. Super key
4. Domain
16.Which of the following is known as minimal super key?
1. Primary key
2. Candidate key
3. Foreign key
4. None
2. Select
3. Rename
2. Selection
3. Join
4. Projection
2. 3
3. 4
4. 5
2. Tree
3. Linked list
4. Stacks
21.How is ER diagram represented?
1. Circle
2. Ellipse
3. Triangle
4. Square
2. Tuple
3. Relation
4. None
2. 2NF
3. 3NF
4. 4NF
2. ORDER BY
3. SELECT
4. WHERE
4. All
26.Select the correct foreign key constraint?
1. Referential integrity
2. Entity integrity
3. Domain integrity
4. None
27.What is the name of the query that is placed within a WHERE or HAVING clause of
another query?
1. Multi query
2. Subquery
3. Super query
4. Master query
2. DELETE
3. ERASE
4. REMOVE
2. Insert
3. Delete
4. All
2. UPDATE
3. MERGE
4. NONE
31.Which of the following normal forms contains information about a single entity?
1. 1NF
2. 2NF
3. 3NF
4. 4NF
4. Both B and C
2. Cardinality
3. Entity
4. None
2. It is a procedural language
3. It is a non-procedural language
2. Internal view
3. Conceptual view
4. External view
37.Select the definition of the correct key which is used to represent relation between two
tables?
1. Candidate key
2. Foreign key
3. Primary key
4. Super key
2. SUM
3. TOTAL
4. COUNT
2. ALTER
3. DROP
4. SET
2. Groups
3. Attributes
4. Switchboards
41.Primary key can be?
1. NULL
2. NOT NULL
4. Depends on situation
42.To select some particular columns, which of the following command is used?
1. PROJECTION
2. SELECTION
3. JOIN
4. UNION
43.Select the correct database object which does not exist physically.
1. Base table
2. View
3. Index
4. None
4. None
45.Which of the following operator is used to compare a value to a list of literals values that
have been specified?
1. ANY
2. BETWEEN
3. IN
4. ALL
46.Maximum children of a B-tree of order m?
1. m/2
2. m – 1
3. m
4. m + 1
2. Self join
3. Outer join
4. Equi join
2. CHARACTER
3. FLOAT
2. Data security
2. What is a database?
1. Organized collection of information that cannot be accessed, updated, and managed
3. Organized collection of data or information that can be accessed, updated, and managed
3. What is DBMS?
1. DBMS is a collection of queries
2. Charles Bachman
3. Charles Babbage
4. Sharon B. Codd
2. Text
3. Table
4. Graph
2. Network
3. Distributed
4. Decentralized
2. Microsoft Acess
3. IBM DB2
4. Google
3. Lack of Authentication
2. Manipulating data
4. Analysing code
3. Data Integrity
2. Data Languages
3. Data Manager
14.Which of the following is known as a set of entities of the same type that share same
properties, or attributes?
1. Relation set
2. Tuples
3. Entity set
2. Tera data
3. Meta data
4. Relations
16.What does an RDBMS consist of?
1. Collection of Records
2. Collection of Keys
3. Collection of Tables
4. Collection of Fields
17.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 _____________________ integrity constraint.
1. Referential
2. Primary
3. Referencing
4. Specific
4. Printer
2. Foreign key
3. Super key
4. Candidate key
2. Delete
3. Purge
4. Remove
23.Which of the following set should be associated with weak entity set for weak entity to be
meaningful?
1. Neighbour set
3. Owner set
4. Identifying set
24.Which of the following command is correct to delete the values in the relation teaches?
1. Delete from teaches;
3. Relational algebra
4. Query language
2. Inner join
3. Natural join
27.Which forms have a relation that contains information about a single entity?
1. 4NF
2. 2NF
3. 5NF
4. 3NF
28.The top level of the hierarchy consists of ______ each of which can contain _____.
1. Schemas, Catalogs
2. Schemas, Environment
3. Environment, Schemas
4. Catalogs, Schemas
29._______ indicates the maximum number of entities that can be involved in a relationship.
1. Greater Entity Count
2. Minimum cardinality
3. Maximum cardinality
4. ERD
30.The user IDs can be added or removed using which of the following fixed roles?
1. db_sysadmin
2. db_accessadmin
3. db_securityadmin
4. db_setupadmin
4. None
32.The traditional storage of data organized by the customer, stored in separate folders in
filing cabinets is an example of ______________ type of ‘database’ management
1. Object-oriented database management system
33.After groups have been established, SQL applies predicates in the ___________ clause,
allowing aggregate functions to be used.
1. Where
2. Having
3. Group by
4. With
34.Which of the following is not the utility of DBMS?
i) Backup
ii) Loading
iii) Process Organization
iv) File organization
2. Deletes relation
2. Create view as
4. With data
40.The query specifying the SQL view is said to be updatable if it meets which of the following
conditions?
1. select clause contains relation attribute names but not have expressions, aggregates, or distinct
specification
41.When the “ROLLUP” operator for expression or columns within a “GROUP BY” clause is
used?
1. Find the groups that make up the subtotal in a row
2. Create group-wise grand totals for the groups indicated in a GROUP BY clause
3. Group expressions or columns specified in a GROUP BY clause in one direction, from right to left, for
4. To produce a cross-tabular report for computing subtotals by grouping phrases or columns given within a
2. Concatenation
3. Relational-and
43.Which of the following is the subset of SQL commands used to manipulate Oracle
Structures, including tables?
1. Data Described Language
44.Which of the following functions construct histograms and use buckets for ranking?
1. Ntil()
2. Newtil()
3. Rank()
45.__________ command is used in SQL to issue multiple CREATE TABLE, CREATE VIEW
and GRANT statements in a single transaction.
1. CREATE CLUSTER
2. CREATE PACKAGE
3. CREATE SCHEMA
46.Which of the following key is required in to handle the data when the encryption is applied
to the data so that the unauthorised user cannot access the data?
1. Primary key
2. Authorised key
3. Encryption key
4. Decryption key
47.Which of the following is known as the process of viewing cross-tab with a fixed value of
one attribute?
1. Dicing
2. Pivoting
3. Slicing
48.For designing a normal RDBMS which of the following normal form is considered
adequate?
1. 4NF
2. 3NF
3. 2NF
4. 5NF
49.Which of the following is popular for applications such as storage of log files in a database
management system since it offers the best write performance?
1. RAID level 0
2. RAID level 1
3. RAID level 2
4. RAID level 3
2. {t | P(t)}
3. t | P() | t
2. Physical
3. Hierarchical
4. Relational
52.Evaluate the statements issued by the DBA in the given sequence if OE and SCOTT are the
users and the ORDERS table is owned by OE.
CREATE ROLE r1;
GRANT SELECT, INSERT ON oe. orders TO r1;
GRANT r1 TO scott;
GRANT SELECT ON oe. orders TO scott;
REVOKE SELECT ON oe.orders FROM scott;
What would be the outcome after executing the statements?
1. The REVOKE statement would give an error because the SELECT privilege has been granted to the role
R1
2. The REVOKE statement would remove the SELECT privilege from SCOTT as well as from the role R1
2. Network schema
3. Hierarchical schema
54.A major goal of the db system is to minimize the number of block transfers between the
disk and memory. Which of the following helps in achieving this goal?
1. Secondary storage
2. Storage
3. Catalog
4. Buffer