Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Pigeon Hole Principle - Computer Science Engineering (CSE) MCQ

Test: Pigeon Hole Principle - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: Pigeon Hole Principle

Test: Pigeon Hole Principle for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: Pigeon Hole Principle questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Pigeon Hole Principle MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Pigeon Hole Principle below.
Solutions of Test: Pigeon Hole Principle questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: Pigeon Hole Principle solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Pigeon Hole Principle | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Pigeon Hole Principle - Question 1

In a course, a professor gives five grades {A, B, C, D, F}. What is the minimum number of students required so that four of them are guaranteed to get the same grade?

Detailed Solution for Test: Pigeon Hole Principle - Question 1

Concept:
The pigeonhole principle states that if items are put into containers, then at least one container must contain more than one item.

Pigeonhole Principle:
If n pigeonholes are occupied by n+1 or more pigeons, then at least one pigeonhole is occupied by greater than one pigeon. Generalized pigeonhole principle is: - If n pigeonholes are occupied by kn+1 or more pigeons, where k is a positive integer, then at least one pigeonhole is occupied by k+1 or more pigeons.
The given data,
A professor gives five grades {A, B, C, D, F} n = 5
Get the same grade k+1 =4
k = 3
The minimum number of students = ?
The minimum number of students = Kn+1
The minimum number of students = 3 x 5+1
The minimum number of students = 16
Hence the correct answer is 16.

Test: Pigeon Hole Principle - Question 2

In a course, a professor given five grades {A, B, C, D, F}. What is the minimum number of students required so that four of them are guaranteed to get the same grade?

Detailed Solution for Test: Pigeon Hole Principle - Question 2
  • Suppose we have fixed that 4 students got the same grade which is A then for B there are two options whether professor will give to someone or not similarly for C there are two options whether professor will give C to someone or not.
  • One grade is fixed for 4 students hence for remaining we have two option whether to include or not.
  • Minimum number of students so that four of them are guaranteed to get the same grade = 2 × 2 × 2 × 2 = 16, option 3 is the correct answer.
1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Pigeon Hole Principle - Question 3

Consider a group of 73 persons. Then which of the following is necessarily true?

Detailed Solution for Test: Pigeon Hole Principle - Question 3

73/12 ≈ 6.08 [6.08] = 7

Test: Pigeon Hole Principle - Question 4

A drawer contains 12 red and 12 blue socks, all unmatched. A person takes socks out at random in the dark. How many socks must he take out to be sure that he has at least two blue socks?

Detailed Solution for Test: Pigeon Hole Principle - Question 4

Given 12 red and 12 blue socks so, in order to take out at least 2 blue socks, first we need to take out 12 shocks (which might end up red in worst case) and then take out 2 socks (which would be definitely blue). Thus we need to take out total 14 socks.

Test: Pigeon Hole Principle - Question 5

In a group of 267 people how many friends are there who have an identical number of friends in that group?

Detailed Solution for Test: Pigeon Hole Principle - Question 5

Suppose each of the 267 members of the group has at least 1 friend. In this case, each of the 267 members of the group will have 1 to 267-1=266 friends. Now, consider the numbers from 1 to n-1 as holes and the n members as pigeons. Since there is n-1 holes and n pigeons there must exist a hole which must contain more than one pigeon. That means there must exist a number from 1 to n-1 which would contain more than 1 member. So, in a group of n members there must exist at least two persons having equal number of friends. A similar case occurs when there exist a person having no friends.

Test: Pigeon Hole Principle - Question 6

How many numbers must be selected from the set {1, 2, 3, 4} to guarantee that at least one pair of these numbers add up to 7?

Detailed Solution for Test: Pigeon Hole Principle - Question 6

With 2 elements pairs which give sum as 7 = {(1,6), (2,5), (3,4), (4,3)}. So choosing 1 element from each group = 4 elements (in worst case 4 elements will be either {1,2,3,4} or {6,5,4,3}). Now using pigeonhole principle = we need to choose 1 more element so that sum will definitely be 7. So Number of elements must be 4 + 1 = 5.

Test: Pigeon Hole Principle - Question 7

In how many ways can 8 different dolls be packed in 5 identical gift boxes such that no box is empty if any of the boxes hold all of the toys?

Detailed Solution for Test: Pigeon Hole Principle - Question 7

Dolls are different but the boxes are identical. If none of the boxes is to remain empty, then we can pack the dolls in one of the following ways:
Case i. 2, 2, 2, 1, 1
Case ii. 3, 3, 1, 1
Case i: Number of ways of achieving the first option 2, 2, 2, 1, 1. Two dolls out of the 8 can be selected in 8C2 ways, another 2 out of the remaining 6 can be selected in 6C2 ways, another 2 out of the remaining 4 can be selected in 4C2 ways and the last two dolls can be selected in 1C1 ways each. However, as the boxes are identical, the two different ways of selecting which box holds the first two dolls and which one holds the second set of two dolls will look the same. Hence, we need to divide the result by 2. Therefore, total number of ways of achieving the 2, 2, 2, 1, 1 is = (8C2 * 6C2 * 4C2 * 1C1 * 1C1) / 2 = 1260.

Test: Pigeon Hole Principle - Question 8

In a get-together party, every person present shakes the hand of every other person. If there were 90 handshakes in all, how many persons were present at the party?

Detailed Solution for Test: Pigeon Hole Principle - Question 8

Let the total number of persons present at the party be m, Then, [{x *(x−1)}/2] = 90.
x = 14.

Test: Pigeon Hole Principle - Question 9

When four coins are tossed simultaneously, in _______ number of the outcomes at most two of the coins will turn up as heads.

Detailed Solution for Test: Pigeon Hole Principle - Question 9

The question requires you to find number of the outcomes in which at most 2 coins turn up as heads i.e., 0 coins turn heads or 1 coin turns head or 2 coins turn heads. The number of outcomes in which 0 coins turn heads is 4C0 = 1 outcome. The number of outcomes in which 1 coin turns head is 4C1 = 6 outcomes. The number of outcomes in which 2 coins turn heads is,
4C2 = 15 outcomes. Therefore, total number of outcomes = 1 + 4 + 6 = 11 outcomes.

Test: Pigeon Hole Principle - Question 10

A group of 20 girls plucked a total of 200 oranges. How many oranges can be plucked one of them?

Detailed Solution for Test: Pigeon Hole Principle - Question 10

Suppose all of them plucked the different number of oranges. A girl can pluck at least 0 oranges and the number of oranges plucks by each student is distinct. So, total number of plucked oranges should be less than 100. But 0+1+2…..+19+20 = 210>200 a contradiction.
Thus there exist two girls who plucked the same number of oranges. If thus there exist two girls who plucked the same number of oranges. It means each girl of remaining 18 students plucked different number of oranges. Number of oranges Plucked by 18 students = 0+1+2+3…+17 = 153 oranges. Number of oranges plucked by remaining 2 student = 200 – 153 = 47. Both students plucked same number of oranges. So, Number of oranges plucked by one of them = 47/2=24.

Information about Test: Pigeon Hole Principle Page
In this test you can find the Exam questions for Test: Pigeon Hole Principle solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Pigeon Hole Principle, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)