GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Infosys  >  Analytical
Go To First  |  Previous Question  |  Next Question 
 Analytical  |  Question 5 of 135    Print  
There are 100 bulbs and 100 switches.Each switch is numbered from 1 to 100 and each switch corresponds to each bulb.
 (a)all switches are switched on.
 (b)the switch nnumberes which are divisible by 2 are marked and those switches which are on are put off and which are off are put on.
 (c)the switch  numbers which are divisible by 3 are marked and those switches which are on are put off and which are off are put on.
 (d)this process continued till the number 100.
By the end how many switches are glowing.?
10(1,4,9,16,25,36,49,64,81,100)



  
Total Answers and Comments: 8 Last Update: August 28, 2009   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: dinesh
 

ANS    "0"   (even the question is wrong , switches cant glow. but if q. was right probably that would still be the right ans.)

first of all , read the question properly..

all 100 switches are switched on.

then switches 2,4,6....100 are "MARKED"( but not switched "OFF") , then all the bulbs which are glowing are switched off, i.e " ALL THE 100 BULBS WHICH ARE GLOWING ARE SWITCHED OFF".

in the next step again all that are switched off are switched on , THUS AT THE END  ALL 100 BULBS ARE SWITCHED "OFF" , coz bulbs remain off for even numbers and on for odd numbers..



Above answer was rated as good by the following members:
Mohammed Aijaz Ahmed
July 20, 2005 09:10:19   #1  
abhelaksh        

RE: There are 100 bulbs and 100 switches.Each switch is numbered from 1 to 100 and each switch correspon...
switches dont glow therefore ans is 0...lol
 
Is this answer useful? Yes | No
September 27, 2005 14:43:31   #2  
Sandy        

RE: There are 100 bulbs and 100 switches.Each switch i...

glowing bulbs..?? doesnt make sense so the answer is 0


 
Is this answer useful? Yes | No
November 26, 2005 02:01:15   #3  
sridevi        

RE: There are 100 bulbs and 100 switches.Each switch i...
Question: There are 100 bulbs and 100 switches.Each switch is numbered from 1 to 100 and each switch corresponds to each bulb.
(a)all switches are switched on.
(b)the switch nnumberes which are divisible by 2 are marked and those switches which are on are put off and which are off are put on.
(c)the switch numbers which are divisible by 3 are marked and those switches which are on are put off and which are off are put on.
(d)this process continued till the number 100.
By the end how many switches are glowing.?

Answer: 10(1 4 9 16 25 36 49 64 81 100)

 
Is this answer useful? Yes | No
September 12, 2006 05:40:15   #4  
Dev        

RE: There are 100 bulbs and 100 switches.Each switch i...

I think we can solve this problem this way.

I you take a few examples (any number) we will find that it is switched on/off only odd number of times(excluding dividing by 1 and including dividing the number by itself).

Thus as the initial condition is ON so we have all of them switched OFF; except for the perfect squares as they have ONE MORE NUMBER to divide them

ie the Suare Root of that number. so they are switched off/on even number of times. So 10(1 4 9 16 25 36 49 64 81 and 100) remains switched ON.


 
Is this answer useful? Yes | No
October 17, 2006 02:21:50   #5  
dinesh        

RE: There are 100 bulbs and 100 switches.Each switch i...

ANS 0 (even the question is wrong switches cant glow. but if q. was right probably that would still be the right ans.)

first of all read the question properly..

all 100 switches are switched on.

then switches 2 4 6....100 are MARKED ( but not switched OFF ) then all the bulbs which are glowing are switched off i.e ALL THE 100 BULBS WHICH ARE GLOWING ARE SWITCHED OFF .

in the next step again all that are switched off are switched on THUS AT THE END ALL 100 BULBS ARE SWITCHED OFF coz bulbs remain off for even numbers and on for odd numbers..


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 1Overall Rating: -N/A-    
June 28, 2007 14:06:41   #6  
Sreedevi Pidaparthi Member Since: June 2007   Contribution: 3    

RE: There are 100 bulbs and 100 switches.Each switch i...
If You read the question carefully it states that initially all the switches are switched on.

then the switch #s divisble by 2 are marked and the switches which are put on are put off.....

so all switches are put off......

now when switch #s divisble by 3 are marked then all switches are put on......

Going by this sequence when we reach 100 all the switches are put off......

So "0" switches are put on should be the correct answer

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 25, 2009 07:38:22   #7  
sathin Member Since: August 2009   Contribution: 6    

RE: There are 100 bulbs and 100 switches.Each switch is numbered from 1 to 100 and each switch corresponds to each bulb. (a)all switches are switched on. (b)the switch nnumberes which are divisible by 2 are marked and those switches which are on

Yes the answer is '0'

Regarding statement B It is said that the switch numbers are divisible
by 2 are marked and those switches which are on are put off and which are
off are put on we get that all the switches are off from the above step.


For every marking of even number all the switches get off

so as 100 is an even number all the switches get off

so 0 bulbs glow (switches glow may not be technically correct).



 
Is this answer useful? Yes | No
August 26, 2009 21:50:45   #8  
ajithg4u Member Since: July 2009   Contribution: 2    

RE: There are 100 bulbs and 100 switches.Each switch is numbered from 1 to 100 and each switch corresponds to each bulb. (a)all switches are switched on. (b)the switch nnumberes which are divisible by 2 are marked and those switches which are on
Switch numbers which are perfect squares will be on.
This is because perfect squares have odd number of factors.
eg: 9 factors are 1 3 9
25 factors are 1 5 25

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape