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
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 _____.
Answer: 88.9 to 89.1
A pennant of sum n begins with 1 (the rest is an (n 1)-pennant) or with 2 (the rest is an (n 2)-pennant): , P(1) = 1, P(2) = 2.
1, 2, 3, 5, 8, 13, 21, 34, 55, 89 P(10) = 89
Answer: 89
1, 2, 3, 5, 8, 13, 21, 34, 55, 89 P(10) = 89
Answer: 89
The number of distinct positive integral factors of 2014 is ____
Answer: 8
Prime factorisation of 2014:
Count of factors = (1 + 1)(1 + 1)(1 + 1) = 8
Answer: 8
Count of factors = (1 + 1)(1 + 1)(1 + 1) = 8
Answer: 8
In how many ways can blue balls and red balls be distributed in distinct boxes?
Answer: (A)
We can place red balls into distinct boxes in this many ways:
We can place blue balls into the boxes in this many ways:
Using the product rule, the total number of ways is
So the answer is (A).
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?
It is required that the codewords have at most 1 leading and at most 1 trailing zero.
How many are such codewords possible?
Answer: (C)
A 5-bit codeword has at most 1 leading zero and at most 1 trailing zero when its first two bits are not both 0 and its last two bits are not both 0. Count the 32 codewords and remove the bad ones.
- First two bits 00: , so codewords.
- Last two bits 00: , so codewords.
- Both: , so codewords (counted in both lines above).
- Bad codewords: .
Valid codewords: .
Answer: (C)
- First two bits 00: , so codewords.
- Last two bits 00: , so codewords.
- Both: , so codewords (counted in both lines above).
- Bad codewords: .
Valid codewords: .
Answer: (C)
What is the cardinality of the set of integers X defined below?
, n is not divisible by either 2, 3 or 5}
, n is not divisible by either 2, 3 or 5}
Answer: (B)
Let be the sets of numbers in that are divisible by 2, 3 and 5. holds the numbers that are in none of them, so . Use inclusion-exclusion with for the multiples of :
, ,
, ,
Answer: (B)
, ,
, ,
Answer: (B)
Keep practising