GATE CS 2024, set 2 · Question 10 · General Aptitude · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

In the 4 × 4 array shown below, each cell of the first three rows has either a cross (X) or a number.
The number in a cell represents the count of the immediate neighboring cells (left, right, top, bottom, diagonals) NOT having a cross (X). Given that the last row has no crosses (X), the sum of the four numbers to be filled in the last row is

1X43
X554
3X6X
  1. (A) 11
  2. (B) 10
  3. (C) 12
  4. (D) 9
Answer

Answer (A)

Answer from the official GATE CS 2024 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes