Question Bank
Question Bank
Answer: c
Explanation: Hierarchical database model was developed by IBM in the early 1960s. It had
Parent-Child Relationship
Q22) . Which of the following establishes a top-to-bottom relationship among the items?
a) Relational schema
b) Network schema
c) Hierarchical schema
d) All of the mentioned
Answer: c
Q23) The logical design, and the snapshot of the data at a given instant in time is known as?
a) Instance & Relation
b) Relation & Schema
c) Domain & Schema
d) Schema & Instance
Answer: d
Q24) . What is an RDBMS?
a) Database that stores data elements that are not linked
b) Database that accesses data elements that are not linked
c) Database that stores and allows access to data elements that are linked
d) None of the mentioned
Answer: c
Q25) . What is a relation in RDBMS?
a) Key
b) Table
c) Row
d) Data Types
Answer: b
Q26) . Which of the following systems use RDMS?
a) Oracle
b) Microsoft SQLServer
c) IBM
d) All of the mentioned
Answer: d
Q27) Which of the following constraints RDBS doesn’t check before creating the tables?
a) Not null
b) Primary keys
c) Data Structure
d) Data integrity
Answer: c
Q28) A _________ consists of a sequence of query and/or update statements.
a) Transaction
b) Commit
c) Rollback
d) Flashback
Answer: a
29). Which of the following makes the transaction permanent in the database?
a) View
b) Commit
c) Rollback
d) Flashback
Answer: b
30) Consider the following action:
TRANSACTION.....
Commit;
ROLLBACK;
For any pincode, there is only one city and state. Also, for given street, city and state, there
is just one pincode. In normalization terms, empdt1 is a relation in
a) 1 NF only
b) 2 NF and hence also in 1 NF
c) 3NF and hence also in 2NF and 1NF
d) BCNF and hence also in 3NF, 2NF and 1NF
Answer: b
53) Which of the normal form is based on multivalued dependencies?
a) First
b) Second
c) Third
d) Fourth
Answer: d
54) If a multivalued dependency holds and is not implied by the corresponding functional
dependency, it usually arises from one of the following sources.
a) A many-to-many relationship set
b) A multivalued attribute of an entity set
c) A one-to-many relationship set
d) Both A many-to-many relationship set and A multivalued attribute of an entity set
Answer: d
55) Fifth Normal form is concerned with
a) Functional dependency
b) Multivalued dependency
c) Join dependency
d) Domain-key
Answer: c
56) In 2NF
a) No functional dependencies (FDs) exist
b) No multivalued dependencies (MVDs) exist
c) No partial FDs exist
d) No partial MVDs exist
Answer: c
57) Which of the following is an operation of transactions?
A. Read
B. Write
C. Commit
D. All of the above
A. Read
B. Write
C. Commit
D. Rollback
Answer: A) Read
A. Read
B. Write
C. Commit
D. Rollback
Answer: C) Commit
A. 4
B. 5
C. 6
D. 7
Answer: A) 4
A. Recovery
B. Reliability
C. Property
D. Database
Answer: A) Recovery
A. Permanent
B. Temporary
C. Basic
D. Advanced
Answer: A) Permanent
64) The deadlock state can be changed back to stable state by using _____________
statement.
a) Commit
b) Rollback
c) Savepoint
d) Deadlock
Answer: b
65) What are the ways of dealing with deadlock?
a) Deadlock prevention
b) Deadlock recovery
c) Deadlock detection
d) All of the mentioned
Answer: d
66) A deadlock exists in the system if and only if the wait-for graph contains a ___________
a) Cycle
b) Direction
c) Bi-direction
d) Rotation
Answer: a
67) Suppose the Authority want to include a new instructor for the title Neuroscience what
command should be inserted ?
a) Insert into instructor values(12111,Emma,NeuroScience,200000);
b) Insert into course values(12111,Introduction,NeuroScience,2);
c)
What will be displayed as the value of name for the above query?
a) Hayley
b) Jackson
c) Hayley and Crick
d) Crick
Answer: d
69) .
SELECT Name
FROM instructor
WHERE salary > SOME (SELECT salary FROM instructor WHERE dept_name =
'Comp.Sci.');