GATE CS 2024 Set 2 — Question 10
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.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

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 = .
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Analytical Aptitude
2026 Set 1 Q1The antonym of the word protagonist is ________.2026 Set 2 Q1Expedite, Hasten, Hurry, __________ Fill the blank by choosing a word with a meaning similar to…2026 Set 2 Q2A black square PQRS has been cut into two parts. One part of it is shown in Panel I. Which one of…2026 Set 1 Q2The figure shows two 4-tile patterns. [figure] Either one or both of the patterns can be used any…2026 Set 1 Q3Consider a knock-out women’s badminton singles tournament where there are no ties. The loser in…