All of this is U.S.-specific: Some history on this: A specific college (I think it was actually a truck driver's school) reported that student's were attending classes that they weren't. This caused financial-aid (i.e. funding) issues and seemed to be unethical and possibly illegal. (See the web-site: https://www.insidehighered.com/blogs/confessions-community-college-dean/attendance-policies) SoAs a result, many schools were forced to take attendance (when I went to college, they didn't typically at the University level). So, then one has the obligation to attend lectures that had previously been basically miss-at-your-own-risk. If
If I were the professor, I would typically always allow a student to attend aalmost any funeral, especially if it were a one-day-event. For out of town or overseas funerals, the situation gets more complicated.
Also, in my post-academia work-world, I would think most managers wouldmost managers would generally allow an employee to miss in this situation, though for certain jobs/situations that would not always be true. I had to do this myself, and there was no problem from my manager. Of course, I used a vacation-day (but with very little notice).