• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Which of the following searching algorithms requires the data to be sorted?
مندرجہ ذیل میں سے کون سا سرچنگ الگورتھم ڈیٹا کے ترتیب شدہ ہونے کی ضرورت رکھتا ہے؟
  1. Depth First Search
  2. Linear Search
  3. Binary Search
  4. None of these
Explanation
  • Binary Search requires the data to be sorted before searching.
  • It repeatedly divides the data into two halves to find the target value.
  • This makes it much faster than Linear Search on large datasets.
  • If the data is not sorted, Binary Search cannot work correctly.
  • It follows the divide-and-conquer technique.

Last verified on 10-06-2026

Related MCQs

ریم سے کیا مراد ہے؟
  1. Random Access Memory
  2. Random Access Money
  3. Random Accurate Memory
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

لیزر پرنٹر پرنٹنگ کے لئے ______ استعمال کرتا ہے۔
  1. Liquid ink
  2. Laser
  3. Ink ribbon
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. Hard drive disk
  2. High destination driver
  3. High destination disk
  4. None
اس سوال کو وضاحت کے ساتھ پڑھیں

الگ الگ نیٹ ورکس کے دو مختلف کنکشن کو کیا جوڑتا ہے؟
  1. Router
  2. Switch
  3. Hub
  4. Modem
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. Bus topology
  2. Star topology
  3. Ring topology
  4. Hybrid topology
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com