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.

  1. A. A is true but R is false
  2. B. Both A and R are true, but R is not the correct explanation of A
  3. C. Both A and R are true, and R is the correct explanation of A
  4. 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 को इंडेक्स भी अद्यतन करना पड़ता है।

  1. A. A सही है, परंतु R गलत है
  2. B. A और R दोनों सही हैं, परंतु R, A की सही व्याख्या नहीं है
  3. C. A और R दोनों सही हैं, और R, A की सही व्याख्या है
  4. D. A गलत है, परंतु R सही है

उत्तर: B. दोनों कथन सही हैं, पर R इंडेक्स की लागत (धीमे राइट) बताता है, यह नहीं कि खोज तेज़ क्यों होती है। खोज इसलिए तेज़ होती है कि इंडेक्स एक क्रमबद्ध संरचना (जैसे B-ट्री) है जो पूरी तालिका को स्कैन करने से बचाती है।

More Computer Awareness questions

Exams that ask this topic