If all birds can fly and all eagles are birds, then all eagles can fly. This is an example of which type of reasoning?
Answer: B
This follows a logical structure (syllogism) from general premise to specific conclusion, which is deductive reasoning.
Q.9Medium
Which option follows the logical pattern? 2-4-6, 3-6-9, 4-8-12, 5-?-?
Answer: A
Pattern: Each set is n, 2n, 3n. For 5, it should be 5, 10, 15
Q.10Medium
If APPLE is coded as 1-16-16-12-5, how is ORANGE coded?
Answer: A
Each letter is coded by its position in the alphabet. O=15, R=18, A=1, N=14, G=7, E=5
Q.11Medium
Find the odd one out: 121, 144, 169, 196, 220
Answer: D
121(11²), 144(12²), 169(13²), 196(14²) are perfect squares. 220 is not a perfect square.
Q.12Medium
Which word is most similar in meaning to 'Ephemeral'?
Answer: B
Ephemeral means short-lived or temporary. Transient has the same meaning. Other options mean lasting or permanent.
Q.13Medium
Choose the word that is opposite in meaning to 'Verbose':
Answer: C
Verbose means using many words. Laconic means brief or using few words - the opposite meaning.
Q.14Medium
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.'
Answer: B
The passage explains that climate change affects different regions differently - some get more rain (floods) while others get less (droughts).
Q.15Medium
Identify the error: 'Each of the students are required to submit their projects by Friday.'
Answer: A
'Each' is singular, so it should be 'is' not 'are'. Correct sentence: 'Each of the students is required to submit their project by Friday.'
Q.16Medium
Which of the following is NOT a programming paradigm?
Answer: C
Linear Programming is an optimization technique, not a programming paradigm. The others are paradigms used in software development.
Q.17Medium
Which data structure is best for implementing a queue?
Answer: B
Linked List is ideal for queue implementation as it provides O(1) insertion and deletion at both ends.
Q.18Medium
Which of the following sorting algorithms is most efficient for nearly sorted data?
Answer: C
Insertion Sort has O(n) time complexity for nearly sorted data, making it the most efficient choice.
Q.19Medium
What will be printed?
String s1 = new String('Amazon');
String s2 = new String('Amazon');
System.out.println(s1 == s2);
Answer: B
== compares memory references. Both s1 and s2 are different objects, so it prints false. Use .equals() for value comparison.
Q.20Medium
What is the primary purpose of a hash function?
Answer: B
A hash function takes input data and produces a fixed-size output (hash value), useful for hash tables and data indexing.