• 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. Metropolitan Area Network (MAN)
  2. Local Area Network (LAN)
  3. Wide Area Network (WAN)
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

جی آئ یو کا مطلب کیا ہے؟
  1. Graphical Use Interface
  2. Graphical User Interface
  3. Graphic User Interface
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

اگر کمپیوٹر مختلف پروگرام استعمال کرتے وقت سست ہو جائے تو سب سے پہلے کس حصے کو اپ گریڈ کرنا چاہیے؟
  1. RAM
  2. Keyboard
  3. Monitor
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

اگر کمپیوٹر میں ______ نہ ہو تو وہ صحیح طریقے سے بوٹ نہیں ہو سکتا؟
  1. Loader
  2. Operating System
  3. Compiler
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

آپریٹنگ سسٹم کیا ہوتا ہے؟
  1. Personal software
  2. System software
  3. Application software
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com