GateAI
Discrete Mathematics

GATE CSE 2017 Set 1 · Q20

NAT1 markEasy

Time

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

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 18 (±0)

Discrete Mathematics
  1. A tree with nn vertices always contains exactly e=n−1e = n - 1 edges. For n=10n = 10:

    e=10−1=9e = 10 - 1 = 9
  2. By the Handshaking Lemma (degree sum formula), the sum of the degrees of all vertices in any undirected graph is twice the number of edges:

    ∑v∈Vdeg⁡(v)=2e=2×9=18\sum_{v \in V} \deg(v) = 2e = 2 \times 9 = 18

Thus, the sum of the degrees of all the vertices in TT is 18.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Discrete Mathematics previous year question is Q20 of the GATE CSE 2017 Set 1 paper. Find more GATE CSE PYQs on Discrete Mathematics in Engineering Mathematics, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Discrete Mathematics PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Discrete Mathematics in GATE CSE

Discrete Mathematics has 50 GATE CSE PYQs across 23 papers from 2011 to 2026. 10 of them are 1-mark NAT questions like this one, and GATE CSE 2017 Set 1 has 4.

How GATE tests Discrete Mathematics

More from GATE CSE 2017 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2017 Set 1 · Q20 · NAT

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

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.