CAT 2024 Slot 1 QA Question 12Multiple Choice (+3 / −1)AlgebraModerate Difficulty

Consider two sets A={2,3,5,7,11,13}A = \{2, 3, 5, 7, 11, 13\} and B={1,8,27}B = \{1, 8, 27\}. Let ff be a function from AA to BB such that for every element bb in BB , there is at least one element aa in AA such that f(a)=bf(a) = b. Then, the total number of such functions ff is

Official past question from CAT 2024 Slot 1 QA.·100% Free · No Sign-Up Needed·Try it below, then review the complete derivation and option traps.

Target Solving Time2.0 – 2.5 Mins
Attempt PriorityRound 1 / 2 (Direct Solve)
Negative Penalty−1 Mark on Wrong MCQ
Core SkillFunctions
Interactive Solving StationExam ID: cat-2024-s1-qa-12
Daily Free Practice: 5 of 5 free questions left today
CAT 2024 Slot 1QAAlgebra • FunctionsModerate
Consider two sets A={2,3,5,7,11,13}A = \{2, 3, 5, 7, 11, 13\} and B={1,8,27}B = \{1, 8, 27\}. Let ff be a function from AA to BB such that for every element bb in BB , there is at least one element aa in AA such that f(a)=bf(a) = b. Then, the total number of such functions ff is

Step-by-Step Derivation & Option Traps

Verified Convenor Key
Correct Answer
B) 540
📌 Core Concept
The problem requires counting the number of onto (surjective) functions from set AA to set BB. The formula for the number of onto functions from a set with mm elements to a set with nn elements is given by the inclusion-exclusion principle:
∑k=0n(−1)k(nk)(n−k)m\sum_{k=0}^{n} (-1)^k \binom{n}{k} (n - k)^m
🔢 Step-by-Step Solution
1
Identify the sizes of sets: ∣A∣=6|A| = 6 and ∣B∣=3|B| = 3.
2
Apply the inclusion-exclusion formula:
For k=0k = 0: (−1)0(30)(3−0)6=1×1×729=729(-1)^0 \binom{3}{0} (3 - 0)^6 = 1 \times 1 \times 729 = 729
For k=1k = 1: (−1)1(31)(3−1)6=−1×3×64=−192(-1)^1 \binom{3}{1} (3 - 1)^6 = -1 \times 3 \times 64 = -192
For k=2k = 2: (−1)2(32)(3−2)6=1×3×1=3(-1)^2 \binom{3}{2} (3 - 2)^6 = 1 \times 3 \times 1 = 3
For k=3k = 3: (−1)3(33)(3−3)6=−1×1×0=0(-1)^3 \binom{3}{3} (3 - 3)^6 = -1 \times 1 \times 0 = 0
3
Sum the results: 729−192+3+0=540729 - 192 + 3 + 0 = 540.
⚡ 30-Second Shortcut
Alternatively, using Stirling numbers of the second kind S(6,3)=90S(6, 3) = 90, the number of onto functions is 3!×90=6×90=5403! \times 90 = 6 \times 90 = 540.
🎯 Final Answer
Correct Answer: Option B
CAT Convenor Mindset: In QA, verify constraints and boundary values before calculating to save time on TITA inputs.

CAT 2024 Slot 1 QA Exam Benchmarks

Convenor IIMIIM Calcutta
Session TimingSlot 1 IST
Marking Scheme+3 / −1 Mark
99th Percentile81 Net Marks
Full Section Practice

Attempt all questions from CAT 2024 Slot 1 QA Questions & Answer Key

Test yourself under real 40-minute timed conditions in the 1:1 TCS iON simulator. 100% Free.

Start Free Test

Frequently Asked Questions · CAT 2024 Slot 1 QA Question 12

Q1.What is the correct answer for: "Consider two sets A = \ 2, 3, 5, 7, 11, 13\ and B = \ 1, 8, 27\ . Let f be a…"?

The correct answer for this CAT 2024 Slot 1 QA question is B) 540. Complete derivation: Core Concept The problem requires counting the number of onto (surjective) functions from set \( A \) to set \( B \). The formula for the number of onto functions from a set with \( m \) elements to a set with \( n \) elements is given by the…

Q2.Which exam slot and section did this Algebra question appear in?

This question officially appeared in CAT 2024 Slot 1 (QA Section), convened by IIM Calcutta.

Q3.What is the marking scheme and recommended solving time for this question?

Under official CAT rules, this MCQ carries +3 marks for a correct response and −1 mark penalty for an incorrect choice. The target solving speed is 2.0 to 2.5 minutes.

Q4.Can I attempt the full CAT 2024 Slot 1 paper online for free?

Yes. All 66 questions from CAT 2024 Slot 1 are available for 100% free online practice in ThinkCAT's timed TCS iON exam simulator with zero mandatory sign-up.

More CAT Practice Questions