Showing 41–50 of 55 questions
What is the missing number in this sequence: 5, 10, 20, 40, ?
Explanation:
Each number is multiplied by 2. 5×2=10, 10×2=20, 20×2=40, 40×2=80
In a sequence, each number is the sum of the previous two numbers. If the first two numbers are 1 and 1, what is the 7th number?
Explanation:
Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13. The 7th number is 13.
A vendor purchases apples at Rs. 50 per dozen and sells at Rs. 5 per apple. What is the profit percentage?
Explanation:
Cost per apple = 50/12 = Rs. 4.17. Selling price = Rs. 5. Profit = 5-4.17 = 0.83. Profit% = (0.83/4.17)×100 ≈ 20%.
Which of the following is the odd one out based on the pattern?
5, 10, 20, 40, 80, 160, 320, ?
Explanation:
Each number is multiplied by 2. The sequence is 5×2^n. The next number should be 320×2 = 640. This is a geometric progression with ratio 2.
In a coding system, CAT = 3, DOG = 4, ELEPHANT = 8. What would SNAKE equal?
Explanation:
The code represents the number of letters in the word. SNAKE has 5 letters, so SNAKE = 5.
Select the word that best completes the analogy: Teacher is to Student as Doctor is to ___
A
Patient
B
Medicine
C
Hospital
D
Nurse
Correct Answer:
A. Patient
Explanation:
A teacher instructs a student, similarly a doctor treats a patient. The relationship is one of professional service provider to recipient.
Choose the option with the correct spelling:
A
Occassion
B
Occation
C
Occasion
D
Ocasion
Correct Answer:
C. Occasion
Explanation:
The correct spelling is 'Occasion' with double 'c' and double 's'. This is a common spelling error in English.
In SQL, which keyword is used to remove duplicate rows from query results?
A
UNIQUE
B
DISTINCT
C
REMOVE
D
DELETE
Correct Answer:
B. DISTINCT
Explanation:
The DISTINCT keyword in SQL removes duplicate rows from the result set. Example: SELECT DISTINCT column FROM table;
What is the time complexity of binary search algorithm?
A
O(n)
B
O(n²)
C
O(log n)
D
O(1)
Correct Answer:
C. O(log n)
Explanation:
Binary search has a time complexity of O(log n) because it divides the search space by half in each iteration. This works only on sorted arrays.
A train travels from City A to City B at 60 km/h and returns from B to A at 40 km/h. If the total journey time is 10 hours, what is the distance between City A and City B?
A
240 km
B
300 km
C
280 km
D
320 km
Correct Answer:
A. 240 km
Explanation:
Let distance = d km. Time A to B = d/60 hours, Time B to A = d/40 hours. Total time: d/60 + d/40 = 10. LCM(60,40)=120, so (2d + 3d)/120 = 10, giving 5d/120 = 10, thus d = 240 km.