325
120.4k

1410+ DataBase Management System (DBMS) Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) , Bachelor of Science in Computer Science FY (BSc CS) , Bachelor of Science in Computer Science SY (BSc CS) , Bachelor of Science in Information Technology SY (BSc IT) , Bachelor of Computer Applications (BCA) .

Chapters

More MCQs
901.

A non-correlated subquery can be defined as                 

A. a set of sequential queries, all of which must always return a single value
B. a set of sequential queries, all of which must return values from the same table
C. a select statement that can be embedded in a clause of another select statement only
D. a set of one or more sequential queries in which generally the result of the inner query is used as the search value in the outer query
Answer» D. a set of one or more sequential queries in which generally the result of the inner query is used as the search value in the outer query
902.

Which statement is true regarding synonyms?

A. synonyms can be created for tables but not views
B. synonyms are used to reference only those tables that are owned by another user
C. a public synonym and a private synonym can exist with the same name for the same table
D. the drop synonym statement removes the synonym, and the status of the table on which the synonym has been created becomes invalid
Answer» C. a public synonym and a private synonym can exist with the same name for the same table
903.

The method of access that uses key transformation is called as

A. direct
B. hash
C. random
D. sequential
Answer» B. hash
904.

Why do we need concurrency control on B+ trees ?

A. to remove the unwanted data
B. to easily add the index elements
C. to maintain accuracy of index
D. all of the mentioned
Answer» C. to maintain accuracy of index
905.

How many techniques are available to control concurrency on B+ trees?

A. one
B. three
C. four
D. none of the mentioned
Answer» D. none of the mentioned
906.

In crabbing protocol locking

A. goes down the tree and back up
B. goes up the tree and back down
C. goes down the tree and releases
D. goes up the tree and releases
Answer» A. goes down the tree and back up
907.

The deadlock can be handled by

A. removing the nodes that are deadlocked
B. restarting the search after releasing the lock
C. restarting the search without releasing the lock
D. resuming the search
Answer» B. restarting the search after releasing the lock
908.

In crabbing protocol, the lock obtained on the root node is in                    mode.

A. shared
B. exclusive
C. read only
D. none of the mentioned
Answer» A. shared
909.

If needed to split a node or coalesce it with its siblings, or redistribute key values between siblings, the crabbing protocol locks the parent of the node in                           mode.

A. shared
B. exclusive
C. read only
D. none of the mentioned
Answer» B. exclusive
910.

Instead of locking index leaf nodes in a two-phase manner, some index concurrency- control schemes use                        on individual key values, allowing other key values to be inserted or deleted from the same leaf.

A. b+ tree locking
B. link level locking
C. key-value locking
D. next value locking
Answer» C. key-value locking
911.

The recovery scheme must also provide

A. high availability
B. low availability
C. high reliability
D. high durability
Answer» A. high availability
912.

Which one of the following is a failure to a system

A. boot crash
B. read failure
C. transaction failure
D. all of the mentioned
Answer» C. transaction failure
913.

The system has entered an undesirable state (for example, deadlock), as a result of which a transaction cannot continue with its normal execution. This is

A. read error
B. boot error
C. logical error
D. system error
Answer» C. logical error
914.

The transaction can no longer continue with its normal execution because of some internal condition, such as bad input, data not found, overflow, or resource limit exceeded. This is

A. read error
B. boot error
C. logical error
D. system error
Answer» C. logical error
915.

The assumption that hardware errors and bugs in the software bring the system to a halt, but do not corrupt the nonvolatile storage contents, is known as the

A. stop assumption
B. fail assumption
C. halt assumption
D. fail-stop assumption
Answer» D. fail-stop assumption
916.

The database is partitioned into fixed- length storage units called

A. parts
B. blocks
C. reads
D. build
Answer» B. blocks
917.

The log is a sequence of                     recording all the update activities in the database.

A. log records
B. records
C. entries
D. redo
Answer» A. log records
918.

In the                        scheme, a transaction that wants to update the database first creates a complete copy of the database.

A. shadow copy
B. shadow paging
C. update log records
D. all of the mentioned
Answer» A. shadow copy
919.

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
Answer» B. shadow paging
920.

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
Answer» A. deferred-modification
921.

                         using a log record sets the data item specified in the log record to the old value.

A. deferred-modification
B. late-modification
C. immediate-modification
D. undo
Answer» D. undo
922.

In the                      phase, the system replays updates of all transactions by scanning the log forward from the last checkpoint.

A. repeating
B. redo
C. replay
D. undo
Answer» B. redo
923.

The actions which are played in the order while recording it is called                               history.

A. repeating
B. redo
C. replay
D. undo
Answer» A. repeating
924.

A special redo-only log record < Ti, Xj, V1> is written to the log, where V1 is the value being restored to data item Xj during the rollback. These log records are sometimes called

A. log records
B. records
C. compensation log records
D. compensation redo records
Answer» C. compensation log records
925.

