Data Structures Algorithms-II MCQs

Page No. 32

Which of the following is not true about MSD radix sort?


aits processing starts from the most significant digit


b it is not a stable sort


cit is an in place sorting algorithm


dit is non comparison based sort



Which of the following is an alternate name of MSD radix sort?


abottom up radix sort


btop down radix sort


cforward radix sort


d backward radix sort


View Answer top down radix sort

Which of the following is the most suitable definition of radix sort?


a It is a non comparison based integer sort


bIt is a comparison based integer sort


cIt is a non comparison based non integer sort


dIt is a comparison based non integer sort



Which of the following combines qualities of MSD radix sort and LSD radix sort?


a in-place MSD radix sort


bstable MSD radix sot


c3 way radix quick sort


dforward radix sort


View Answer forward radix sort

What is the full form of MSD in MSD radix sort?


amost significant digit


bmany significant digit


c more significant digit


dmust significant digit



How many comparisons will be made to sort the array arr = {1, 5, 3, 8, 2} using MSD radix sort?


a5


b7


c9


d 0


View Answer 0

Which of the following algorithm takes non linear time for sorting?


acounting sort


bquick sort


c bucket sort


d radix sort


View Answer quick sort

What is the disadvantage of counting sort?


acounting sort has large time complexity


bcounting sort has large space complexity


ccounting sort is not a comparison based sorting technique


dcounting sort cannot be used for array with non integer elements



What is the advantage of counting sort over quick sort?


acounting sort has lesser time complexity when range is comparable to number of input elements


bcounting sort has lesser space complexity


ccounting sort is not a comparison based sorting technique


dit has no advantage



Counting sort is often used as a sub routine for radix sort.


a true


bfalse


cA & B


dNone of these


View Answer true

Goto Page No.

Page 32 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