Data Structures Algorithms-II MCQs

Page No. 36

Which of the following sorting algorithm is not in place?


aquick sort


bbead sort


ccycle sort


d heap sort


View Answer bead sort

What is the auxiliary space complexity of bead sort?


a O(n)


bO(1)


cO(n2)


dO(n log n)


View Answer O(n2)

Which of the following sorting algorithm is only applicable to positive integers?


aquick sort


b heap sort


cbead sort


d strand sort


View Answer bead sort

Which of the following sorting algorithm was inspired by the natural phenomenon of falling objects?


a bogo sort


bheap sort


cbead sort


d strand sort


View Answer bead sort

Bead sort is also known as _________


a gravity sort


bstrand sort


cabacus sort


dcounting sort


View Answer gravity sort

The Pancake Problems (1975, 1979, 1973) did NOT involve which of the following people?


a Bill Gates


b Jacob Goodman


cChristos Papadimitriou


d John Goodman


View Answer John Goodman

When we realize a specific implementation of a pancake algorithm, every move when we find the greatest of the sized array and flipping can be modeled through __________


a Combinations


bExponential functions


c Logarithmic functions


dPermutations


View Answer Exponential functions

In a computational complexity theory, a problem with decision making is said to be NP-complete when it is both in NP and NP-hard. What does NP mean?


a Non Polynomial time


bNon-deterministic Probabilistic


cNon-deterministic Polynomial time


dNon Probabilistic time



In addition to the pancake sorting problem, there is the case of the burnt pancake problem in which we are dealing with pancakes (discs) that are burnt on one side only. In this case it is taken that the burnt side must always end up _______


aFaced down


b Faced up


cIt doesn’t matter


dBoth sides are burnt


View Answer Faced down

Pancake Sorting appears in which of the following?


aFrequency Scaling


bStorage Virtualization


c Parallel Processing


dNeural Networking



Goto Page No.

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