They may be getting up there in years, but they're still loved.

The majority of the public has positive opinions about the massive Medicare and Medicaid health coverage systems—which will mark their 50th anniversaries later this month—and rate them among the most important government-run programs, according to a new survey.