Data Structures Algorithms-II MCQs

Page No. 70

Floyd Warshall Algorithm can be used for finding _____________


a Single source shortest path

✖


bTopological sort

✖


cMinimum spanning tree

✖


dTransitive closure

✓


View Answer Transitive closure

What approach is being followed in Floyd Warshall Algorithm?


aGreedy technique

✖


bDynamic Programming

✓


cLinear Programming

✖


dBacktracking

✖


View Answer Dynamic Programming

What is the running time of the Floyd Warshall Algorithm?


a Big-oh(V)

✖


bTheta(V2)

✖


cBig-Oh(VE)

✖


d Theta(V3)

✓


View Answer Theta(V3)

Floyd Warshall’s Algorithm can be applied on __________


aUndirected and unweighted graphs

✖


bUndirected graphs

✖


cDirected graphs

✓


d Acyclic graphs

✖


View Answer Directed graphs

Floyd Warshall’s Algorithm is used for solving ____________


aAll pair shortest path problems

✓


bSingle Source shortest path problems

✖


cNetwork flow problems

✖


dSorting problems

✖



How many constraints does flow have?


aone

✖


bthree

✖


ctwo

✓


dfour

✖


View Answer two

What is the running time of Dinic’s blocking flow algorithm?


aO(V2E)

✓


bO(VE2)

✖


cO(V3)

✖


dO(E max |f|)

✖


View Answer O(V2E)

Who is the formulator of Maximum flow problem?


a Lester R. Ford and Delbert R. Fulkerson

✖


bT.E. Harris and F.S. Ross

✓


cY.A. Dinitz

✖


dKruskal

✖



What is the running time of an unweighted shortest path algorithm whose augmenting path is the path with the least number of edges?


aO(|E|)

✖


bO(|E||V|)

✖


cO(|E|2|V|)

✓


dO(|E| log |V|)

✖


View Answer O(|E|2|V|)

Dinic’s algorithm runs faster than the Ford-Fulkerson algorithm.


aTrue

✓


bFalse

✖


ceither A. or B.

✖


d None of these

✖


View Answer True

Goto Page No.

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