DBMS MCQ Ques

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 29

Various Links for DBMS MCQ

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

MCQ based Question on DBMS

1. File System are a type of a


a. Database
b. System Software
c. Protocol
d. Bios Program

2. A database is divided into:


a. Records
b. Field
c. Articles
d. Names

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

4. ................. Stores all the records for a particular category.


a. Records
b. Tables
c. Tuples
d. Primary key

5. Purpose of Database System


a. To remove data redundancy and inconsistency
b. To provide data redundancy
c. To hamper integrity of the system
d. To make a real time system
6. DBMS provides an environment that
a. Is difficult to use
b. Needs technical expertise to use
c. convenient and efficient to use
d. none of these

7. Which is the most suitable type of database for storing sensitive data?
a. RDBMS
b. XML
c. Open Source
d. My SQL

8. Data isolation means


a. Data in same format
b. Ease to write new application program
c. Every user of the system should be able to access only the data they are
permitted to see.
d. Data in different files

9. Old file processing systems have drawbacks like


a. Fast data retrieval mechanisms
b. Security problems, Difficulty in accessing data
c. Data consistency
d. Data in same formats

10. Concurrent problem refers to


a. Weakness in security parameters
b. Integrity maintained in the system
c. Two people reading a balance and updating it at the same time
d. Multiple people reading a same file in a system

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

12. Atomicity of updates means


a. All or nothing
b. If one part of the transaction fails, the entire transaction will not fail
c. Atomicity will not guarantee it updates during failures, errors
d. an aborted transaction can happen

13. Data retrieval is also considered as a function of.............


a. System Performance
b. Database
c. Battery Performance
d. DBMS
14. A good Database should Provide the Features like
a. Data Isolation
b. Data Inconsistency
c. Atomicity of updates
d. All of these

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

16. ODBC is what?


A) A data base file name
B) A DBMS software
C) An API
D) None of theses

17. Three Schema architecture of DBMS supports which of the following


characteristics?
A) Program-Data Independence
B) Multiple Views
C) Both of the Above
D) None of these

18. Objective of three schema architecture can be:-


A) Each user should be able to change the way he or she views data, and this change
should not affect other users.
B) The Database administrator should be able to change the database storage
structures without affecting the user’s view
C) The internal structure of the database should be unaffected by changes to the
physical aspects of storage, such as the changeover to a new storage device.
D) All of these

19. Is this possible to create two views as follows:-


I. In first view a user can see dates in the form (day, month, year)
II. In the second view a user can see dates in form (year, month, day)
A) only I is correct
B) only II is correct
C) Both Views are possible
D) None 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

22. Which of the option is true regarding Schemas?


A) Schema gives the names of entities and attributes
B) It is a framework into which the values of the data items are fitted.
C) Both A and B wrong
D) Both A and B are correct

23. Which of the Following is not a component of DBMS SOFTWARE?


A) Data Definition processor
B) Query Processor
C) Schema Processor
D) Run time data base manager

24. Which option is true in context of centralized database system?


A) When central server is down every user is blocked
B) Communication cost from the terminals to central server can be expensive
C) Both A and B are correct
D) Both A and B are incorrect

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

27) The three-schema components include all, but:


A.internal schema.
B. conceptual schema.
C. programming schema.
D.external schema.
Ans c
28) Which is not a type of data management technology?
A.Relational B. Rational
C. Object-oriented D.Dimensional
Ans b

29)The first step in database development is which of the following?


A.Enterprise data modeling
B. Logical database design
C. Physical database design and definition
D.Database Implementation
Ans a

30) Because it contains a description of its own structure, a database is considered to


be ________ .
A.described
B. metadata compatible
C. self-describing
D.an application program

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

32) The following are components of a database except ________ .


A.user data
B. metadata
C. reports
D.indexes
Ans c

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

34) SQL stands for ________ .


A.Structured Query Language
B. Sequential Query Language
C. Structured Question Language
D.Sequential Question Language

Ans b

35) An Enterprise Resource Planning application 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 b

36) The SQL WHERE clause:


A.limits the column data that are returned.
B. limits the row data are returned.
C. Both A and B are correct.
D.Neither A nor B are correct.
Ans b

37) Which of the following is the original purpose of SQL?


A.To specify the syntax and semantics of SQL data definition language
B. To specify the syntax and semantics of SQL manipulation language
C. To define the data structures
D.All of the above
Ans d

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

