Data Structures Algorithms-II MCQs

Page No. 38

Odd-even sort is a variation of ___________


aBubble sort


bSelection sort


cInsertion sort


d Gnome sort


View Answer Bubble sort

Odd-even sort is also known as ____________


astupid sort


bsmart sort


c brick sort


dbogo sort


View Answer brick sort

Which of the following is not an adaptive sorting algorithm?


a insertion sort


bstrand sort


cstooge sort


d bubble sort


View Answer stooge sort

Which of the following sorting algorithm is worst in terms of time complexity?


abubble sort


b selection sort


c insertion sort


dstooge sort


View Answer stooge sort

Which of the following sorting algorithm has the same time complexity in every case?


astooge sort


bstrand sort


cquick sort


dbubble sort


View Answer stooge sort

How many recursive statements are used in the algorithm of stooge sort?


a0


b1


c2


d3


View Answer 3

What is the average time complexity of stooge sort?


a O(n2)


bO(n3)


c O(n2.6)


d O(n2.7)


View Answer O(n2.7)

Stooge sort is a stable sorting algorithm.


a true


b false


cA & B


dNone of these


View Answer false

Stooge sort is a comparison based sorting algorithm.


atrue


b false


cA & B


dNone of these


View Answer true

What is the first step in the algorithm of stooge sort(after base case)?


a apply stooge sort on first 2/3 elements of array


b apply stooge sort on last 2/3 elements of array


capply stooge sort on first 1/3 elements of array


d compare first and last element of the array



Goto Page No.

Page 38 of 149

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan