• 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. Supercomputers
  2. Minicomputers
  3. Microcomputers
  4. Mainframe computers
اس سوال کو وضاحت کے ساتھ پڑھیں

کیا ضرورت ہے جب ایک ہی وقت میں ایک سے زیادہ شخص مرکزی کمپیوٹر استعمال کرتا ہے۔
  1. Terminal
  2. Digitizer
  3. Mouse
  4. Light pen
  5. None
اس سوال کو وضاحت کے ساتھ پڑھیں

ٹھ کے ڈسپلے کی معیاری پکسل ریزولوشن کتنی ہوتی ہے؟
  1. 1920 x 1080
  2. 3840 x 2160
  3. 7680 x 4320
  4. 1024 x 768
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. 4096×2160
  2. 4496×2460
  3. 4296×2260
  4. 4196×2060
اس سوال کو وضاحت کے ساتھ پڑھیں

ڈی وی ڈی کس چیز کی مثال ہے؟
  1. Hard disk
  2. Optical Disk
  3. Output devices
  4. Solis-State Storage Devices
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com