If it looks like a duck, swims like a duck and quacks like a duck, then it probably is a duck. That inductive reasoning (known as "the duck test") doesn't hold true for yellow bugs with black spots. A yellow ladybug (ladybird beetle) and a cucumber beetle look a little alike--at first glance.