There are some bulbs,which are numbered from 1 to 100.all the bulbs are in on conditions. The following operations are performed:- 1. Those bulbs number which are divisible by 2 are switched OFF.2. Those bulbs numbered which are divisible by 3 are switched ON (which are already OFF) and OFF bulbs are switched ON.3. Similarly bulbs numbers divisible by 4 are either switched ON or OFF depending upon there previous condition4. This procedure is adopted till 100th bulb. At the end there were how many bulbs which were in ON condition? Ans: 10 ( only perfect squares ). (plz say the procedure)

This question is related to Infosys Interview

Showing Answers 1 - 3 of 3 Answers

Sandeep Singh

  • Mar 11th, 2007
 

all the bulbs would be in on condition
because the bulbs divisible by 3 & off bulbs are switched on in second condition

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions