Govt Exams
Both operands are integers, so integer division is performed: 10 / 3 = 3 (truncated)
Quick Sort has O(n log n) average case complexity, which is optimal among comparison-based sorts
Inheritance allows a class to inherit properties and methods from another class (parent/base class)
Stack follows LIFO principle. Queue follows FIFO. Array and Tree are not strictly LIFO/FIFO structures
Following order of operations: y * 2 = 10 * 2 = 20. Then x + 20 = 5 + 20 = 25. Wait, output is 25, not 30. Let me recalculate: x + y * 2 = 5 + 10*2 = 5 + 20 = 25
Verbose means using more words than necessary. Concise is its opposite—using few words
Benign means harmless, kind, or gentle. Friendly is the closest synonym
R=4, O=5, S=6, E=7. Following alphabet position: P=1(9), E=7(8), T=2(9→2 with shift), A=1, L=4. PETAL = 89214
12, 24, 36, 48 are all multiples of 12. 58 is not a multiple of 12
Roses are a subset of flowers, but we don't know which flowers are red. Some red flowers might not be roses.