Data Structures Algorithms-II MCQs

Page No. 48

Which of the following is the correct mathematical application of Euclid’s algorithm?


aDetermination of prime numbers


bLagrange’s four square theorem


cCauchy-Euler theorem


dResidue theorem



According to Gabriel lame, how many steps does Euclid’s algorithm require to solve a problem?


aLess than five times the number of digits


bMore than five times the number of digits


c Less than two times the number of digits


dMore than two times the number of digits



The Euclid’s algorithm runs efficiently if the remainder of two numbers is divided by the minimum of two numbers until the remainder is zero.


aTrue


bFalse


cA & B


d None of the above


View Answer True

Which of the following is not an application of Euclid’s algorithm?


aSimplification of fractions


bPerforming divisions in modular arithmetic


c Solving quadratic equations


d Solving diophantine equations



If 4 is the GCD of 16 and 12, What is the GCD of 12 and 4?


a12


b6


c4


d2


View Answer 4

Who invented Euclid’s algorithm?


aSieve


b Euclid


cEuclid-Sieve


dGabriel lame


View Answer Euclid

Euclid’s algorithm is used for finding ___________


aGCD of two numbers


bGCD of more than three numbers


cLCM of two numbers


dLCM of more than two numbers


View Answer GCD of two numbers

Compute the product matrix using Strassen’s matrix multiplication algorithmGiven a11=1; a12=3;a21=5;a22=7


ac11=20;c12=12;c21=100;c22=15


bc11=22;c12=8;c21=90;c22=32


cc11=15;c12=7;c21=80;c22=34


dc11=26;c12=10;c21=82;c22=34



Strassen’s algorithm is quite numerically stable as the naïve method.


aTrue


bFalse


cA & B


d None of the above


View Answer False

How many iterating statements are involved in the naïve method of matrix multiplication?


a1


b2


c 3


d4


View Answer 3

Goto Page No.

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