When I was in college, there were a fair number of students who showed up on only the first day of class, for the midterm, and for the final.
When I took physics our prof laid out exactly our class and lessons to be learned on the first day. I did not go to class. I simply worked all the assigned physics at home. If I could do all this I knew I was good. When I had a problem I did go to his office for instruction that was brief. I showed up on test days. I made an A.