Question 82

Logical Reasoning Percentage Medium

A hand-held gaming device takes X and Y as two input values. These values get updated as X=XY/2 and Y=Y+1 at each iteration and the game stops when X is greater than or equal to N. For X=2, Y=4 and N=3000, what would be the final value of X when the game stops?

(A) 5450
(B) 9450
(C) 12860
(D) 13450
✓ Correct Answer: Option B Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

Let's trace the loop iterations manually starting with $X = 2$, $Y = 4$, and $N = 3000$. Iteration 1: $$ X = \frac{2 \times 4}{2} = 4 $$ $$ Y = 4 + 1 = 5 $$ Iteration 2: $$ X = \frac{4 \times 5}{2} = 10 $$ $$ Y = 5 + 1 = 6 $$ Iteration 3: $$ X = \frac{10 \times 6}{2} = 30 $$ $$ Y = 6 + 1 = 7 $$ Iteration 4: $$ X = \frac{30 \times 7}{2} = 105 $$ $$ Y = 7 + 1 = 8 $$ Iteration 5: $$ X = \frac{105 \times 8}{2} = 420 $$ $$ Y = 8 + 1 = 9 $$ Iteration 6: $$ X = \frac{420 \times 9}{2} = 1890 $$ $$ Y = 9 + 1 = 10 $$ Iteration 7: $$ X = \frac{1890 \times 10}{2} = 9450 $$ $$ Y = 10 + 1 = 11 $$ At this point, $X = 9450$, which is $\geq 3000$. The game stops, and the final value of $X$ is 9450.

Practice Similar Percentage Questions

Reinforce your conceptual grasp with related questions from MAH MCA CET 2026:

Q58 A researcher found that 70% of people who own a cat also own a dog, but...
Solve →
Q51 Mira's mother-in-law's mother is my grandmother. All my mother's...
Solve →
Q52 Youtube is organizing an event with seven content creators - A, B, C, D,...
Solve →
Q53 Here you are given one statement and two course of action I and II....
Solve →
Q54 The sum of three numbers is 98. If the ratio of the first to the second is...
Solve →
Full-Length Test Series

Prepare for MAH MCA CET Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →