I had a geography teacher that took roll daily and it counted toward the “participation” part of your grade. But that was unusual, most profs were like, “The class is here, you’re responsible to turn in homework and take the tests. As for the class lectures, you can take it or leave it.”
While at University an instructor told our class if we missed 3 classes it was an automatic Failure of the class. Did not matter if you were carrying an A average; third missed class sunk it all. He terrified everyone.