Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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...
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.

    -Waswas

      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. =)

        -Waswas

        edited: oops mistyped the bits for 4.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-09-01 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (9 votes), past polls