Home Subjects Placement Papers

Placement Papers

TCS, Infosys, Wipro, Cognizant actual papers

312 Q 10 Topics Take Test
Advertisement
Difficulty: All Easy Medium Hard 41–50 of 312
Topics in Placement Papers
Q.41 Medium Amazon Questions Amazon
What will be printed?

String s1 = new String('Amazon');
String s2 = new String('Amazon');
System.out.println(s1 == s2);
A true
B false
C null
D Error
Correct Answer:  B. false
EXPLANATION

== compares memory references. Both s1 and s2 are different objects, so it prints false. Use .equals() for value comparison.

Take Test
Q.42 Medium Amazon Questions Amazon
Which of the following sorting algorithms is most efficient for nearly sorted data?
A Bubble Sort
B Quick Sort
C Insertion Sort
D Merge Sort
Correct Answer:  C. Insertion Sort
EXPLANATION

Insertion Sort has O(n) time complexity for nearly sorted data, making it the most efficient choice.

Take Test
Q.43 Medium Amazon Questions Amazon
Which data structure is best for implementing a queue?
A Stack
B Linked List
C Array (static)
D Hash Table
Correct Answer:  B. Linked List
EXPLANATION

Linked List is ideal for queue implementation as it provides O(1) insertion and deletion at both ends.

Take Test
Q.44 Medium Amazon Questions Amazon
Which of the following is NOT a programming paradigm?
A Object-Oriented Programming
B Functional Programming
C Linear Programming
D Procedural Programming
Correct Answer:  C. Linear Programming
EXPLANATION

Linear Programming is an optimization technique, not a programming paradigm. The others are paradigms used in software development.

Take Test
Q.45 Medium Amazon Questions Amazon
Identify the error: 'Each of the students are required to submit their projects by Friday.'
A are should be is
B their should be his/her
C projects should be project
D No error
Correct Answer:  A. are should be is
EXPLANATION

'Each' is singular, so it should be 'is' not 'are'. Correct sentence: 'Each of the students is required to submit their project by Friday.'

Take Test
Q.46 Medium Amazon Questions Amazon
What is the main idea of the passage? 'Climate change is altering precipitation patterns worldwide. Regions experiencing increased rainfall face flooding, while others endure severe droughts.'
A Global warming causes only droughts
B Climate change affects water availability differently across regions
C Flooding is the primary effect of climate change
D Droughts are more dangerous than floods
Correct Answer:  B. Climate change affects water availability differently across regions
EXPLANATION

The passage explains that climate change affects different regions differently - some get more rain (floods) while others get less (droughts).

Take Test
Q.47 Medium Amazon Questions Amazon
Choose the word that is opposite in meaning to 'Verbose':
A Eloquent
B Talkative
C Laconic
D Articulate
Correct Answer:  C. Laconic
EXPLANATION

Verbose means using many words. Laconic means brief or using few words - the opposite meaning.

Take Test
Q.48 Medium Amazon Questions Amazon
Which word is most similar in meaning to 'Ephemeral'?
A Permanent
B Transient
C Stable
D Enduring
Correct Answer:  B. Transient
EXPLANATION

Ephemeral means short-lived or temporary. Transient has the same meaning. Other options mean lasting or permanent.

Take Test
Q.49 Medium Amazon Questions Amazon
Find the odd one out: 121, 144, 169, 196, 220
A 121
B 144
C 169
D 220
Correct Answer:  D. 220
EXPLANATION

121(11²), 144(12²), 169(13²), 196(14²) are perfect squares. 220 is not a perfect square.

Take Test
Q.50 Medium Amazon Questions Amazon
If APPLE is coded as 1-16-16-12-5, how is ORANGE coded?
A 15-18-1-14-7-5
B 15-18-1-13-7-5
C 15-17-2-14-7-5
D 14-18-1-14-7-5
Correct Answer:  A. 15-18-1-14-7-5
EXPLANATION

Each letter is coded by its position in the alphabet. O=15, R=18, A=1, N=14, G=7, E=5

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