The GATE Grind

GATE 2026 EE – 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 ______.

Diagram for GATE 2026 EE question 9
  1. 5
  2. 4
  3. 3
  4. 0

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) 4

Explanation

Write ON as 1 and OFF as 0. Initial: 0001000. Step 1: 0011100. Step 2: 0110110. Step 3: the end bulbs turn ON, giving 1110111. Step 4: the second and sixth bulbs (both neighbours ON) turn OFF, giving 1010101. In this state every OFF bulb has two ON neighbours and every ON bulb has OFF neighbours, so no rule applies and the state stays 1010101 in all later steps. At the end of Step 8, 4 bulbs are ON.