Choosing safe riding speeds

Q: What is a safe riding speed on a main street with fast moving traffic?
50km/h
Q: How do we know when the school zone or playground zone is over?
Back of the incoming sign, double yellow changes to single yellow, the school or playground is no longer beside us