...
Operating-Systems
October 12, 2023
Aptitude
October 12, 2023
Operating-Systems
October 12, 2023
Aptitude
October 12, 2023

Data-Structures

Question 2

Let T be a tree with 10 vertices. The sum of the degrees of all the vertices in T is _________.

A
18
B
19
C
20
D
21
Question 2 Explanation: 
Sum of degrees of all vertices is double the number of edges.

A tree, with 10 vertices, consists n – 1, i.e. 10 – 1 = 9 edges.

Sum of degrees of all vertices = 2(#edges)
= 2(9)
= 18

Correct Answer: A
Question 2 Explanation: 
Sum of degrees of all vertices is double the number of edges.

A tree, with 10 vertices, consists n – 1, i.e. 10 – 1 = 9 edges.

Sum of degrees of all vertices = 2(#edges)
= 2(9)
= 18

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!