The GATE Grind

GATE 2026 CE (CE1) – Question 9

General Aptitude · Analytical Aptitude: Logical Reasoning and Deduction · 2 marks · Multiple choice

Consider a linear arrangement of seven bulbs, each of which can be in the ON or OFF states. The initial configuration of the bulbs is shown in the figure. In every Step, the states of the bulbs are changed based on the following rules:

The state of bulbs at the end of Step 1 and Step 2 are also shown in the figure.

The number of bulbs which are ON at the end of Step 8 is ______

Seven bulbs in a row. Initially only the middle bulb (the fourth) is ON. After Step 1 the third, fourth and fifth bulbs are ON. After Step 2 the second, third, fifth and sixth bulbs are ON.
  1. 5
  2. 4
  3. 3
  4. 0

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) 4

Explanation

Following the rules step by step, the bulbs ON (numbered 1 to 7) are: initially 4; after Step 1: 3, 4, 5; after Step 2: 2, 3, 5, 6; after Step 3: 1, 2, 3, 5, 6, 7; after Step 4: 1, 3, 5, 7. In Step 5 each OFF bulb has two ON neighbours, so none turns on, and each ON bulb has OFF neighbours, so none turns off. The pattern 1, 3, 5, 7 stays the same, so 4 bulbs are ON at the end of Step 8.