GATE CSE Graphs & Graph Algorithms – Data Structures Practice Test | Set 1

Questions 1-5 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark

A simple undirected graph G has 12 vertices and each vertex has degree 4. How many edges does graph G contain?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

What is the total number of edges in a complete undirected graph $K_{n}$ with 10 vertices?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

What is the memory space complexity required to represent a graph with V vertices and E edges using an Adjacency Matrix?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

What is the space complexity to represent a directed graph with V vertices and E edges using an Adjacency List?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

In an undirected graph represented by an Adjacency Matrix A, how is the degree of vertex i calculated?

Answers for question 5
Scroll to Top