Home Subjects Placement Papers

Placement Papers

TCS, Infosys, Wipro, Cognizant actual papers

654 Q 10 Topics Take Test
Advertisement
Difficulty: All Easy Medium Hard 161–170 of 654
Topics in Placement Papers
Q.161 Easy Capgemini Questions Capgemini
Which of the following is the odd one out based on the pattern?
5, 10, 20, 40, 80, 160, 320, ?
A 480
B 560
C 640
D 720
Correct Answer:  C. 640
EXPLANATION

Each number is multiplied by 2. The sequence is 5×2^n. The next number should be 320×2 = 640. This is a geometric progression with ratio 2.

Take Test
Q.162 Medium Capgemini Questions Capgemini
A vendor purchases apples at Rs. 50 per dozen and sells at Rs. 5 per apple. What is the profit percentage?
A 15%
B 18%
C 20%
D 25%
Correct Answer:  C. 20%
EXPLANATION

Cost per apple = 50/12 = Rs. 4.17. Selling price = Rs. 5. Profit = 5-4.17 = 0.83. Profit% = (0.83/4.17)×100 ≈ 20%.

Take Test
Q.163 Easy Capgemini Questions Capgemini
In a sequence, each number is the sum of the previous two numbers. If the first two numbers are 1 and 1, what is the 7th number?
A 11
B 13
C 15
D 17
Correct Answer:  B. 13
EXPLANATION

Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13. The 7th number is 13.

Take Test
Q.164 Medium IBM Questions IBM
If the probability of an event A is 0.4 and event B is 0.3, what is the probability of both A and B occurring (assuming independence)?
A 0.7
B 0.12
C 0.1
D 0.35
Correct Answer:  B. 0.12
EXPLANATION

For independent events: P(A and B) = P(A) × P(B) = 0.4 × 0.3 = 0.12

Take Test
Q.165 Easy IBM Questions IBM
What is the value of log₂(8)?
A 2
B 3
C 4
D 8
Correct Answer:  B. 3
EXPLANATION

log₂(8) means 2^? = 8. Since 2³ = 8, the answer is 3

Take Test
Q.166 Medium IBM Questions IBM
In the context of cybersecurity, what is a firewall?
A Software that deletes viruses
B A security system that monitors and controls incoming and outgoing network traffic
C A type of encryption algorithm
D A backup system for data
Correct Answer:  B. A security system that monitors and controls incoming and outgoing network traffic
EXPLANATION

A firewall is a security barrier that filters network traffic based on predetermined rules to protect systems from unauthorized access

Take Test
Q.167 Hard IBM Questions IBM
What is the primary advantage of using NoSQL databases over relational databases?
A They always provide better performance
B They can handle unstructured data and scale horizontally more easily
C They don't require any data validation
D They are cheaper to maintain
Correct Answer:  B. They can handle unstructured data and scale horizontally more easily
EXPLANATION

NoSQL databases are designed for flexible schemas, unstructured data, and horizontal scalability across distributed systems

Take Test
Q.168 Easy IBM Questions IBM
If a string in Python is assigned as s = 'hello', what is the output of s[1:4]?
A 'ell'
B 'llo'
C 'hell'
D 'ello'
Correct Answer:  A. 'ell'
EXPLANATION

String slicing s[1:4] returns characters from index 1 to 3 (4 is exclusive): 'e', 'l', 'l' = 'ell'

Take Test
Q.169 Easy IBM Questions IBM
What is an exception in programming?
A A feature that all programs must have
B An error that occurs during program execution that disrupts normal flow
C A special type of variable
D A comment in the code
Correct Answer:  B. An error that occurs during program execution that disrupts normal flow
EXPLANATION

An exception is an event that occurs during program execution that disrupts the normal flow, requiring special handling

Take Test
Q.170 Medium IBM Questions IBM
What is the main purpose of agile methodology in software development?
A To eliminate all bugs before release
B To deliver software incrementally with continuous feedback and adaptation
C To reduce the number of developers needed
D To eliminate the need for testing
Correct Answer:  B. To deliver software incrementally with continuous feedback and adaptation
EXPLANATION

Agile methodology emphasizes iterative development, continuous feedback, and adaptability rather than fixed lengthy development cycles

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