GATE / CS ARCHIVE

GATE CSE 2024 SET 2 / QUESTION 10

Count non-cross neighbors along a boundary

General Aptitude · Data Interpretation & Logical Reasoning · Full GATE CSE 2024 Set 2 paper

GATE 2024 Set 2, Q10 2 marks · MCQ
Report issue

Data Interpretation & Logical Reasoning

Question 10, GATE 2024: A 4×4 grid has rows [1,X,4,3], [X,5,5,4], [3,X,6,X], and four empty non-X cells. Each number counts adjacent non-X cells horizontally, vertically and diagonally, excluding itself. Find the sum to enter in the bottom row. A 11; B 10; C 12; D 9.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Approach: For each bottom cell count its horizontal neighbors and the eligible cells in the row directly above.

1. Derivation. Counting neighboring noncross cells in the last row from left to right gives 2, 4, 3, 2: each includes its existing horizontal neighbors plus the noncross cells directly or diagonally above. The sum is 11, option A. A cell does not count itself.

2. Explanation and checks. The horizontal contributions are 1,2,2,1. The row above has non-cross cells only in columns 1 and 3, so its contributions to the four bottom cells are 1,2,1,1. Adding componentwise gives 2,4,3,2. An independent total is 6 horizontal contributions plus 5 upward contributions =11. Cells two rows away cannot contribute, and the numbers already printed are not weights: each non-cross neighbor contributes just one.

Original paper, page 8 · Answer key