Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Off topic: lightbulb joke...

by didier (Vicar)
on Aug 11, 2003 at 08:05 UTC ( #282784=note: print w/ replies, xml ) Need Help??

in reply to Off topic: lightbulb joke...

Plagiarizing someone(?) the answer is 10:

One to change the lightbulb
and a programmer explaining binary numbers.

Comment on Re: Off topic: lightbulb joke...
Replies are listed 'Best First'.
Re: Re: Off topic: lightbulb joke...
by waswas-fng (Curate) on Aug 11, 2003 at 19:03 UTC
    I think you mean 01 not 10. 01 is bin for 2.


      No, 10 is binary for 2.

      Think about this for a second... If 01 was binary for 2, then 00 would be binary for 1 and then what would zero be?

        0000 = 0
        1000 = 1
        0100 = 2
        1100 = 3
        0010 = 4

        Now lets not get into a endian war, I knew someone would bite. =)


        edited: oops mistyped the bits for 4.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://282784]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2016-05-26 14:17 GMT
Find Nodes?
    Voting Booth?