Professional Documents
Culture Documents
DBMS MCQ Ques
DBMS MCQ Ques
DBMS MCQ Ques
1) http://www.geeksforgeeks.org/dbms-gq/database-design-normal-forms-gq/
2) http://www.geeksforgeeks.org/dbms-gq/er-and-relational-models-gq/
3) http://www.geeksforgeeks.org/dbms-gq/sql-gq/
4) http://www.sanfoundry.com/database-mcqs-constraints/
5)https://www.tutorialspoint.com/sql_certificate/using_single_row_functions_questio
ns.htmven
Please search other mcq’s yourself also.. Do not rely only on those given by me
3. You are searching an electronic article index that contains citations to journal
articles. What part of each article does the database contain?
a. The whole article
b. A summary of the article
c. The title of the article
d. The author, title and source of the article
7. Which is the most suitable type of database for storing sensitive data?
a. RDBMS
b. XML
c. Open Source
d. My SQL
11. Database is said to be the back end of any information system but what is at
the lower hierarchy of the database over which it fully resides.
a. System Software
b. DBMS software
c. Storage Devices (Disk Storages)
d. Batteries
15. In three tier Architecture of DBMS the business logic resides at which layer
________
A) Application Layer
B) Presentation layer
C) Data Layer
D) Non of the above
20. From the following what are the things that are represented at conceptual level or
logical level by DBA
A) All entities, their attributes, and their relationships.
B) The constraints on the data
C) Security and Integrity information
D) All of these
21. Which of the following is not true regarding internal level of three schema
architecture?
A) Concerned with Storage space allocation for data and indexes
B) Concerned with data compression and data encryption techniques
C) Record Placement
D) Semantic and integrity information
25) What is the disadvantage regarding client/server architecture from the following
A) Programming cost is high in client/server environments.
B) Client/server environment facilitates in more productive work by the user and
making better use of existing data.
C) Client/server system has less expensive platform to support application that had
previously been running only on large and expensive mini or mainframe computers
D) Menu driven interface in client/server architecture is superior that the dumb
terminal interface as in mainframes.
26) Which of the following database activities determines the entities, attributes, and
relationships of data?
A.Conceptual data modeling
B. Logical database design
C. Physical database design and definition
D.Database implementation
Ans A
Ans C
31) The DBMS acts as an interface between what two components of an enterprise-
class database system?
A.Database application and the database
B. Data and the database
C. The user and the database application
D.Database application and SQL
Ans A
33) An application where only one user accesses the database at a given time is an
example of a(n) ________ .
A.single-user database application
B. multiuser database application
C. e-commerce database application
D.data mining database application
Ans A
Ans b
Ans b
38) Which of the following database activities allow for the actual retrieval and use of
a database?
A.Enterprise modeling
B. Logical database design
C. Physical database design and definition
D.Database implementation
Ans d
3. A transparent DBMS
a. Can not hide sensitive information from users
b. keep its logical structure hidden from users
c. keeps its physical structure hidden from users
d. both B and C
e. None of Above
Ans : C
7. An application where only one user accesses the database at a given time is an
example of a(n) ________ .
a. single-user database application
b. multiuser database application
c. e-commerce database application
d. data mining database application
Ans : A
8. In a large DBMS
a. each user can 'see' only a small part of the entire database
b. each subschema contains every field in the logical schema
c. each user can access every subschema
d. none of the above
Ans : A
B. metadata
C. reports
D. indexes
25. Applications are programs that interact directly with the database.
A. True B. False
C. Can not interact D. None of the above
28. What is the interface between low level database application and application
program
A. Database server
B. Database Manager
C. Database Associator
D. None of above
32. Which of the following detects failure of the system and restore the database
A. Application programmer
B. Database administrator
C. Naive user
D. Storage Manager
36. Which user write program and embed DML statement into it
A. Specialised
B. application programmer
C. Naive
D. Sophisticated
Data Independence
1. Types of data independence
a. Four
b. Three
c. Two
d. Five
Ans: c . Two
2. In data Independence we can Change the schema at one level
a. Without having to change the schema at the next lower level.
b. Without having to change the schema at the next higher level.
c. Without having to change the schema at the top level.
d. Without having to change the schema at the bottom level
Ans: Without having to change the schema at the next higher level.
1) The term referring to a physical item existing in the real world that you want to
track is called:
A)class B)entity C)object D)table
3) The database design that consists of multiple tables that are linked together through
matching data stored in each table is called a:
A) Hierarchical database B) Network database C) Object oriented database D)
Relational database
6) The property (or set of properties) that uniquely defines each row in a table is
called the:
A) identifier B) index C) primary key D) symmetric key
A) Bill Gates
B) E.F Codd
C) Herman Hollerith
D) Charles Babbage
17) Data and associations among the data is described in the form of ………….. in
relational databases:
a. links
b. hierarchies
c. tables
d. none of these
18) The DIFFERENCE between two sets (set A and set B) is defined as all members
of set A but not set B. The notation for this
a. B-A
b. B+A
c. A+ B
d. A– B
19) In relational algebra the INTERSECTION of two sets (set A and Set B). This
corresponds to
a. A OR B
b. A + B
c. A AND B
d. A - B
20) In relational algebra the UNION of two sets (set A and Set B). This corresponds
to
a. A OR B
b. A+ B
c. A AND B
d. A- B
23) When there is more than one key in a relation, then each such key is called
______.
a) primary b) useful c) multiple d) candidate
24) The predominant way of storing data today is using which type of database
models?
A) Hierarchical B) Network C) Object oriented D) Relational
Dept
Emp
Eno Ename Esal Depno Mgr Dno Dname
101 Aaa 18000 20 103 10 CSE
102 Bbb 15000 10 103 20 ME
103 Ddd 12000 40 30 ECE
1Q: what will be retrieved by applying this query: select dname from dep where
depno not in (select depno from emp)
(a) ME
(b) CSE
(c) ECE
(d) None of these
2Q: To identify all those employee to which no department is allocated yet which of
the following join we will use:
a) Natural join
b) Self join
c) Left outer join
d) Right outer join
e) Full outer join
3Q: To identify all those department to which no employee is allocated yet which of
the following join we will use:
a) inner join
b) Self join
c) Left outer join
d) Right outer join
e) Full outer join
4Q:In relational algebra the INTERSECTION of two sets (set A and Set B). This
corresponds to
e. A OR B
f. A + B
g. A AND B
h. A - B
5Q:In relational algebra the UNION of two sets (set A and Set B). This corresponds
to
e. A OR B
f. A+ B
g. A AND B
h. A- B
6Q: By applying which join we can list all those employee to which at least one
person is reporting?
a) Inner join
b) Full outer join
c) Self join
d) Right outer join
e) Left outer join
7Q: To list the name of employees with their immediate higher authority which join
we will use:
a) Inner join
b) Full outer join
c) Self join
d) Right outer join
e) Left outer join
a) 103
b) 102
c) 101
d) None of these
12Q: A command to remove a relation from an SQL database and release the allocated
space also:
A) Delete
B) Remove
C) Erase
D) Truncate
18. A pilot can fly three types of planes and a plane can be piloted by any qualified
pilot. The pilot-plane type relationship is
(a) N:3
(b) 3:N
(c) 1:3
(d) 3:1
Models in DBMS
1. The database design that uses a hierarchical data structure, but incorporates
multiple data entry points is called a:
A) Hierarchical database B) Network database C) Object oriented database D)
Relational database
5. Hierarchical model is
A. Record Based
B. physical Model
C. Object based model
D. None
13. The predominant way of storing data today is using which type of database
models?
A) Hierarchical B) Network C) Object oriented D) Relational
Q18. The ability to change the conceptual schema without affecting the external
Schemas or application programs is known as
a. Program data independence
b. Logical data independence
c. Physical data independence
d. Data abstraction
Q19. Which of these levels deals with the physical representation of the database on
the computer?
a. External level
b. Conceptual level
c. Internal level
d. None of these
28. Which model was designed to overcome the limitations of Network Model?
A. Hierarchical model
B. Relational model
C. Object model
D. E-R model
a. Entity
b. Attribute
c. Relationship
d. Column
Ans: d
a. Conceptual model
b. Physical model
c. Logical model
d. None of these
Ans: a
a. Attribute
b. Key attribute
c. Relationship
d. None of these
Ans: b
194. In E-R Model, total participation of an entity type in a relation implies that___
c. None of these
Ans:a
195. The primary deliverable from the conceptual data modeling step within the
analysis phase is:
a. a state-transition diagram.
b. an entity-relationship diagram.
c. a context data flow diagram.
d. a decision table.
Ans: b
198. A person, place, object, event, or concept in the user environment about
which the organization wishes to maintain data refers to :
a. attribute.
b. data element.
c. relationship.
d. entity.
e. Process
Ans:d
Ans:a
200. A single occurrence of an entity type defines:
a. entity instance.
b. entity appearance.
c. attribute.
d. data element.
Ans: a
201. A named property or characteristic of an entity that is of interest to the
organization defines:
a. attribute.
b. relationship.
c. instance.
d. associative entity.
e. data flow.
Ans:a
Ans:a
206. An attribute that can have more than one value for each entity instance is
referred to as:
a. a composite attribute
b. a multivalued attribute.
c. a nonexclusive attribute.
d. a data replica.
Ans:b
207. If each employee entity can have more than one skill, then skill is referred to
as a:
a. a composite attribute
b. a multivalued attribute.
c. a nonexclusive attribute.
d. a data replica.
Ans: b
208. The number of entity types that participate in a relationship refers to:
a. degree.
b. association.
c. count.
d. cardinality.
e. normalization.
Ans: a
209. If STUDENT and COURSE participate in a relationship, this is an example of
:
a. unary relationship.
b. binary relationship.
c. ternary relationship.
d. extraordinary relationship.
e. coupled relationship.
Ans:b
210. A relationship between the instances of one entity type is a:
a. binary relationship.
b. recursive relationship.
c. singular occurrence.
d. partnership occurrence
Ans: b
211. The number of instances of entity B that can (or must) be associated with
each instance of entity A refers to:
a. cardinality.
b. domain.
c. ternary occurrence.
d. degree
Ans: a
212. Total participation constraint specifies the :
a. The mandatory participation of each entity in the relationship
b. Optional participation of each entity in the relationship
c. Key attribute should not be null.
d. None of these
Ans:a
213. Which of the following concepts are not included in ER Model:
a. aggregation
b. Specialization
c. generalization
d. all of these
e. none of these
Ans: d
214. Which of the following concepts are included in EER Model:
a. aggregation
b. Specialization
c. generalization
d. all of these
e. none of these
Ans: d
a. True
b. False
Ans: a