GATE CS 2024 Set 2 — Question 10
MCQ+2 / -0.67MediumNumerical Relations & ReasoningAnalytical AptitudeGeneral Aptitude
General Aptitude → Analytical Aptitude → Numerical Relations & Reasoning
Last updated
Question
In the 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

A.
11
B.
10
C.
12
D.
9
Correct answer
(A) 11
Solution
Let the cells in the last row (Row 4) be denoted as . We are given that the last row has no crosses, so all cells in Row 4 contain numbers. A number in a cell represents the count of neighbors (horizontal, vertical, diagonal) that do not contain 'X'.Grid Context:
Row 3:
Row 4: (All are numbers, i.e., not X)Calculating (Corner):
Neighbors: (Not X), , (Not X).
Count of non-X neighbors = 2.
Calculating (Edge):
Neighbors: (Not X), (Not X), , (Not X), (Not X).
Count of non-X neighbors = 4.
Calculating (Edge):
Neighbors: (Not X), , (Not X), , (Not X).
Count of non-X neighbors = 3.
Calculating (Corner):
Neighbors: (Not X), (Not X), .
Count of non-X neighbors = 2.
Sum:
Sum = .
Row 3:
Row 4: (All are numbers, i.e., not X)Calculating (Corner):
Neighbors: (Not X), , (Not X).
Count of non-X neighbors = 2.
Calculating (Edge):
Neighbors: (Not X), (Not X), , (Not X), (Not X).
Count of non-X neighbors = 4.
Calculating (Edge):
Neighbors: (Not X), , (Not X), , (Not X).
Count of non-X neighbors = 3.
Calculating (Corner):
Neighbors: (Not X), (Not X), .
Count of non-X neighbors = 2.
Sum:
Sum = .
More questions on Analytical Aptitude
2024 Set 1 Q1If ‘’ denotes increasing order of intensity, then the meaning of the words [dry…2024 Set 2 Q1If ‘’ denotes increasing order of intensity, then the meaning of the words [walk jog…2024 Set 2 Q2Two wizards try to create a spell using all the four elements, water, air, fire, and earth.…2024 Set 1 Q2If two distinct non-zero real variables and are such that is proportional to…2024 Set 1 Q3Consider the following sample of numbers: The median of…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free