by Lore Sjöberg
Many people have written in asking us to provide a quiz that would
test both their computer programming skills and their knowledge of
commercial slogans. Actually, that's a lie, but we came up with this quiz and
we thought it might be diverting nonetheless.
In the left column below you'll find snippets of fake computer code
(pseudo-Perl, to be precise) based on famous ad slogans. In the right
column, you tell us what product is being advertised. For example:
$substance = "NaCl";
while ($raining) {
&pour($substance);
}
is pseudocode for "When it rains, it pours," so the answer would
be Morton Salt. Got it? Go for it!
|