MCQ ON RELATIONAL DATABASES


1. The following are components of a database except ________ .
a. user data
b. metadata
c. reports
d. indexes
Ans : C
2. The DBMS utility, ...................... allows to reconstruct the correct state of database
from the backup and history of transactions.
a. Backup
b. Recovery
C. Monitoring
D. Data loading
Ans :

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

4. Goals for the design of logiocal schema includes ?


a. avoiding data inconsisttancy
b. being able to construct queries easily
c. being able to access data efficiency
d. all of above
e. none of above
Ans : D

5. Which of the following is true of a network structure


a. It is physical representation of the data
b. it allows a many-to-many relationship
c. it is conceptually simple
d. it will dominent data base of the future

6. Access to the disk is controlled primarily by the


a. operating system
b. RAM
c. Database
d. sql queries
Ans : A

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

9. Manager's salary details are hidden from employee. This is ?


a. conceptual level data hiding
b. physical level data hiding
c. external level hiding
d. none of above
Ans : C

10. The compiled form of the definition is known as ?


a. data dictionary
b. directory
c. system catalog
d. All of above
Ans : B

11. A data dictionary is a special file that contains ?


a. the names of all fields in all files
b. the data types of all fields in all files
c. the widths of all fields in all files
d. all of above
e. None of Above
Ans : D

12. The basic function of Database utilities is


a. To compile sql queries
b. Help the DBA to manage the whole Database system
c. To design E-R model
d. to copy and paste
Ans : B

13. The main function of precompiler is


a. to run the query
b. to remove the errors before compilation
c. to extracts DML commands from application program written in a host
programming language
d. to recognize a set of database files into different file organization to improve
performance
Ans : C

14. The main function of query optimizer is


a. to schedule disk input/output
b. to control access to DBMS information that is stored on disk
c. elimination of redundancies
d. to rearrange and possible reordering of operations
e. both c and d
Ans : E
15. A DBMS enables you to
a. store information
b. modify information
c. extract information
d. all of these
Ans : D

16. Meta data is


a. small amount of data
b. data about data
c. redundant data
d. none of these
Ans : B

17. DBMS is the bridge between operating system and ___________.


a. User
b. Database administrator
c. Application program
d. None of these
Ans : C

18. Schema is usually stored in____________.


a. Tables
b. Data Dictionary
c. Both
d. None of these
Ans : B

19. Which is the component of database management system:


a. Query Language
b. Database Manager
c. File manager
d. All of these
Ans : D

20. Internal level has:


a. Individual Users View of the database
b. Community view of the database
c. Physical Representation of the database
d. All of these
Ans : C

21. Schema is usually stored in____________.


a. Tables
b. Data Dictionary
c. Both
d. None of these
Ans : B
22. Which person is responsible for overall activities for database:
a. Database designer
b. Database analyst
c. Database Administrator
d. Database manager
Ans : C

23. 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

24. The following are components of a database except ________ .


A. user data

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

26. Which of the following is not a storage manager component?


A. Transaction Manager
B. Logical Manager
C. Buffer Manager
D. File Manager

27. Transaction Management Ensures


A. Atomicity and Integrity
B. Atomicity and Abstraction
C. Atomicity and Durability
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

29. What are the functions of Database manager


A. Interacting with file manager
B. Creating queries to access data
C. Security enforcement
D. All of the above

30. Database manager performs following query related operation


A. Drop table
B. create view
C. create schema
D. Retrieve record
31. Duty of database manager is to perform integrity and ________ check
A. Complexity
B. Security
C. Multiplicity
D. None of the 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

33. Schema definition is written by


A. Application developer
B. Database administrator
C. database manager
D. storage manager

34. Granting and authorization for data access is provided by


A. database manager
B. storage manager
C. database administrator
D. application developer

35. database manager is also known as


A. Application programmer
B. storage manager
C. System manager
D. Naive user

36. Which user write program and embed DML statement into it
A. Specialised
B. application programmer
C. Naive
D. Sophisticated

37. User which interact with database using query language


A. application programmer
B. Sophisticated user
C. database administrator
D. Naive user

38. user A go to atm for withdrawing money. Which type of user is A?


A. Naive user
B. sophisticated
C. application programmer
D. Specialized user

39.Who is the master of Database system


