Home Subjects Placement Papers

Placement Papers

TCS, Infosys, Wipro, Cognizant actual papers

312 Q 10 Topics Take Test
Advertisement
Difficulty: All Easy Medium Hard 81–90 of 312
Topics in Placement Papers
Q.81 Medium IBM Questions IBM
A train travels from City A to City B at 60 km/h and returns at 40 km/h. If the total journey time is 10 hours, what is the distance between the two cities?
A 240 km
B 300 km
C 360 km
D 420 km
Correct Answer:  A. 240 km
EXPLANATION

Let distance = d. Time = Distance/Speed. Going: d/60, Returning: d/40. Total: d/60 + d/40 = 10. Taking LCM: (2d + 3d)/120 = 10, so 5d/120 = 10, therefore d = 240 km.

Take Test
Q.82 Medium Capgemini Questions Capgemini
What is the time complexity of binary search algorithm?
A O(n)
B O(n²)
C O(log n)
D O(1)
Correct Answer:  C. O(log n)
EXPLANATION

Binary search has a time complexity of O(log n) because it divides the search space by half in each iteration. This works only on sorted arrays.

Take Test
Q.83 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.84 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.85 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.86 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
Q.87 Medium IBM Questions IBM
What is normalization in database design?
A Converting data to uppercase
B Reducing data redundancy and improving data integrity
C Making all tables have the same structure
D Splitting one database into multiple databases
Correct Answer:  B. Reducing data redundancy and improving data integrity
EXPLANATION

Normalization is the process of organizing data to reduce redundancy and dependency, improving database integrity

Take Test
Q.88 Medium IBM Questions IBM
What is the primary difference between ArrayList and LinkedList in Java?
A ArrayList is faster for random access; LinkedList is faster for insertion/deletion
B LinkedList is faster for random access; ArrayList is faster for insertion/deletion
C They have identical performance
D ArrayList can only store integers
Correct Answer:  A. ArrayList is faster for random access; LinkedList is faster for insertion/deletion
EXPLANATION

ArrayList uses arrays (O(1) random access) while LinkedList uses nodes (O(n) random access but O(1) insertion/deletion at ends)

Take Test
Q.89 Medium IBM Questions IBM
Which of the following is NOT a characteristic of Cloud Computing?
A On-demand self-service
B Broad network access
C Physical hardware always on-premises
D Rapid elasticity
Correct Answer:  C. Physical hardware always on-premises
EXPLANATION

Cloud computing is characterized by remote resources, not physical hardware on-premises. All others are cloud characteristics

Take Test
Q.90 Medium IBM Questions IBM
What is polymorphism in OOP?
A Using multiple classes in one program
B The ability of objects to take multiple forms
C Creating multiple instances of the same class
D Inheriting from multiple parent classes
Correct Answer:  B. The ability of objects to take multiple forms
EXPLANATION

Polymorphism allows objects to take multiple forms - same method name can behave differently in different contexts (method overriding, overloading)

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