All Exams Test series for 1 year @ ₹349 only
Question

Seven people enter a lift. The lift stops only at three floors (which are unspecified). At each of the three floors, no one enters the lift, but at least one person leaves the lift. After the three floor stops, the lift is empty. In how many ways this can happen?

This question was previously asked in
UGC NET 2022 Computer Science and Applications Question Paper (15-Mar-2023) (Shift 1)
The correct answer is

1806

Each person chooses the stop at which he or she leaves, and every one of the three stops must receive at least one person. The count is therefore the number of onto (surjective) functions from a 7-element set of people to a 3-element set of stops, obtained by inclusion-exclusion.

Step 1 — Without restriction every person has 3 choices: \(3^{7} = 2187\).

Step 2 — Remove assignments in which some stop gets nobody: \(\binom{3}{1}2^{7} = 384\).

Step 3 — Add back assignments in which two stops get nobody (subtracted twice): \(\binom{3}{2}1^{7} = 3\).

Step 4 — Onto functions: \(2187 - 384 + 3 = 1806\), which also equals \(3!\,S(7,3) = 6 \times 301\).

2187 counts assignments where a stop may be empty, 343 = 73 reverses the roles of people and stops, and 1844 does not arise from any correct inclusion-exclusion count.

1806 option is correct.

Was this answer helpful?

Important Questions from Permutation and Combination

  1. The following figure is made with nine squares of length 1 cm each.
                                                                                                             

    A student is standing at point P. The total number of shortest paths to reach point Q from point P, if the student walks along the boundaries of the squares only, is:

  2. Consider the following statements (all the angles are measured in degrees) :
    1. If two supplementary angles are $4x + 40$ and $10x$, then $x$ is;
    2. The complementary angle of $\frac{4}{5} \times 45$ is :
    3. If two complementary angles are in the ratio of $4 : 5$, then the smallest angle is :
    Which of the following is correct?
    Codes:
    1   2   3

  3. There are 40 persons in a palace. If every person shakes hands with every other person, what will be the total number of handshakes?
  4. How many words can be formed with or without meaning by using all letters of the word DELHI?
  5. A rectangular wall is divided into four squares of equal size where there are two rows each having two squares. The top left square is coloured with green. If, including green, there are three colours available and each square is coloured using any one of these three colours such that no two adjacent squares get painted with the same colour; then how many colour combinations are possible ?

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
300 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App