A. application develop
B. query processor
C. database administrator
D. database manager

40. Transaction management performs


A. accessing of data items
B. updating of data items
C. altering the data structures
D. all of the above

41. Database manager is having control on system


A. true
B. false
C. it is not a database component
D. control only file management

42. Task of naive user is


A. write queries
B. generate schema
C. perform operations on database using GUI using applications because they have no
knowledge of database
D. control the DBMS

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.

3. Logical data independence is the capacity to


a. Change the Internal schema.
b. Change the conceptual schema
c. Change the external schema

Ans: Change the conceptual schema

4. Physical data independence is the capacity to


a. Change the Internal schema.
b. Change the conceptual schema
c. Change the external schema
d. Change the view level schema.

Ans: Change the Internal schema

5. Change in conceptual schema does not change


a. Physical level
b. Logical level
c. Internal Schema
d. External Schema

Ans : External Schema

6. Change in Internal schema will change


a. Physical level
b. View Level
c. Conceptual Schema
d. External Schema

Ans: Physical level

7. Change in Conceptual schema does not perform


a. Expand the database
b. Change constraints
c. Reduce the database
d. Reorganization of data files

Ans: Reorganization of data files

8. Logical data independence occurs between


a. Internal- Conceptual Level Schema
b. Conceptual- External Level Schema
c. Internal-External level Schema
d. External-Internal Schema
e.
Ans: Conceptual- External Level Schema

9. Physical data independence occurs between


a. Internal- Conceptual Level Schema
b. Conceptual- External Level Schema
c. Internal-External level Schema
d. External-Internal Schema

Ans: Internal- Conceptual Level Schema

10. Change in Conceptual schema is required to


a. Improve the performance
b. Fast retrieval
c. Increase efficiency.
d. Add new tables

Ans: Add new tables

11. Change in Internal schema required to


a. Expand the database
b. Change constraints
c. Reduce the database
d. Reorganized data files.

Ans: Reorganized data files

12. Change in Conceptual schema does not includes.


a. Insertion of data
b. Appling constraint to data
c. Appling indexing and sorting
d. Deletion of data

Ans: Appling indexing and sorting

13. Physical data independence does not deal with


a. Fast retrieval
b. Adding new tables
c. Improve the performance
d. Increase efficiency.

Ans: Adding new tables


14. Change in Internal schema includes.
a. Insertion of data
b. Appling constraint to data
c. Appling indexing and sorting
d. Deletion of data

Ans: Appling indexing and sorting

15. Change at one schema can change


a. Schema at Higher level.
b. Mapping between two levels.
c. Structure of Higher level
d. Application programs of higher level

Ans: Mapping between two levels

16. Logical independence is harder to achieve because


a. Allow constraints changes
b. Allow arrangement of files.
c. Allow mapping between two levels.
d. Allow Fast access

Ans: Allow constraints changes

17. Physical data independence does not hide


a. Placement of data
b. Splitting of data
c. Compression of data
d. Constraints of data

Ans: Constraints of data

MCQ ON RELATIONAL DATABASES

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

2) Which of the following is an extension of the Relational Database model?


A)Hierarchical database B)Multidimensional database C)Network database
D)Object oriented database

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

4) In relational database model, after conceptually designing your database, the


information contained in a single class would be stored in a:
A) database B) field C) property D) table

5) Business rules can be represented in the database through:


A) associations (or relationships) B) attributes C) properties D) secondary keys

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

7) The number of attributes a relation consists is called …………. Of relation:


A) association B) cardinality C) degree D) domain

8) Who proposed the relational model:

A) Bill Gates
B) E.F Codd
C) Herman Hollerith
D) Charles Babbage

9) Set of permitted values of each attribute is called:


A) Domain
B) Tuple
C) Relation
D) Schema

10) The Primary key must be:


A) NOT NULL
B) unique
C) option A and B
D) option A or B

11) A command to remove a relation from an SQL database:


A) Delete table <table name>
B) Drop table <table name>

C) Erase table <table name>


D) Alter table <table name>

12)…………….. is the number of tuples a relation consist:


A) association
B) cardinality
C) degree
D) domain
13) Which of following is not unary operation?
A) Select
B) Project
C) Rename
D) Union

14) Which of the following is not a binary operation?


A) Union
B) Project
C) Set difference
D) Cartesian Product

15) A Foreign Key is


