Data Structures Algorithms-II MCQs

Page No. 69

Bellmann ford algorithm provides solution for ____________ problems.


aAll pair shortest path

✖


bSorting

✖


cNetwork flow

✖


dSingle source shortest path

✓



The Bellmann Ford algorithm returns _______ value.


aBoolean

✓


bInteger

✖


c String

✖


dDouble

✖


View Answer Boolean

In the given graph, how many intermediate vertices are required to travel from node a to node e at a minimum cost?


a2

✖


b0

✖


c1

✓


d 3

✖


View Answer 1

In the given graph, what is the minimum cost to travel from vertex 1 to vertex 3?


a3

✖


b 2

✖


c 10

✖


d -3

✓


View Answer -3

The time taken to compute the transitive closure of a graph is Theta(n2).


aTrue

✖


bFalse

✓


cA & B

✖


dNone of these

✖


View Answer False

Using logical operator’s instead arithmetic operators saves time and space.


aTrue

✓


bFalse

✖


cA & B

✖


dNone of these

✖


View Answer True

What happens when the value of k is 0 in the Floyd Warshall Algorithm?


a 1 intermediate vertex

✖


b 0 intermediate vertex

✓


cN intermediate vertices

✖


d N-1 intermediate vertices

✖



Who proposed the modern formulation of Floyd-Warshall Algorithm as three nested loops?


aRobert Floyd

✖


bStephen Warshall

✖


cBernard Roy

✖


dPeter Ingerman

✓


View Answer Peter Ingerman

Floyd- Warshall algorithm was proposed by ____________


a Robert Floyd and Stephen Warshall

✓


bStephen Floyd and Robert Warshall

✖


c Bernad Floyd and Robert Warshall

✖


d Robert Floyd and Bernad Warshall

✖



What procedure is being followed in Floyd Warshall Algorithm?


aTop down

✖


bBottom up

✓


cBig bang

✖


d Sandwich

✖


View Answer Bottom up

Goto Page No.

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