If all roses are flowers and some flowers are red, then which statement is true?
Answer: D
Roses are a subset of flowers, but we don't know which flowers are red. Some red flowers might not be roses.
Q.9Medium
If ROSE is coded as 4567, then PETAL is coded as?
Answer: B
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
Q.10Medium
Select the word that is most similar in meaning to 'Benign':
Answer: B
Benign means harmless, kind, or gentle. Friendly is the closest synonym
Q.11Medium
Antonym of 'Verbose' is:
Answer: C
Verbose means using more words than necessary. Concise is its opposite—using few words
Q.12Medium
Which sorting algorithm has the best average case time complexity?
Answer: B
Quick Sort has O(n log n) average case complexity, which is optimal among comparison-based sorts
Q.13Medium
What is the output of: System.out.println(310) in Java?
Answer: B
Both operands are integers, so integer division is performed: 310 = 3 (truncated)
Q.14Medium
What is the main purpose of normalization in databases?
Answer: B
Database normalization organizes data to minimize redundancy and improve data integrity
Q.15Medium
Which of the following is a characteristic of Microservices architecture?
Answer: B
Microservices architecture emphasizes small, independent services that communicate through APIs
Q.16Medium
If a number is multiplied by 0.5 and then by 4, what percentage of the original number is the result?
Answer: C
Let original = x. After operations: x × 0.5 × 4 = 2x = 200% of x
Q.17Medium
In a class, the ratio of boys to girls is 3:2. If there are 45 students in total, how many girls are there?
Answer: B
Boys:Girls = 3:2, total parts = 5. Girls = (52) × 45 = 18
Q.18Medium
What is the difference between var, let, and const in JavaScript?
Answer: B
var has function scope, let/const have block scope. const prevents reassignment but let allows it
Q.19Medium
If a car travels at 60 km/h for 2 hours and 40 km/h for 3 hours, what is the average speed?
Answer: A
Total distance = 60×2 + 40×3 = 120 + 120 = 240 km. Total time = 2 + 3 = 5 hours. Average = 5240 = 48 km/h
Q.20Medium
A train travels from City A to City B at 60 km/h. On the return journey, it travels at 40 km/h. If the total time taken for both journeys is 10 hours, what is the distance between the two cities?
Answer: A
Let distance = d. Time = Distance/Speed. d/60 + d/40 = 10. LCM(60,40) = 120. (2d + 3d)/120 = 10. 5d = 1200. d = 240 km.