DBMS
DBMS
DBMS
1) Which of the following is generally used for performing tasks like creating
the structure of the relations, deleting relation?
2) Which of the following provides the ability to query information from the
database and insert tuples into, delete tuples from, and modify tuples in the
database?
Answer: D
5) Which of the following provides the ability to query information from the
database and insert tuples into, delete tuples from, and modify tuples in the
database?
Answer: A
Answer: B
7) Which one of the following given statements possibly contains the error?
1. SELECT emp_name
2. FROM department
3. WHERE dept_name LIKE ' _____ Computer Science';
In the above-given Query, which of the following can be placed in the Query's
blank portion to select the "dept_name" that also contains Computer Science as
its ending string?
a. &
b. _
c. %
d. $
e. Degree
f. Tuples
g. Entity
h. All of the above
a) Create
b) Alter
c) Delete
d) All of the above
12). In case of any shut down during transaction before commit which of the
following statement is done automatically ?
A. View
B. Commit
C. Rollback
D. Flashback
14) Which one of the following commands is used for removing (or deleting) a
relation forms the SQL database?
a. Delete
b. Drop
c. Remove
d. All of the above
15). Which of the following makes the transaction permanent in the database ?
A. View
B. Commit
C. Rollback
D. Flashback
16). A system is in a ______ state if there exists a set of transactions such that
every transaction in the set is waiting for another transaction in the set.
A. Idle
B. Waiting
C. Deadlock
D. Ready
17). In order to undo the work of transaction after last commit which one
should be used ?
A. View
B. Commit
C. Rollback
D. Flashback
18). In order to maintain the consistency during transactions database provides
A. Commit
B. Atomic
C. Flashback
D. Retain
A. Wait-die
B. Wait-wound
C. Wound-wait
D. Wait
20). The deadlock state can be changed back to stable state by using
_____________ statement.
A. Commit
B. Rollback
C. Savepoint
D. Deadlock
A. Wait-die
B. Wait-wound
C. Wound-wait
D. Wait
22). 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
24). Which of the following is a procedure for acquiring the necessary locks for
a transaction where all necessary locks are acquired before any are released?
a) Record controller
b) Exclusive lock
c) Authorization rule
d) Two phase lock
26). If a transaction does not modify the database until it has committed, it is
said to use the ___________ technique.
a) Deferred-modification
b) Late-modification
c) Immediate-modification
d) Undo
27). The ____________ scheme uses a page table containing pointers to all
pages; the page table itself and all updated pages are copied to a new location.
a) Shadow copy
b) Shadow Paging
c) Update log records
d) All of the mentioned
31). Which of the following deletes all tuples in the instructor relation for those
instructors associated with a department located in the Watson building which is
in department relation.
a)
answer(C)