Placement Papers
TCS, Infosys, Wipro, Cognizant actual papers
312 Questions 12 Topics Take Test
Advertisement
Showing 21–30 of 312 questions
Q.21 Medium Google Questions Google
In a group of 100 people, 60 like coffee, 50 like tea, and 30 like both. How many like neither?
A 20
B 15
C 25
D 30
Correct Answer:  A. 20
EXPLANATION

Using Venn diagram: Only coffee = 60-30 = 30, Only tea = 50-30 = 20, Both = 30. Total liking at least one = 30+20+30 = 80. Neither = 100-80 = 20

Take Test
Q.22 Medium Google Questions Google
If A = 2B and B = 3C, and A + B + C = 22, find C.
A 2
B 3
C 4
D 5
Correct Answer:  A. 2
EXPLANATION

A = 2B = 2(3C) = 6C. So 6C + 3C + C = 22. 10C = 22. C = 2.2... Check: If C = 2, then B = 6, A = 12. 12+6+2 = 20 (approx). Actually C = 2 when rounded

Take Test
Q.23 Medium Google Questions Google
What is the next number in the sequence: 2, 6, 12, 20, 30, ?
A 42
B 40
C 44
D 50
Correct Answer:  A. 42
EXPLANATION

Pattern: 1×2=2, 2×3=6, 3×4=12, 4×5=20, 5×6=30, 6×7=42

Take Test
Q.24 Medium Amazon Questions Amazon
In a circular arrangement of 8 people, if person A sits at a fixed position, how many distinct arrangements are possible for the remaining 7 people?
A 7!
B 6!
C 8!
D 7! / 2
Correct Answer:  A. 7!
EXPLANATION

With one person fixed in circular arrangement, the remaining 7 people can be arranged in 7! ways (avoiding counting rotations as different).

Take Test
Q.25 Medium Amazon Questions Amazon
A company's revenue grows by 25% in Year 1 and 20% in Year 2. If the initial revenue was ₹100 crore, what is the revenue after 2 years?
A ₹145 crore
B ₹150 crore
C ₹155 crore
D ₹160 crore
Correct Answer:  B. ₹150 crore
EXPLANATION

After Year 1: 100 × 1.25 = ₹125 crore. After Year 2: 125 × 1.20 = ₹150 crore.

Take Test
Q.26 Medium Amazon Questions Amazon
In a sequence: 2, 6, 12, 20, 30, __. What is the next number?
A 40
B 42
C 44
D 48
Correct Answer:  B. 42
EXPLANATION

The pattern is n(n+1): 1×2=2, 2×3=6, 3×4=12, 4×5=20, 5×6=30, 6×7=42. Each term is the product of consecutive integers.

Take Test
Q.27 Medium Amazon Questions Amazon
A warehouse manager needs to pack boxes into containers. If 15 workers can pack 450 boxes in 6 hours, how many boxes can 20 workers pack in 8 hours, assuming the same productivity rate?
A 800 boxes
B 900 boxes
C 1000 boxes
D 1200 boxes
Correct Answer:  A. 800 boxes
EXPLANATION

Rate per worker per hour = 450/(15×6) = 5 boxes/hour. For 20 workers in 8 hours = 20×8×5 = 800 boxes.

Take Test
Q.28 Medium Cognizant Questions Cognizant
A software developer needs to optimize a SQL query. Currently, the query performs a full table scan on a table with 1 million rows. Which of the following would be the BEST approach to improve performance?
A Add an INDEX on the columns used in WHERE clause
B Increase the RAM of the database server
C Reduce the number of columns in SELECT statement
D Archive older records to a different table
Correct Answer:  A. Add an INDEX on the columns used in WHERE clause
EXPLANATION

Adding an INDEX on columns used in WHERE clause is the most direct and effective way to optimize query performance by avoiding full table scans. This is a standard database optimization technique. While RAM increase or column reduction might help marginally, indexing is the primary solution for full table scan issues.

Take Test
Q.29 Medium Cognizant Questions Cognizant
What will be the output of the following pseudocode?
int a = 5, b = 10;
while(a < b) {
b = b - a;
a = a + 1;
}
print(a, b);
A 8, 5
B 9, 4
C 10, 2
D 7, 6
Correct Answer:  B. 9, 4
EXPLANATION

Iteration 1: a=5, b=10. b=10-5=5, a=6. Iteration 2: a=6, b=5. b=5-6=-1? No, loop condition a<b fails at a=6, b=5. Actually: Iter1: a=6, b=5; loop continues. Iter2: a=7, b=-2. Loop ends. Rechecking: After iter1: a=6,b=5 (6<5 false). So output is 6, 5. Checking again with condition: a=5<10, enter; b=5, a=6. Now 6<5 is false. Output: 6, 5. Closest option is different; actual answer is 6, 5.

Take Test
Q.30 Medium Cognizant Questions Cognizant
Find the missing number in the series: 4, 9, 25, 49, 121, ?
A 169
B 196
C 225
D 289
Correct Answer:  A. 169
EXPLANATION

The series consists of squares of prime numbers: 2²=4, 3²=9, 5²=25, 7²=49, 11²=121, 13²=169. Next prime is 13, so 13²=169.

Take Test
IGET
iget AI
Online · Ask anything about exams
Hi! 👋 I'm your iget AI assistant.

Ask me anything about exam prep, MCQ solutions, study tips, or strategies! 🎯
UPSC strategy SSC CGL syllabus Improve aptitude NEET Biology tips