My Report

Data Structure I Practice Test 10


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. What would be the number of zeros in the adjacency matrix of the given graph?
data-structure-questions-answers-adjacency-matrix-q2

2. Assuming value of every weight to be greater than 10, in which of the following cases the shortest path of a directed weighted graph from 2 vertices u and v will never change?

3. For the given graph(G), which of the following statements is true?
data-structure-questions-answers-graph-q3

4. MultiGraphs having self-loops are called PseudoGraphs?

5. When is it appropriate to use direct addressing?

6. What would the time complexity to check if an undirected graph with V vertices and E edges is Bipartite or not given its adjacency matrix?

7. What is the maximum number of edges present in a simple directed graph with 7 vertices if there exists no cycles in the graph?

8. A Graph Structured Stack is a _____________

9. Every Directed Acyclic Graph has at least one sink vertex.

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


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.