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 1–5 of 29

Q1GATE 2025 (Session 1)1 markNAT
Let SS be the set of all ternary strings defined over the alphabet {a,b,c}\{a, b, c\}. Consider all strings in SS that contain at least one occurrence of two consecutive symbols, that is, "aa", "bb" or "cc". The number of such strings of length 5 that are possible is _______. (Answer in integer)

Q2GATE 20232 marksMCQ−0.67 if wrong
Let U = {1, 2,...,n}, where n is a large positive integer greater than 1000. Let k be a positive integer less than n. Let A, B be subsets of U with |A| = |B| = k and A∩B=ϕA\cap B=\phi. We say that a permutation of U separates A from B if one of the following is true.

- All members of A appear in the permutation before any of the members of B.
- All members of B appear in the permutation before any of the members of A.

How many permutations of U separate A from B?

Q3GATE 20221 markNAT
The number of arrangements of six identical balls in three identical bins is ____.

Q4GATE 2021 (Session 1)1 markNAT
There are 6 jobs with distinct difficulty levels, and 3 computers with distinct processing speeds. Each job is assigned to a computer such that:

The fastest computer gets the toughest job and the slowest computer gets the easiest job.
Every computer gets at least one job.

The number of ways in which this can be done is ___________.

Q5GATE 20202 marksNAT
The number of permutations of the characters in LILAC so that no character appears in its original position, if the two L's are indistinguishable, is ______.

Keep practising

Topics in Discrete Mathematics

All CS topics ›