Maximum Button Presses in Grid Game

XAT 2025 · Quantitative Ability & Data Interpretation · Medium · Logical Reasoning

In a computer game, each move requires pressing a button. When the button is pressed for the first time, as a move, the computer randomly chooses a cell from a 4×44\times4 grid of sixteen cells and puts an "X" mark on that cell. When the button is pressed subsequently, the computer randomly chooses a cell from the remaining unmarked cells and puts an "X" mark on that cell. This goes on till the end of the game. The game ends when either all the cells in any one row, or all the cells in any one column, are marked with "X". What is the maximum possible number of times a player has to press the button to finish the game?

  1. A.

    16

  2. B.

    10

  3. C.

    6

  4. D.

    13

  5. E.

    4

Answer

D

Explanation

To maximize the number of moves before completing a full row or column, we want to place as many 'X's as possible without filling any row or column completely. In a 4×44 \times 4 grid, if we mark 3 cells in each row and column, we can do so by leaving 1 cell unmarked in each row and column (e.g., the main diagonal of 4 cells). Leaving 4 cells unmarked allows 16−4=1216 - 4 = 12 marked cells without completing any row or column. The 13th13^{\text{th}} press must mark one of the remaining 4 diagonal cells, which completes both a row and a column. Thus, the maximum number of presses required to finish the game is 13.

Related Logical Reasoning questions

Practise this under exam conditions

Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.

Solve in the workspace