During the first meeting of a large class describe what constitutes appropriate behavior for the course. As the need arises, but hopefully with good humor, repeat descriptions of the standards. Confrontations should be avoided. Most professors ask offending students to see them when class is over. Students who are argumentative should be asked to leave and met with outside of class.
Several professors use the class roll to call on a few students by name each day.
If the students are present they are asked questions and get credit for their responses. Some professors provide a few opportunities during the quarter for students to respond in writing to questions or a task and hand the responses in at the end of class. Other professors provide attendance sheets that students can complete and hand to a teaching assistant for each day they attend class. The number of written responses handed in by each student or the number of attendance sheets can contribute a small amount to the determination of the final grade. Some professors prepare a seating chart and request a teaching assistant to take attendance during the lecture.