Does a bicycle have to yield to pedestrians?

You should. Even if you have the “right of way”,l hitting a pedestrian will probably end up hurting you as much as it does the pedestrian.