Computer AwarenessVery hardIBPS SO IT · IBPS PO Mains
Assertion (A): Creating an index on a column makes searches on that column faster. Reason (R): Every INSERT or UPDATE on the table must also update the index.
- A. A is true but R is false
- B. Both A and R are true, but R is not the correct explanation of A
- C. Both A and R are true, and R is the correct explanation of A
- D. A is false but R is true
Correct answer: B. Both A and R are true, but R is not the correct explanation of A
Both statements are true, but R describes the COST of an index (slower writes), not why searches get faster. Searches speed up because the index is a sorted structure (such as a B-tree) that avoids scanning the whole table.
हिंदी में
अभिकथन (A): किसी स्तंभ पर इंडेक्स बनाने से उस स्तंभ पर खोज तेज़ हो जाती है। कारण (R): तालिका पर प्रत्येक INSERT या UPDATE को इंडेक्स भी अद्यतन करना पड़ता है।
- A. A सही है, परंतु R गलत है
- B. A और R दोनों सही हैं, परंतु R, A की सही व्याख्या नहीं है
- C. A और R दोनों सही हैं, और R, A की सही व्याख्या है
- D. A गलत है, परंतु R सही है
उत्तर: B. दोनों कथन सही हैं, पर R इंडेक्स की लागत (धीमे राइट) बताता है, यह नहीं कि खोज तेज़ क्यों होती है। खोज इसलिए तेज़ होती है कि इंडेक्स एक क्रमबद्ध संरचना (जैसे B-ट्री) है जो पूरी तालिका को स्कैन करने से बचाती है।
More Computer Awareness questions
- How many of these statements are correct? I. A table can have only one primary key. II. A primary key column can never hold NULL. III. A…
- Two ATMs read a joint account's balance of ₹10,000 at the same moment. Each pays out ₹3,000 and writes back its own result. With no…
- A pen drive shows 20 GB free, yet copying a single 6 GB video file to it fails. Which is the most likely reason?
- The controller that fires a car's airbag must respond within a few milliseconds every single time. What kind of operating system does it…
- Which part of an operating system reads the commands a user types and passes them on to the kernel to be carried out?
- A program can be downloaded and used at no cost for as long as you like, but its source code is kept secret and you may not modify it. It…