Data Structures and Algorithms-I MCQs

Page No. 51

Which of the following symbols represent leaf nodes?
i) Δ
ii) ◊
iii) ∇
iv) T
v) ⊥


aiv) and v)


bv)


ci) and iii)


dii)


View Answer iv) and v)

Which of the following symbols represent nodes having exactly one child?
i) Δ
ii) ◊
iii) ∇
iv) T
v) ⊥


a iv) and v)


bv)


ci) and iii)


diii)


View Answer iii)

Consider the following symbols and choose which of the symbols represent nodes having at least one child?
i) Δ
ii) ◊
iii) ∇
iv) T
v) ⊥


aiv) and v)


biii) iv) and v)


ci) and ii)


di) and iii)


View Answer i) and ii)

In which of the following case does a Propositional Directed Acyclic Graph is used for?


aRepresentation of Boolean Functions


bString Matching


cSearching


dSorting of number



What is time complexity to check if a string(length S1) is a substring of another string(length S2) stored in a Directed Acyclic Word Graph, given S2 is greater than S1?


aO(S1)


b) O(S2)


cO(S1+S2)


dO(1)


View Answer O(S1)

In which of the following does a Directed Acyclic Word Graph finds its application in?


aString Matching


bNumber Sorting


cManipulations on numbers


dPattern Printing


View Answer String Matching

MultiGraphs having self-loops are called Pseudo Graphs?


aTrue


bFalse


cNone of the given options


d


View Answer True

What is the degree sequence of the given HyperGraph, in non-increasing order.
V = {v1,v2,v3,v4,v5,v6} E = {{v1,v4,v5} {v2,v3,v4,v5} {v2} {v1} {v1,v6}}


a3,2,1,1,1,1


b3,2,2,2,1,1


c3,2,2,2,2,1


d3,2,2,1,1,1


View Answer 3,2,2,2,1,1

What would be the Incidence Matrix of the given HyperGraph?
V = {x,y,z} E = {{x,y}{y}{x,z}{z,y}}


a{{1,0,1,0}, {1,1,0,1}, {0,0,1,1}}


b{{1,1,0,0}, {0,1,0,0}, {1,1,1,0}}


c{{0,1,0,1}, {0,0,1,0}, {1,1,0,0}}


dNone of the Mentioned



Which of the following is a HyperGraph, where V is the set of vertices, E is the set of edges?


aV = {v1, v2, v3} E = {e1, e2} = {{v2, v3} {v1, v3}}


bV = {v1, v2} E = {e1} = {{v1, v2}}


cV = {v1, v2, v3} E = {e1, e2, e3} = {{v2, v3}{v3, v1}{v2, v1}}


dAll of the mentioned


View Answer All of the mentioned

Goto Page No.

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