Sunday, 1 November 2015

UGC-NET Computer Science Data Structures Questions with Explanation

In this Blog we are providing all the UGC-NET Computer Science previous year Questions with explanation:

Q:1 The number of different trees with 8 nodes is

(A) 256
(B) 255
(C) 248
(D) None of these

(June 2011 Paper 2)

Answer: (C) 248

Explanation: The number of different trees with 'n' nodes is given by the formula 2 - n. So, the number of trees with 8 nodes will be 2- 8 i.e. 256 - 8 = 248. Hence (C) option is correct.

No comments:

Post a Comment