QN01. Pick entity set from the following
- all vendors supplying to an organization
- vendors and organizations they supply
- vendors and transporters
- a vendor supplying to many organizations
Answer
(A)all vendors supplying to an organization
QN02. If an entity appears in N relationships then it is
- a 1:1 relationship
- a 1:N relationship
- a N:1 relationship
- a N:M relationship
Answer
(B)a 1:N relationship
QN03. A relation which is in a higher normal form
- implies that it also qualifies to be in lower normal form
- does not necessarily satisfy the conditions of lower normal form
- is included in the lower normal form
- is independent of lower normal forms
Answer
(A)implies that it also qualifies to be in lower normal form
QN04. A relation is said to be in BCNF when
- it has overlapping composite keys
- it has no composite keys
- it has no multivalued dependencies
- it has no overlapping composite keys which have related attributes
Answer
(D)it has no overlapping composite keys which have related attributes
QN05. TEACHER-STUDENT relation in Mini-case example 2 is required because
- it is in 3 NF
- it has a multivalued key
- it has a composite key with multivalued dependency relation
- Without this relation database is incomplete and some queries cannot be answered
Answer
(D)Without this relation database is incomplete and some queries cannot be answered
QN06. A DBMS is
- another name for database system
- independent of a database
- dependent on application programs
- is a set of procedures which manage a database
Answer
(D)is a set of procedures which manage a database
QN07. DBMS
- does not allow replication of data
- allows controlled replication of data if it improves performance
- does not allow common data to be duplicated
- does not allow replication as it adversely affects reliability
Answer
(B)allows controlled replication of data if it improves performance
QN08. A DBMS has the following components
- a data definition language
- a query language
- a security system
- audit trail
- i, ii
- i, ii, iii
- i, ii, iii, iv
- i, ii, iv
Answer
(C)i, ii, iii, iv
QN09. Access right to a database is controlled by
- top management
- system designer
- system analyst
- database administrator
Answer
(D)database administrator
QN10. The attributes of relationship teaches in teacher teaches course should be
- teacher code, teacher name, dept, phone no
- course no, course name, semester offered, credits
- teacher code, course no, semester no
- teacher code, course no, teacher name, dept, phone no
Answer
(C)teacher code, course no, semester no
QN11. If an entity appears in not more than 5 relationships then it is a
- 1:1 relationship
- 1:5 relationship
- 5:1 relationship
- 5:5 relationship
Answer
(B)1:5 relationship
QN12. Given an attribute x, another attribute y is dependent on it, if for a given x
- there are many y values
- there is only one value of y
- there is one or more y values
- there is none or one y value
Answer
(B)there is only one value of y
QN13. Given the following relation
vendor order (vendor no, order no, vendor name, qty supplied, price/unit)
the second normal form relations are
- vendor (vendor no, vendor name)
qty (qty supplied, price/unit)
order (order no, qty supplied) - vendor (vendor no, vendor name)
order (order no, qty supplied, price/unit) - vendor (vendor no, vendor name)
order (order no, qty supplied, price/unit)
vendor order (vendor no, order no) - vendor (vendor no, vendor name, qty supplied, price/unit)
vendor order (order no, vendor no)
Answer
(C) vendor (vendor no, vendor name)
order (order no, qty supplied, price/unit)
vendor order (vendor no, order no)
QN14. A 3 NF relation is converted to BCNF by
- removing composite keys
- removing multivalued dependencies
- dependent attributes of overlapping composite keys are put in a separate relation
- dependent non-key attributes are put in a separate table
Answer
(C)dependent attributes of overlapping composite keys are put in a separate relation
QN15. By redundancy in a file based system we mean that
- unnecessary data is stored
- same data is duplicated in many files
- data is unavailable
- files have redundant data
Answer
(B)same data is duplicated in many files
QN16. A database is a
- collection of files
- collection of inputs and outputs of application
- collection of related data necessary to manage an organization
- data resource of an organization
Answer
(C)collection of related data necessary to manage an organization
QN17. Database is
- an important resource of an organization
- not relevant to existing programs
- not relevant for future programs
- not as good as files as there is redundancy
Answer
(A)an important resource of an organization
QN18. DBMS must implement management controls to
- control access rights to users
- implement audit trail when changes are made
- allow data to be used extensively in the organization
- duplicate databases
- i, ii
- ii, iii
- iii, iv
- i, iv
Answer
(A)i, ii
QN19. A database administrator
- administers data in an organization
- controls all inputs and all outputs of programs
- is controller of data resources of an organization
- controls all data entry operators
Answer
(C)is controller of data resources of an organization
QN20. Entities are identified from the word statement of a problem by
- picking words which are adjectives
- picking words which are nouns
- picking words which are verbs
- picking words which are pronouns
Answer
(B)picking words which are nouns
QN21. Relationships are identified from the word statement of a problem by
- picking words which are adjectives
- picking words which are nouns
- picking words which are verbs
- picking words which are pronouns
Answer
(C)picking words which are verbs
QN22. The rows of a relation
- must be in specified order
- may be in any order
- in ascending order of key
- in descending order of key
Answer
(B)may be in any order
QN23. Given the following relation
vendor order ( vendor no, order no, vendor name, qty supplied, price/unit) it is not in 2 NF because
- it is not in 1 NF
- it has a composite key
- non-key attribute vendor name is dependent on vendor no. which is one part of the composite key
- Qty supplied and price/unit are dependent
Answer
(C)non-key attribute vendor name is dependent on vendor no. which is one part of the composite key
QN24. Fourth normal form (4 NF) relations are needed when
- there are multivalued dependencies between attributes in composite key
- there are more than one composite key
- there are two or more overlapping composite keys
- there are multivalued dependency between non-key attributes
Answer
(A)there are multivalued dependencies between attributes in composite key
QN25. Data integrity in a file based system may be lost because
- the same variable may have different values in different files
- files are duplicated
- unnecessary data is stored in files
- redundant data is stored in files
Answer
(A)the same variable may have different values in different files
QN26. A DBMS
- is a set of procedures
- manages a database
- is a set of procedures to manage a database to provide data as required by applications
- provides data to applications
Answer
(C)is a set of procedures to manage a database to provide data as required by applications
QN27. Data independence allows
- sharing the same database by several applications
- extensive modification of applications
- no data sharing between applications
- elimination of several application programs
Answer
(A)sharing the same database by several applications
QN28. A conceptual data model is converted using a Relational Data Base Management System to a
- logical data model
- external data model
- internal data model
- an entity-relation data model
Answer
(A)logical data model
QN29. The columns of a relation
- must be in specified order
- may be in any order
- with key field in first column
- with largest width column last
Answer
(B)may be in any order
QN30. Given the following relation it is not 3 NF because
Student (roll no, name, course no, course max. marks, year of study, address)
- it is not in 2 NF
- it does not have composite key
- non-key attributes course no and course max. marks are functionally dependent
- it has more than 3 non-key attributes
Answer
(C)non-key attributes course no and course max. marks are functionally dependent
QN31. A 3 NF relation is split into 4 NF
- by removing overlapping composite keys
- by splitting into relations which do not have more than one independent multivalued dependency
- removing multivalued dependency
- by putting dependent non-key attribute in a separate table
Answer
(B)by splitting into relations which do not have more than one independent multivalued dependency
QN32. 5 NF relations equivalent to the relation of Exercise 10.8.3 are
- Prof_stud (professor, student_no)
Proj_stud ( project, student_no)
Prof_proj (professor, project)
Student (student_no, st_name, dept) - Professor (professor, professor details)
Student (student_no, st_name, dept)
Project (project no, project details) - Prof_stud (professor, student_no)
Prof_proj (professor, project) - Prof_stud (professor, student_no)
Stud_proj (student_no, project)
Student (student_no, st_name, dept)
Answer
(A) Prof_stud (professor, student_no)
Proj_stud ( project, student_no)
Prof_proj (professor, project)
Student (student_no, st_name, dept)
QN33. A database should be designed to allow providing
- different views of portions of data requested by an application
- data only to selected applications as decided by an organization
- a uniform view of data to all applications
- data to all applications
Answer
(A)different views of portions of data requested by an application
QN34. A subset of logical data model accessed by programmers is called a
- conceptual data model
- external data model
- internal data model
- an entity-relation data model
Answer
(B)external data model
QN35. Computer systems are designed by
- simplifying requirements of system
- breaking of the system into smaller self-contained co-operating subsystems
- breaking up the systems into independent parts
- modular design
Answer
(B)breaking of the system into smaller self-contained co-operating subsystems
QN36. The advantages of object-oriented modelling are
- it allows easy integration of subsystems
- it promotes reuse of code written earlier
- it allows modification of some objects by other objects
- it allows data structures in objects to be modified by other objects
- i, ii
- i, iii
- ii, iii
- i, iv
Answer
(A)i, ii
QN37. A query operation on a object
- has side effect
- has no side effects
- changes the state of an object
- is not allowed
Answer
(B)has no side effects
QN38. Objects may be viewed as
- clients in a system
- servers in a system
- as both clients and servers in a system
- neither as clients nor as servers in a system
Answer
(C)as both clients and servers in a system
QN39. Given a word statement of a problem potential objects are identified by selecting
- verb phrases in the statement
- noun phrases in the statement
- adjectives in the statement
- adverbs in the statement
Answer
(B)noun phrases in the statement
QN40. Object-oriented system modelling using CRC method gives
- Java programs for the system
- C++ programs for the system
- Classes of the system, their responsibilities and collaborating classes
- Objective C programs for the system
Answer
(C)Classes of the system, their responsibilities and collaborating classes