If all roses are flowers and some flowers are red, which conclusion is definitely true?
Answer: B
From 'all roses are flowers' and 'some flowers are red', we can conclude that some roses might be red, but we cannot definitively say all roses are red. The safest conclusion from the logical overlap is that some roses could be red.
Q.2Medium
In a sequence 2, 5, 10, 17, 26, ..., what is the next number?
Answer: B
Differences: 5-2=3, 10-5=5, 17-10=7, 26-17=9. Next difference = 11. So 26+11 = 37. Pattern: n^2 + 1 for n=1,2,3,4,5: 2,5,10,17,26,37.
Q.3Medium
If a:b = 2:3 and b:c = 4:5, what is a:b:c?
Answer: B
a:b = 2:3 means a/b = 32. b:c = 4:5 means b/c = 54. To find a:b:c, make b equal: a:b = 8:12 and b:c = 12:15. So a:b:c = 8:12:15.
Q.4Medium
Statement: Some programmers are graduates. All graduates are educated. Conclusion: Some programmers are educated.
Answer: A
If some programmers are graduates, and all graduates are educated, then by logical deduction, some programmers must be educated.
Q.5Medium
Identify the error in the sentence: 'The team are playing well and has won three matches.'
Answer: B
When 'team' is used with 'are', it should be followed by 'have' not 'has'. 'The team are playing well and have won three matches.'
Advertisement
Q.6Medium
Select the most appropriate word: The _____ decision was welcomed by all.
Answer: B
If a decision is welcomed by all, it means everyone agrees. Unanimous means complete agreement.
Q.7Medium
In what order should these sentences be arranged? A) He decided to take a different route. B) The road was blocked. C) John was driving to work. D) He reached office on time.
Answer: A
The logical order is: C (John driving), B (road blocked), A (takes different route), D (reaches on time).
Q.8Medium
What is the time complexity of binary search?
Answer: C
Binary search has a time complexity of O(log n) because it divides the search space in half with each iteration.
Q.9Medium
Which sorting algorithm has the worst-case time complexity of O(n^2)?
Answer: C
Bubble sort has a worst-case time complexity of O(n^2) when the array is in reverse order.
Q.10Medium
What is the difference between Stack and Queue?
Answer: B
Stack (Last In First Out) removes the most recently added element. Queue (First In First Out) removes elements in the order they were added.
Q.11Medium
What is the main principle of OOP (Object-Oriented Programming)?
Answer: B
OOP is based on organizing code into objects that contain both data (properties) and functions (methods).
Q.12Medium
What is a 'Constructor' in programming?
Answer: B
A constructor is a special method called when an object is created to initialize its properties.
Q.13Medium
What is the difference between '==' and '===' in JavaScript?
Answer: B
'==' is loose equality (compares value only), while '===' is strict equality (compares both value and type).
Q.14Medium
What is an 'Interface' in OOP?
Answer: B
An interface is an abstract type that defines a set of methods that implementing classes must provide.
Q.15Medium
What is Machine Learning?
Answer: B
Machine Learning is a subset of AI that enables systems to learn from data and improve performance without explicit programming.
Q.16Medium
What is the purpose of Unit Testing?
Answer: B
Unit testing involves testing individual units or components of code in isolation to ensure they work correctly.