Review each question and reveal answers to strengthen your understanding
1The column sum in an incidence matrix for a simple graph is __________
✅ Correct Answer: 3
2What are the dimensions of an incidence matrix?
✅ Correct Answer: 2
3The column sum in an incidence matrix for a directed graph having no self loop is __________
✅ Correct Answer: 1
4Time complexity to check if an edge exists between two vertices would be ___________
✅ Correct Answer: 4
5If a connected Graph (G) contains n vertices what would be the rank of its incidence matrix?
✅ Correct Answer: 1
6A Graph Structured Stack is a _____________
✅ Correct Answer: 3
7 If a Graph Structured Stack contains {1,2,3,4} {1,5,3,4} {1,6,7,4} and {8,9,7,4}, what would be the source and sink vertices of the DAC?
✅ Correct Answer: 3
8Graph Structured Stack finds its application in _____________
✅ Correct Answer: 2
9Which is the most appropriate data structure for reversing a word?
✅ Correct Answer: 2
10What will be the word obtained if the word “abbcabb†is reversed using a stack?
✅ Correct Answer: 3
11How many stacks are required for reversing a word algorithm?
✅ Correct Answer: 1
12What are the set of functions that are to be executed to get the following output?
cat
✅ Correct Answer: 2
13Binary Decision Diagram is a type of __________
✅ Correct Answer: 3
14In which of the following case does a Binary Decision Diagram is used for?
✅ Correct Answer: 1
15In a Binary Decision Diagram, how many types of terminal exists?
✅ Correct Answer: 2
16In a Binary Decision Diagrams 0 values by a _________ line and the 1 values are represented by a _________ line.
✅ Correct Answer: 3
17Size 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.
✅ Correct Answer: 4
18And Inverter Graph is a type of __________
✅ Correct Answer: 3
19Which of the following logical operation can’t be implemented by polynomial time graph manipulation algorithms using Binary Decision Diagrams?
✅ Correct Answer: 4
20Express -15 as a 6-bit signed binary number.
✅ Correct Answer: 2
21Which is the predefined method available in Java to convert decimal to binary numbers?
✅ Correct Answer: 4
22How many children does a binary tree have?
✅ Correct Answer: 3
23What is/are the disadvantages of implementing tree using normal arrays?
✅ Correct Answer: 3
24What are the children for node ‘w’ of a complete-binary tree in an array representation?
✅ Correct Answer: 1
25What is the parent for a node ‘w’ of a complete binary tree in an array representation when w is not 0?
✅ Correct Answer: 1
26If the tree is not a complete binary tree then what changes can be made for easy access of children of a node in the array?
✅ Correct Answer: 1
27Consider a situation of writing a binary tree into a file with memory storage efficiency in mind, is array representation of tree is good?
✅ Correct Answer: 3
28Can a tree stored in an array using either one of inorder or post order or pre order traversals be again reformed?
✅ Correct Answer: 2
29What is the location of a parent node for any arbitary node i?
✅ Correct Answer: 3
30Given an array of element 5, 7, 9, 1, 3, 10, 8, 4. Which of the following are the correct sequences of elements after inserting all the elements in a min-heap?
✅ Correct Answer: 1
31Topological sort can be applied to which of the following graphs?
✅ Correct Answer: 4
32Most Efficient Time Complexity of Topological Sorting is? (V – number of vertices, E – number of edges)
✅ Correct Answer: 1
33In most of the cases, topological sort starts from a node which has __________
✅ Correct Answer: 4
34Which of the following is not an application of topological sorting?
✅ Correct Answer: 4
35Topological sort of a Directed Acyclic graph is?
✅ Correct Answer: 3
36Topological sort can be implemented by?
✅ Correct Answer: 3
37Topological sort is equivalent to which of the traversals in trees?
✅ Correct Answer: 1
38A man wants to go different places in the world. He has listed them down all. But there are some places where he wants to visit before some other places. What application of graph can he use to determine that?
✅ Correct Answer: 3
39When the topological sort of a graph is unique?
✅ Correct Answer: 1
40Which of the following statements for a simple graph is correct?
✅ Correct Answer: 1
41What is the number of edges present in a complete graph having n vertices?