Data Structures Multiple Choice Questions and Answers on Binary Decision Diagrams & And Inverter Graph

1. Binary Decision Diagram is a type of __________

a) Multigraph
b) Cyclic Graph
c) Directed Acyclic Graph
d) Directed Acyclic Word Graph
Answer: c

Explanation: An Inverter is a directed graph which is used to solve Boolean expressions, hence have no loops.
2. In which of the following case does a Binary Decision Diagram is used for?

a) Representation of Boolean Functions
b) String Matching
c) Searching
d) Sorting of number
Answer: a

Explanation: A Binary Decision Diagram is used to represent a Boolean function.
3. In a Binary Decision Diagram, how many types of terminal exists?

a) 1
b) 2
c) 3
d) 4
Answer: b

Explanation: In a BDD, 2 terminals namely terminal-0 and terminal-1 exists.
4. In a Binary Decision Diagrams 0 values by a _________ line and the 1 values are represented by a _________ line.

a) dashed, bold
b) bold, dashed
c) dotted, bold
d) dotted, bold
Answer: c

Explanation: It is used to distinguish between the 2 values without explicitly writing.
5. How many nodes are required to create a Binary Decision Tree having 4 variables ?

a) 24
b) 24-1
c) 25
d) 25-1
Answer: d

Explanation: Binary Decision Trees are complete Binary Trees of level V + 1, here V is the number of variables.
6. Two or more And Inverter Graphs can represent same function.

a) True
b) False
Answer: a

Explanation: And Inverter Graphs are not canonical in nature.
7. Size of an And Inverter Graph is the number of _______ gates and the number of logic levels is number of ________ gates on the __________ path from a primary input to a primary output.

a) AND, AND, average
b) AND, OR, longest
c) OR, OR, shortest
d) AND, AND, longest
Answer: d

Explanation: The given statement forms the attributes of the And Inverter Graph.
8. And Inverter Graph is a type of __________

a) Multigraph
b) Cyclic Graph
c) Directed Acyclic Graph
d) Directed Acyclic Word Graph
Answer: c

Explanation: And Inverter is a directed graph which is used to solve boolean expressions, hence have no loops.
9. The And Inverter Graph representation of a Boolean function is more efficient than the Binary Decision Diagram.

a) True
b) False
Answer: a

Explanation: The conversion from the network logic is faster and more scalable than in the case of the Binary Decision Diagram.
10. Which of the following logical operation can be implemented by polynomial time graph manipulation algorithms using Binary Decision Diagrams?

a) Conjunction
b) Disjunction
c) Negation
d) All of the mentioned
Answer: d

Explanation: This is the property of the binary decision diagrams.

Related

Visual Basic Multiple Choice Questions

Top 80 Visual Basic Multiple Choice Questions 1. The Visual Basic Code Editor will automatically detect certain types of errors as you are entering code. A. TrueB. False Ans: A 2. Keywords are a...

Data Structures Multiple Choice Questions and Answers on Stack using Array

1. Which of the following real world scenarios would you associate with a stack data structure? a) piling up of chairs one above the otherb) people standing in a line to be serviced at a counterc) ...

Data Structures Multiple Choice Questions and Answers on Inorder Traversal

1. For the tree below, write the in-order traversal. a) 2, 7, 2, 6, 5, 11, 5, 9, 4b) 2, 7, 5, 2, 6, 9, 5, 11, 4c) 2, 5, 11, 6, 7, 4, 9, 5, 2d) 2, 7, 5, 6, 11, 2, 5, 4, 9 Answer: d Explanation: In...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item