perl -e "print sprintf('%03b',$_).' '.int(rand()+0.5).$/ for 0..7"
perl -e'printf"%03b %b\n",$_,rand(2)for 0..7'
You can chop one character off like perl -e'printf"%03b %b\n",$_,rand 2for 0..7'.
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (176 votes),