A) A field in a table that matches a key field in another table
B) A field in a table that contains data that is also contained elsewhere in another
table
C) A field in a table that has the same name as a key field in another table
D) A field in a table that has the same name as a key field in another table

16) In strict relational terminology, an attribute


a. an entity
b. a field
c. a record
d. a table

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

21) A domain is a set of ______ values.


a) multiple b) complex c) small d) atomic

22) The null value of an attribute indicates ______ value.


a) zero b) unknown c) infinite d) error

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

25) What is the main strength of Relational Databases?


A)Ability to handle any type of data B)Defining objects provides for reuse of data
definitions C)Ease of use D)Flexibility and efficiency in accessing data

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

8Q: what will be the output of following sub query:


Select eno from emp where esal>(select avg(esal) from emp)

a) 103
b) 102
c) 101
d) None of these

9Q:A command to remove a relation from an SQL database:


A) Delete table <table name>
B) Drop table <table name>
C) Erase table <table name>
D) Alter table <table name>

10 Q:Which of following is not unary operation?


A) Select
B) Project
C) Rename
D) Union

11 Q:Which of the following is not a binary operation?


A) Union
B) Project
C) Set difference
D) Cartesian Product

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

13. TRUNCATE TABLE statement


(a) Drops a table temporarily
(b) Removes all rows of a table
(c) Removes specified number of rows from a table
(d) Removes all constraints from a table

14. Which of the following is not a logical data-base structure?


A. tree
B. relational
C. network
D. chain

15._______ constraint is used to maintain consistency among tuples in two relations.


a) key
b) domain
c) referential-integrity
d) entity-integrity

16. The highest level in the hierarchy of data organization is called


a. data bank
b. data base
c. data file
d. data record

17 .By relation cardinality we mean


(a) number of items in a relationship
(b) number of relationships in which an entity can appear
(c) number of items in an entity
(d) number of entity sets which may be related to a given entity

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

19. In an E-R diagram entities are represented by (a) circles


(b) rectangles
(c) diamond shaped box
(d) ellipse

20. If an entity appears in N relationships then it is


(a) a 1:1 relationship
(b) a 1:N relationship
(c) a N:1 relationship
(d) a N:M relationship

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

2. What type of relationships are supported by Hierarchical model


A. 1: N
B. N: M
C. none
D. both A and B

3. In a Hierarchical model records are organized as


(A) Graph.
(B) List.
(C) Links.
(D) Tree.

4. The main disadvantage of hierarchical Model is


a. No defined structure
b. It only relate to 1:N relationship
c. Database management problem
d. None

5. Hierarchical model is
A. Record Based
B. physical Model
C. Object based model
D. None

7. Which is the oldest data model?


a. Relational
B. Object Oriented
C. ER
D. Hierarchical

8. What is the main limitation of Hierarchical Databases?


A) Limited capacity (unable to hold much data)
B) Limited flexibility in accessing data
C) Overhead associated with maintaining indexes
D) The performance of the database is poor

9. The traditional storage of data that is organized by customer, stored in separate


folders in filing cabinets is an example of what type of 'database' system?
A) Hierarchical B) Network C) Object oriented D) Relational

10. A top-to-bottom relationship among the items in a database is established by a


a. hierarchical schema
b. network schema
c. relational schema
d. all of the above

11. Which of these is not a feature of Hierarchical model?


a. Organizes the data in tree-like structure
b .Parent node can have any number of child nodes
c. Root node does not have any parent
d. Child node can have any number of parent nodes

12. SQL is a standard language for


a. Network Model
b. Object Oriented Model
c. Relational Model
d. Hierarchical Model

13. The predominant way of storing data today is using which type of database
models?
A) Hierarchical B) Network C) Object oriented D) Relational

15. ODBC stands for


(A)Object Database Connectivity.
(B) Oral Database Connectivity.
(C) Oracle Database Connectivity.
(D) Open Database Connectivity

16. Which of the following is an extension of the Relational Database model?


A)Hierarchical database B)Multidimensional database C)Network database
D)Object oriented database

17. Which of the following items is not a DBMS?


A) Access B) Acrobat Reader C) Oracle D) SQL Server

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

Q20. Which of these is a feature of Network model?


a. Organizes the data in tree-like structure
b. Parent node can have only one child nodes
c. Root node does not have any parent
d. Child node can have any number of parent nodes

