Functions Previous Year Questions (PYQs) for CMI M.Sc. and Ph.D. Computer Science: 4+ Solved Questions with Step-by-Step Solutions

    Solve 4+ Functions previous year questions for CMI M.Sc. and Ph.D. Computer Science with answers and detailed solutions. Free sample questions below.

    Functions: Solved Questions with Step-by-Step Explanations (4 Problems)

    Question 1 MSQ

    Let and be two finite sets. Which of the following statements regarding functions from is/are true?

    1. A.

      The number of one-to-one functions is .

    2. B.

      There are as many one-to-one functions as onto functions.

    3. C.

      The number of onto functions is strictly less than the number of one-to-one functions.

    4. D.

      The number of one-to-one functions is 24.

    Question 2 MSQ

    Let be a natural number, let , and let . Let be the set of functions from to and be the set of bijective functions from to . Then

    1. A.

      The number of functions in equals .

    2. B.

      The number of functions in equals .

    3. C.

      The number of functions in equals .

    4. D.

      The number of functions in equals .

    Question 3 MSQ

    Let and . The number of surjective functions from to equals

    1. A.

    2. B.

    3. C.

    4. D.

    Question 4 MSQ

    Let , , be finite sets. Which of the following statement(s) is/are true?

    1. A.

      Let , be functions such that the composite function is onto. Then both , have to be onto.

    2. B.

      Assume the number of elements of , denoted as , is strictly less than and also assume that . There exists a one-one function and a which is not one-one such that is one-one.

    3. C.

      Let be the identity function on , i.e. for all . Let be a function. Then there exists a function such that exists.

    4. D.

      Denote by the identity function on , for all . Then there exists such that if and only if is onto.

    More previous year questions (pyqs) in this unit

    chapter
    Functions Previous Year Questions (PYQs) for CMI M.Sc. and Ph.D. Computer Science: 4+ Solved Questions with Step-by-Step Solutions

    Solve 4+ Functions previous year questions for CMI M.Sc. and Ph.D. Computer Science with answers and detailed solutions. Free sample questions below.

    A question from this chapter

    Question 1

    Let and be two finite sets. Which of the following statements regarding functions from is/are true?

    Question 2

    Let be a natural number, let , and let . Let be the set of functions from to and be the set of bijective functions from to . Then

    Question 3

    Let and . The number of surjective functions from to equals

    Question 4

    Let , , be finite sets. Which of the following statement(s) is/are true?

    Free preview ends here

    Login to view the complete previous-year questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.