Question
Some flowers may not be sticks. All marbles may
be baskets. Some sticks may not be marbles. In the given question, a set of conclusions is given. There are five options comprising of three or more statements. You need to choose the option that contains the set of statements from which the given conclusions logically follow.Solution
Some sticks are baskets (I) + No basket is a flower (E) ⇒Some sticks are not flower (E) ⇒ [Probable conclusion] ⇒ Some flowers may not be sticks Some marbles are sticks (I) + All sticks are baskets (A) ⇒ Some marbles are baskets (I) ⇒ All marbles may be baskets (A). Some marbles are sticks (I) ⇒ Conversion ⇒ Some sticks are marbles (I) ⇒ [Probable conclusion] ⇒ Some sticks may not be marbles Hence, option 1 is correct. By elimination method - By 2, All + No = no possibility case can be drawn between marble and basket. Hence it is eliminated. By 3, some + no = All marble can’t be basket. Hence it is eliminated. By 4, No marble is stick. So possibility case can’t be drawn between them. Hence it is eliminated. Hence answer is option 1.
Consider the following Python-like pseudo-code for a modified Merge Sort algorithm that sorts an array `arr` and also counts the number of "reverse pair...
Given the following Python-like code snippet:
```python
class Counter:
def __init__(self):
...
Which SQL constraint ensures that a column cannot have NULL values?
Given a binary tree, a "zigzag" level order traversal prints the nodes level by level, but alternating the order of nodes from left-to-right and right-t...
What is a table joined with itself called?
A data warehouse is primarily characterized by which of the following properties?
Which of the following SQL queries would return the total number of employees in each department, but only for departments with more than 10 employees?
A PL/SQL `TRIGGER` is a stored program that automatically executes in response to:
An SQL `VIEW` is a:
Which property of a transaction ensures that either all operations within the transaction are completed successfully, or none of them are?