I agree for engineering classes, but those completing a computer science (CS in a science or arts faculty) degree in Canada usually do not have any regulatory oversight of any kind and no ethics classes.
However, in the Quebec system (and presumably the equivalent in other provinces) we have 3 philosophy classes (humanities, world-view etc) in college/cégep (somewhat mandatory before university). I also had a mandatory ethics class since I completed a technical degree, which I also did not appreciate at the time, but it helped me develop more critical thinking later on.