Data Structures and Algorithms-I MCQs

Page No. 50

Dijkstra’s Algorithm will work for both negative and positive weights?


aTrue


bFalse


ceither true either false


dNone of the mentioned


View Answer False

What is the value of the sum of the minimum in-degree and maximum out-degree of an Directed Acyclic Graph?


aDepends on a Graph


bWill always be zero


cWill always be greater than zero


dMay be zero or greater than zero


View Answer Will always be zero

For any two different vertices u and v of an Acyclic Directed Graph if v is reachable from u, u is also reachable from v?


aTrue


bFalse


cNone of the given options


deither true either false


View Answer False

Which of the given statement is true?


aAll the Cyclic Directed Graphs have topological sortings


bAll the Acyclic Directed Graphs have topological sortings


cAll Directed Graphs have topological sortings


dAll the cyclic directed graphs have non topological sortings



If there are more than 1 topological sorting of a DAG is possible, which of the following is true.


aMany Hamiltonian paths are possible


bNo Hamiltonian path is possible


cExactly 1 Hamiltonian path is possible


dGiven information is insufficient to comment anything



The topological sorting of any DAG can be done in ________ time.


acubic


bquadratic


clinear


dlogarithmic


View Answer linear

With V(greater than 1) vertices, how many edges at most can a Directed Acyclic Graph possess?


a(V*(V-1))/2


b(V*(V+1))/2


c(V+1)C2


d(V-1)C2


View Answer (V*(V-1))/2

Every Directed Acyclic Graph has at least one sink vertex.


aTrue


bFalse


cNone of the given options


d


View Answer True

In a Propositional Directed Acyclic Graph Leaves maybe labelled with a boolean variable.


aTrue


bFalse


cNone of the given options


d


View Answer True

Every Binary Decision Diagram is also a Propositional Directed Acyclic Graph.


aTrue


bFalse


cNone of the given options


d


View Answer True

Goto Page No.

Page 50 of 53

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