Dbms-Question-And-Answers (Previous Year)
Dbms-Question-And-Answers (Previous Year)
13) Physical data refers to the data for the table created by the user in the ____
e. Primary memory
f. Secondary memory
g. All of the above
h. None of the above
14) The three level of architecture in the DBMS are
a. ERD, EER, SQL
b. Entity, attribute, cardinality
c. External, conceptual, internal
d. DBA, DA, DBMS
15) Application programmers and online users are example of database users.
Another example of database user is ___ user
e. MySQL
f. Naïve
g. ERD
h. Entity
16) All the following are database language except ___
a. Data definition language
b. Data manipulation language
c. Data control language
d. Database administrator language
30) The possible attribute in the User entity that could be used as foreign key in the Product entity is
__________
e. Hobby
f. Price
g. SKU
31) The relationship between Lecturer and student in the ERD is ____
a. One Lecturer lectures Many Students
b. One Lecturer lectures Many Lecture and Many Students enrolls in
Many Lecture
c. Only A
d. Only B
42) If the subclasses are disjoint, then an entity occurrence can be a member of
___
e. Only one of the subclasses
f. Many subclasses
g. All of the above
h. None of the above
43) ___ applies when an entity occurrence may be a member of more than one
subclass
a. Overlapping constraint
b. Disjoint constraint
c. Total constraint
d. Partial constraint
48) In a lattice or hierarchy, a subclass inherits attributes not only of its direct
superclass, but also of all its predecessor
e. Subclasses
f. Superclasses
g. All of the above
h. None of the above
49) What will be the output of the following MySQL command?
SELECT *
FROM employee
WHERE title=’HEAD TELLER’;
a) All columns
b) Only those columns which are mention with “SELECT” clause
c) Columns mention with “SELECT” clause and only those rows which contain ‘HEAD
TELLER’ as a “title” and start_date as 2008-11-24
d) None of the mentioned