Data Structures Algorithms-II MCQs

Page No. 87

What is the LCM of two coprime numbers?


a1


b0


cAddition of two coprime numbers


dMultiplication of two coprime numbers



Which of the following is also known as LCM?


aLowest Common Divisor


bLeast Common Multiple


cLowest Common Measure


dHighest Common Multiple


View Answer Lowest Common Divisor

Which is the smallest number of 3 digits that is divisible by 2, 4, 8?


a100


b102


c116


d104


View Answer 104

What is the LCM of 8 and 13?


a8


b12


c20


d104


View Answer 104

LCM is also called as ________


aGCD


bSCM


cGCF


dHCF


View Answer SCM

What can be the minimum sum of digits for a 4 digit number?


a 0


b1


c16


d36


View Answer 1

What can be the maximum sum of digits for a 4 digit number?


a1


b16


c36


d26


View Answer 36

Which of the following methods can be used to find the sum of digits of a number?


aRecursion


bIteration


cGreedy algorithm


dBoth recursion and iteration



In which of the following cases is the reversal of a string not equal to the original string?


aPalindromic strings


bStrings of length 1


cEmpty String


dStrings of length 2


View Answer Strings of length 2

What is the time complexity of the above recursive implementation used to reverse a string?


aO(1)


bO(n)


cO(n2)


d O(n3)


View Answer O(n)

Goto Page No.

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