Question 76

Computer Awareness Trees Easy

The number of different bnary trees with 6 nodes is

(A) 6
(B) 42
(C) 132
(D) 256
โœ“ Correct Answer: Option C Verified Solution

๐Ÿ“˜ Step-by-Step Solution & Detailed Explanation:

The number of different binary trees that can be formed with \( n \) nodes is given by the Catalan number \( C_n \). The formula for the \( n^{th} \) Catalan number is given by:\[\] \(C_n = \frac{(2n)!}{(n+1)! \cdot n!} \) \[\] For ( n=6 ) , the number of different binary trees is given by \( C_6 \).\[\] Calculation of \( C_6 \): Using the formula: \(C_n = \frac{(2n)!}{(n+1)! \cdot n!}\) \[\] Plugging in ( n=6 ): \( C_6 = \frac {(2 \cdot 6)!}{(6+1)! \cdot 6!}\) \[\] \( C_6 = \frac{12!}{7! \cdot 6!}\) \[\] We calculate factorials: \[\] \( 12! = 479001600 \) \[\] - \( 7! = 5040 \) \[\] - \( 6! = 720 \)\[\] Substitute these into the formula: \( C_6 = \frac{479001600}{5040 \cdot 720}\) \( C_6 = 132 \) \[\] Correct Answer The number of different binary trees with 6 nodes is: 132 \[\] Correct Answer: (c)

Practice Similar Trees Questions

Reinforce your conceptual grasp with related questions from CUET-MCA 2021:

Q64 The given numbers are inserted into an empty binary search tree in the...
Solve โ†’
Q71 Which of the following ways can be used to represent a graph?
Solve โ†’
Q72 In a B+ tree, If the search-key value is 8 bytes long, the block size is...
Solve โ†’
Q34 Which of the following commands is used to delete a table in SQL?
Solve โ†’
Q35 Which of the following standard algorithms is not a greedy algorithm?
Solve โ†’
Full-Length Test Series

Prepare for CUET-MCA Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series โ†’