Relational Database Management System (RDBMS) Solved MCQs
Multiple Choice Questions
31 Pages
FT
Contributed by
Falguni Talwar
Loading
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inUnit 1: Introduction to RDBMS1. Which of the following are steps in query processing?a) Parsing and translationb) Optimizationc) Evaluationd) All of the mentioned2. A relational algebra operation annotated with instructions on how to evaluate it is called _______a) Evaluation algebrab) Evaluation planc) Evaluation primitived) Evaluation engine3. A sequence of primitive operations that can be used to evaluate a query are called as __________a) Query evaluation algebrab) Query evaluation planc) Query evaluation primitived) Query evaluation engine4. The lowest level operator to access data in query processing is _______a) File scanb) File manipulationc) File handlingd) File organization5. Search algorithms that use an index are referred to as _________a) Index scansb) Search scansc) Primary scansd) Equality scans6. Sorting of relations that do not fit in memory is called as _______a) Internal sortingb) External sortingc) Overflow sortingd) Overload sorting7. A selection of the form satisfying the intersection of all records satisfying individual simple conditionsisa) Conjunctive selectionb) Disjunctive selectionc) Negation
Page 1
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.ind) None of the mentioned8. A selection of the form satisfying the union of all records satisfying individual simple conditions isa) Conjunctive selectionb) Disjunctive selectionc) Negationd) None of the mentioned9. A selection of the form giving all the records not satisfying simple individual conditions is ______a) Conjunctive selectionb) Disjunctive selectionc) Negationd) None of the mentioned10. Which of the following can be implemented?a) Conjunctive selection using one indexb) Conjunctive selection using composite indexc) Conjunctive selection by intersection of identifiersd) All of the mentioned11. A join of the form r ⨝r.A=s.B s is called asa) Equi joinb) Left outer joinc) Right outer joind) Full outer join12. for each tuple tr in r do beginFOR each tuple ts IN s do BEGINtest pair (tr , ts ) TO see IF they satisfy the JOIN condition _IF they do, ADD tr • ts TO the RESULT;ENDEND13. What type of join is this?a) Equi joinb) Hash joinc) Nested loop joind) Block nested loop join14. If nested loop join is done on a per block basis rather than on a per tuple basis, it is called asa) Equi joinb) Hash joinc) Nested loop join
Page 2
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.ind) Block nested loop join15. The merge join can be used to computea) Natural joinsb) Equi joinsc) Both the mentionedd) None of the mentioned16. The ___________ merges the sorted relation with leaf entries of the secondary B+ tree index.a) Merge join algorithmb) Hybrid merge join algorithmc) Hash join algorithmd) Hybrid Hash join algorithm17. The splitting of input until each partition of the build input fits the memory is called as ______a) Temporary partitioningb) Block partitioningc) Recursive partitioningd) Byte partitioning18. Overflow resolution is performed when,a) A hash index overflow is detectedb) Extra hash indices are to be addedc) When the number of partitions are to be increasedd) None of the mentioned19. Which of the following is not a set operationa) Unionb) Intersectionc) And operationd) Set difference20. Which of the following joins preserves the tuples of the relation on the left side of the operator?a) Left outer joinb) Natural joinc) Right outer joind) None of the mentioned21. State true or false: The aggregation functions can be implemented in the same way as that of duplicateelimination.a) Trueb) False
Page 3
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in22. If the results of one operation are passed on to the other, it is called as ________a) Chainb) Pipelinec) Materializedd) Tree23. The result of each intermediate operation are created and then are used for valuation of the next leveloperations, this evaluation is called as ________a) Chain evaluationb) Pipeline evaluationc) Materialized evaluationd) Demand driven evaluation24. If the system makes repeated requests for tuples from the operation at the top of the table, it is called as_________a) Demand driven pipelineb) Producer driven pipelinec) Query driven pipelined) None of the mentioned25. If the operations do not wait to produce tuples, then it is called as _________a) Demand driven pipelineb) Producer driven pipelinec) Query driven pipelined) None of the mentioned26. State true or false: Sorting is an inherently blocking operationa) Trueb) False27. State true or false: Join is an inherently blocking operationa) Trueb) False28. 7. Which of the following techniques does not exist?a) Pipelined join techniqueb) Left pipelined join techniquec) Right pipelined join techniqued) None of the mentioned29. State true or false: Hybrid hash join is partially pipelined on the probe relationa) Trueb) False
Page 4
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in30. The usage of two buffers, with one continuing execution of the algorithm while the other is written iscalled as __________a) Double executionb) Multi taskingc) Double bufferingd) Double algorithm31. Which of the following functions does an iterator not providea) Open()b) Next()c) Close()d) Wait()Unit 2 : Transaction Management32. Collections of operations that form a single logical unit of work are called __________a) Viewsb) Networksc) Unitsd) Transactions33. The “all-or-none” property is commonly referred to as _________a) Isolationb) Durabilityc) Atomicityd) None of the mentioned34. Which of the following is a property of transactions?a) Atomicityb) Durabilityc) Isolationd) All of the mentioned35. Execution of translation in isolation preserves the _________ of a databasea) Atomicityb) Consistencyc) Durabilityd) All of the mentioned36. Which of the following is not a property of a transaction?a) Atomicityb) Simplicityc) Isolation
Page 5
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.ind) Durability37. Which of the following systems is responsible for ensuring durability?a) Recovery systemb) Atomic systemc) Concurrency control systemd) Compiler system38. Which of the following systems is responsible for ensuring isolation?a) Recovery systemb) Atomic systemc) Concurrency control systemd) Compiler system39. State true or false: Information residing in the volatile storage does not usually survive system crashesa) Trueb) False40. A transaction that has not been completed successfully is called as _______a) Compensating transactionb) Aborted transactionc) Active transactiond) Partially committed transaction41. Which of the following is not a transaction state?a) Activeb) Partially committedc) Failedd) Compensated42. The execution sequences in concurrency control are termed as ________a) Serialsb) Schedulesc) Organizationsd) Time tables43. The scheme that controls the interaction between executing transactions is called as _____a) Concurrency control schemeb) Multiprogramming schemec) Serialization schemed) Schedule scheme
Page 6
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in44. I and J are _________ if they are operations by different transactions on the same data item, and atleast one of them is a write operation.a) Conflictingb) Overwritingc) Isolatedd) Durable45. If a schedule S can be transformed into a schedule S’ by a series of swaps of non-conflictinginstructions, then S and S’ area) Non conflict equivalentb) Equalc) Conflict equivalentd) Isolation equivalent46. A schedule is __________ if it is conflict equivalent to a serial schedule.a) Conflict serializableb) Conflictingc) Non serializabled) None of the mentioned47. The set of ________ in a precedence graph consists of all the transactions participating in the schedulea) Verticesb) Edgesc) Directionsd) None of the mentioned48. A ___________of the transactions can be obtained by finding a linear order consistent with the partialorder of the precedence graph.a) Serializability orderb) Direction graphc) Precedence graphd) Scheduling scheme49. State true or false: If I = read(Q) and J = read(Q) then the order of I and J does not matter.a) Trueb) False50. State true or false: If I = read(Q) and J = write(Q) then the order of I and J does not matter.a) Trueb) False51. Which of the following is the most expensive method?a) Timestampingb) Plain locking
Page 7
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inc) Predicate lockingd) Snapshot isolation52. A transaction that performs only one operation is called as a _________a) Partial scheduleb) Complete schedulec) Dependent scheduled) Independent schedule53. The phenomenon in which one failure leads to a series of transaction rollbacks is called as ________a) Cascading rollbackb) Cascadeless rollbackc) Cascade caused) None of the mentioned54. State true or false: Every cascadeless schedule is also recoverablea) Trueb) False55. A ___________ is one where, for each pair of transactions Ti and Tj such that Tj reads a data itempreviously written by Ti , the commit operation of Ti appears before the commit operation of Tja) Partial scheduleb) Dependent schedulec) Recoverable scheduled) None of the mentioned56. State true or false: Transactions can only run seriallya) Trueb) False57. Which of the following are the advantages of transaction concurrency?a) Increased throughputb) Increased utilizationc) Reduces average response timed) All of the mentioned58. The average time for a transaction to be completed after it has been submitted is called as __________a) Minimum response timeb) Average response timec) Average reaction timed) Minimum reaction time
Page 8
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in59. If a schedule is equivalent to a serial schedule, it is called as a _________a) Serializable scheduleb) Equivalent schedulec) Committed scheduled) None of the mentioned60. Which of the following is not a type of a schedule?a) Partial scheduleb) Dependent schedulec) Recoverable scheduled) None of the mentioned61. Which of the following is a transaction isolation level as specified by SQL standard?a) Serializableb) Repeatable readc) Read committedd) All of the mentioned62. 2. State true or false: Serializable level may allow both serializable and non-serializable executionsa) Trueb) False63. ________ allows only committed data to be read and further requires that no other transaction isallowed to update it between two reads of a data item by a transaction.a) Read uncommittedb) Serializablec) Repeatable readd) Read committed64. ________ allows only committed data to be read, but does not require repeatable readsa) Read uncommittedb) Serializablec) Repeatable readd) Read committed65. ___________ allows uncommitted data to be reada) Read uncommittedb) Serializablec) Repeatable readd) Read committed66. State true or false: All the isolation levels disallow dirty writesa) True
Page 9
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Relational Database Management System (RDBMS) Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inb) False67. When is a timestamp allotteda) When execution beginsb) When execution is taking placec) When execution is completedd) None of the mentioned68. In ___________ isolation each transaction is given its own version of the databasea) Timestampb) Snapshotc) Lock basedd) All of the mentioned69. What is the disadvantage of locking?a) Does not control concurrencyb) Is not atomicc) Is not durabled) Has a poor degree of concurrency70. A system is in a _______ state if there exists a set of transactions in which every transaction is waitingfor another transaction in the set.a) Deadlockb) Starvedc) Isolatedd) None of the mentioned71. Which of the following is not a method in deadlock handlinga) Deadlock preventionb) Deadlock detectionc) Deadlock recoveryd) Deadlock distribution72. Deadlocks can be prevented usinga) Preemption and transaction rollbacksb) Wait and die schemec) Wound-wait schemed) All of the mentioned73. State true or false: Wait die scheme is a non-preemptive techniquea) Trueb) False
Page 10
Download this file to view remaining 21 pages
Related documents:
- COMMODITIES MARKET - STOCK AND COMMODITY MARKET - Notes
- ADE (UNIT-II) MCQs - MCQ
- Zoology (Paper I) 2017 Question Paper - Question Paper
- Modern India –II Unit 5 Questions with answers - Question Bank
- (BRM) Introduction to Research - Notes
- Etics Calues semester1 - Notes
- BRM_Unit 3 Tools for Collection of Data - Notes
- English (Paper I) 2017 Question Paper - Question Paper
- Other college MCQ - MCQ
- Business Intelligence - Practice MCQ Questions - MCQ
- Chemistry Paper II QP - Question Paper
- Indirect Tax GST Practice MCQ Questions - MCQ
- CONFIGURATION TALLY - EBA - Notes
- Electrostatics Notes and MCQs - Notes
- Issues Relating to Children - Notes
- Marketing - Notes
- Pharmacology and dental materia medica - MCQ
- POLICE ADMINISTRATION PAPER 12 (A) MCQs with ansers - MCQ
- Mechanical Engineering (Paper II) 2017 Question Paper - Question Paper
- Security in Computing - Practice MCQ Questions - MCQ