Thursday, April 26, 2007

Bit by Bit...

What is the smartest way of counting the number of bits in a byte? (psuedocode please)

Wednesday, April 25, 2007

Catching a cop

Say X has not received a speeding ticket in the last year.

Do the odds that X gets caught speeding tomorrow increase because the event has not occurred during the last year?

Alternately, can A confidently speed tomorrow if he received a ticket today?