When approaching a stop line, where should drivers stop their car?

Stop lines are usually painted on the roadway at a distance from an intersection to give pedestrians a walkway in front of stopped cars. Stop your car before the painted stop lines.
DMV Writen Test