A bad driver and a man who hit a woman were among defendants sentenced recently at York Magistrates Court.