21. In a Network model records are organized as


(A) Graph.
(B) List.
(C) Links.
(D) Tree.

22. The main disadvantage of Network Model is


A. No defined structure
B. It only relate 1:N relationship
C. Database management problem
D. None

23. Network model is


A. Record Based
B. physical Model
C. Object based model
D. None

24. What is the main Advantage of network model?


A. Implementation is very easy
B. Management of records is simple
C. Can relate multiple records with one record
D. support structural independency
25. What is the main limitation of network model?
A. child can have only one parent
B. Structural dependency
C. redundancy of records (same records is stored at multiple places)
D. none

26. What type of relationships are supported by Network model


A. 1: N
B. N: 1
C. N: M
D. All

27. Standard for Network model was formulated by ANSI in


A. 1969
B. 1960
C. 1970
D. 1980

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

29. Network model suffer from


A. insert anomaly
B. update anomaly
C. delete anomaly
D do not suffer from any anomaly

30. In network model relationship between records is expressed by


A links
B parent child relationship
C both A and B
D none of above

31. In network model if a node is deleted then


A. All the nodes linked to this node will also get deleted
B. Some of nodes may get deleted
C. Deletion of a node has no effect on other node
D. None of above

32 Network model overcome the limitations of which model


A. Object model
B. Relational model
C. Hierarchical model
D. ER model

33. Structural independency is


A. data model has no structure
B. Changes in structure of data do not trigger the need, to make respective
changes in application program
C. If we make some changes in structure then to reflect these changes we need to
make changes in application programs also
D. We cannot change the structure of data

DBMS Objective Questions: Topic ER Model


1) Which of the following is not an E-R Model construct

a. Entity

b. Attribute

c. Relationship

d. Column

Ans: d

2) E-R Model is a___

a. Conceptual model

b. Physical model

c. Logical model

d. None of these

Ans: a

193. In E-R Model, weak entity does not possess ___

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___

a. Each entity of that type has to participate in the relation

b. No entity of that type participate in the relation

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

196. Which of the following symbols is not used on entity-relationship diagrams?


a. an arrow
b. a rectangle
c. a diamond
d. two parallel lines
e. an ellipse
Ans: a

197. On an entity-relationship diagram, a diamond represents:


a. data flow.
b. entity.
c. multivalued attribute.
d. repeating group.
e. relationship.
Ans: e

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

199. A collection of entities that share common properties or characteristics best


defines:
a. entity type.
b. entity instance.
c. entity occurrence.
d. entity collection.

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

202. An attribute (or combination of attributes) that uniquely identifies each


instance of an entity type defines:
a. data element occurrence.
b. trigger.
c. Key attribute(s).
d. associative entity.
e. data marker.
Ans:c
203. Vehicle identification number, color, weight, and horsepower best exemplify:
a. entities.
b. entity types.
c. data markers.
d. identifiers.
e. attributes
Ans:e

204. On an entity-relationship diagram, the identifying relationship’s identifier is:


a. identified by using a double-lined ellipse.
b. identified by using a double-lined diamond
c. bold on an E-R diagram.
d. identified by using a double-lined rectangle.
e. placed in italics.
Ans:b

205. On an entity-relationship diagram, the identifying mutivalued-attribute’s


identifier is:
a. identified by using a double-lined ellipse.
b. identified by using a double-lined diamond
c. bold on an E-R diagram.
d. identified by using a double-lined rectangle.
e. placed in italics.

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

215. Total coverage constraint specifies :


a. Each entity participating in the relationship
b. Each member of the generic class is mapped to at least one member among
the member classes.
c. A member of the generic class is mapped to one element of at most one
subset class.
d. None of these
Ans:b

216. Exclusive constraint specifies that:


a. A member of the generic class is mapped to one element of at most one
subset class.
b. Each member of the generic class is mapped to at least one member among
the member classes.
c. Each entity participating in the relationship
d. None of these
Ans:a
217. Which of the following statement is true?
a. Strong Entity in ER model is mapped to Relation in Relational Model
b. Attribute in ER model is mapped to Column in Relational Model
c. In ER model, Entity has attributes.
d. In ER mode, Relationships can have attributes
e. All of these.
218. Entity Relationship model is independent of the hardware or software
used for implementation. True or False?

a. True

b. False

Ans: a

You might also like