Combination: GATE CS Previous Year Questions

Combination · Discrete Mathematics

29 questions · asked in 16 of 27 years (2000–2026)

MCQ 19 · NAT 101-mark 21 · 2-mark 8

2000Questions per year2026

Questions 11–15 of 29

Q11GATE 2014 (Session 1)2 marksNAT
A pennant is a sequence of numbers, each number being 1 or 2. An n-pennant is a sequence of numbers with sum equal to n. For example, (1,1,2) is a 4-pennant. The set of all possible 1- pennants is {(1)}, the set of all possible 2-pennants is {(2), (1,1)}and the set of all 3-pennants is {(2,1), (1,1,1), (1,2)}. Note that the pennant (1,2) is not the same as the pennant (2,1). The number of 10- pennants is _____.

Q12GATE 2014 (Session 2)2 marksNAT
The number of distinct positive integral factors of 2014 is ____

Q13GATE 20082 marksMCQ−0.67 if wrong
In how many ways can bb blue balls and rr red balls be distributed in nn distinct boxes?

Q14GATE 20061 markMCQ−0.33 if wrong
In the 4B/5B encoding scheme, every 4 bits of data are encoded in a 5-bit codeword.
It is required that the codewords have at most 1 leading and at most 1 trailing zero.
How many are such codewords possible?

Q15GATE 20061 markMCQ−0.33 if wrong
What is the cardinality of the set of integers X defined below?
X={n∣1≤n≤123X=\{n \mid 1 \leq n \leq 123, n is not divisible by either 2, 3 or 5}

Keep practising

Topics in Discrete Mathematics

All CS topics ›