I received my degree from a technical institute in NZ rather then one of the major universities. For each level we were required to take a semester (6 months) long paper in Legal and Ethics.
I enjoyed them at the time and have also found the knowledge gained to be extremely relevant in both my personal life and career.
The papers were quite broad and covered a range of topics including the traditional idea of "ethics", copyright law/infringement, the NZ Privacy Act, The Treaty of Waitangi [1]. We had an enthusiastic primary tutor and multiple guest tutors from the industry (privacy officer, lawyer etc). Thinking back, they were probably the best papers I took.
My day job now involves writing software that deals with the vast majority of New Zealanders medical data. The ethical "grounding" and the knowledge gained about the NZ Privacy Act in particular is quite literally at the front of my mind with every commit. It makes me extremely nervous that our educational institutes are shitting out software developers without any of this knowledge.