In order to reduce the overhead in retrieving the records from the storage space we use

A. logs
B. log buffer
C. medieval space
D. lower records
Answer» B. log buffer
926.

Writing the buffered log to                      is sometimes referred to as a log force.

A. memory
B. backup
C. redo memory
D. disk
Answer» D. disk
927.

The                                policy, allows a transaction to commit even if it has modified some blocks that have not yet been written back to disk.

A. force
B. no-force
C. steal
D. no-steal
Answer» B. no-force
928.

                             policy allows multiple updates to accumulate on a block before it is output to stable storage, which can reduce the number of output operations greatly for frequently updated blocks.

A. force
B. no-force
C. steal
D. no-steal
Answer» B. no-force
929.

The                        policy, allows the system to write modified blocks to disk even if the transactions that made those modifications have not all committed.

A. force
B. no-force
C. steal
D. no-steal
Answer» C. steal
930.

The                                      contains a list of blocks that have been updated in the database buffer.

A. latches
B. swap space
C. dirty block
D. none of the mentioned
Answer» C. dirty block
931.

The silicon chips used for data processing are called

A. ram chips
B. rom chips
C. micro processors
D. prom chips
Answer» D. prom chips
932.

Which of the following is used for manufacturing chips?

A. control bus
B. control unit
C. parity unit
D. semiconductor
Answer» D. semiconductor
933.

What was the name of the first commercially available microprocessor chip?

A. intel 308
B. intel 33
C. intel 4004
D. motorola 639
Answer» C. intel 4004
934.

The magnetic storage chip used to provide non-volatile direct access storage of data and that have no moving parts are known as

A. magnetic core memory
B. magnetic tape memory
C. magnetic disk memory
D. magnetic bubble memory
Answer» D. magnetic bubble memory
935.

The ALU of a computer normally contains a number of high speed storage element called

A. semiconductor memory
B. registers
C. hard disks
D. magnetic disk
Answer» B. registers
936.

A dump of the database contents is also referred to as an                            dump.

A. archival
B. fuzzy
C. sql
D. all of the mentioned
Answer» A. archival
937.

                 dump, writes out SQL DDL statements and SQL insert statements to a file, which can then be reexecuted to re- create the database.

A. archival
B. fuzzy
C. sql
D. all of the mentioned
Answer» C. sql
938.

                   dump schemes have been developed that allow transactions to be active while the dump is in progress.

A. archival
B. fuzzy
C. sql
D. all of the mentioned
Answer» B. fuzzy
939.

ARIES uses a                        to identify log records, and stores it in database pages.

A. log sequence number
B. log number
C. lock number
D. sequence
Answer» B. log number
940.

ARIES supports                        operations, which are physical in that the affected page is physically identified, but can be logical within the page.

A. physiological redo
B. physiological undo
C. logical redo
D. logical undo
Answer» A. physiological redo
941.

                             is used to minimize unnecessary redos during recovery.

A. dirty page table
B. page table
C. dirty redo
D. all of the mentioned
Answer» A. dirty page table
942.

                     scheme that records only information about dirty pages and associated information and does not even require of writing dirty pages to disk.

A. fuzzy logic
B. checkpoints
C. fuzzy-checkpoint
D. logical checkpoint
Answer» C. fuzzy-checkpoint
943.

Whenever an update operation occurs on a page, the operation stores the LSN of its log record in the                field of the page.

A. lsn
B. readlsn
C. pagelsn
D. redolsn
Answer» C. pagelsn
944.

The                                      contains a list of pages that have been updated in the database buffer.

A. dirty page table
B. page table
C. dirty redo
D. all of the mentioned
Answer» A. dirty page table
945.

                       determines which transactions to undo, which pages were dirty at the time of the crash, and the LSN from which the redo pass should start.

A. analysis pass
B. redo pass
C. undo pass
D. none of the mentioned
Answer» A. analysis pass
946.

                     starts from a position determined during analysis, and performs a redo, repeating history, to bring the database to a state it was in before the crash.

A. analysis pass
B. redo pass
C. undo pass
D. none of the mentioned
Answer» B. redo pass
947.

                             rolls back all transactions that were incomplete at the time of crash.

A. analysis pass
B. redo pass
C. undo pass
D. none of the mentioned
Answer» C. undo pass
948.

Which lock should be obtained to prevent a concurrent transaction from executing a conflicting read, insert or delete operation on the same key value.

A. higher-level lock
B. lower-level lock
C. read only lock
D. read write
Answer» A. higher-level lock
949.

Once the lower-level lock is released, the operation cannot be undone by using the old values of updated data items, and must instead be undone by executing a compensating operation; such an operation is called

A. logical operation
B. redo operation
C. logical undo operation
D. undo operation
Answer» A. logical operation
950.

Which of the following is used for undo operations alone?

A. logical logging
B. physical logging
C. physical log records
D. physical logging and physical log records
Answer» A. logical logging

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.