Which of the following is the odd one out based on the pattern?
5, 10, 20, 40, 80, 160, 320, ?
Answer: C
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.
Q.45Easy
In a coding system, CAT = 3, DOG = 4, ELEPHANT = 8. What would SNAKE equal?
Answer: B
The code represents the number of letters in the word. SNAKE has 5 letters, so SNAKE = 5.
Advertisement
Q.46Easy
Select the word that best completes the analogy: Teacher is to Student as Doctor is to ___
Answer: A
A teacher instructs a student, similarly a doctor treats a patient. The relationship is one of professional service provider to recipient.
Q.47Easy
Choose the option with the correct spelling:
Answer: C
The correct spelling is 'Occasion' with double 'c' and double 's'. This is a common spelling error in English.
Q.48Easy
In SQL, which keyword is used to remove duplicate rows from query results?
Answer: B
The DISTINCT keyword in SQL removes duplicate rows from the result set. Example: SELECT DISTINCT column FROM table;
Q.49Medium
What is the time complexity of binary search algorithm?
Answer: C
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.
Q.50Medium
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?
Answer: A
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.
Q.51Easy
In a sequence, each term is obtained by adding the previous two terms. If the 1st term is 2 and 2nd term is 3, what is the 6th term?
Answer: B
Fibonacci-like sequence: T1=2, T2=3, T3=5, T4=8, T5=13, T6=21. Each term = sum of previous two terms.
Q.52Easy
If PAPER is coded as 16-1-16-5-18, then PENCIL would be coded as?
Answer: A
Each letter is coded as its position in the alphabet: P=16, A=1, P=16, E=5, R=18. Similarly, PENCIL: P=16, E=5, N=14, C=3, I=9, L=12.
Q.53Easy
Four friends A, B, C, and D have different salaries. C earns more than A but less than D. B earns more than D. Who has the highest salary?
Answer: B
From given conditions: A < C < D and D < B. This means B > D > C > A. Therefore, B has the highest salary.
Q.54Medium
What will be the output of the following code snippet?
int x = 5;
int y = ++x + x++ + x;
System.out.println(y);
Answer: B
++x makes x=6, then 6 is added. x++ uses 6 then increments to 7. Finally +x adds 7. So: 6 + 6 + 7 = 19.
Q.55Medium
A can complete a task in 12 days. B can complete the same task in 18 days. If both work together, in how many days will they complete the task?
Answer: A
A's work rate = 121, B's work rate = 181. Combined rate = 121 + 181 = 363 + 362 = 365. Time = 536 = 7.2 days.