Interesting question:) The translation of this sentence 一抓一个准 varies according to the meanings of different articles.
For example, let’s say a bear is catching fish, 熊在抓鱼,它一抓一个准。means that every time the bear flicks out its paw, it can catch the fish. Because "准" means "accurate", it means that the accuracy rate of bear catching fish is 100%.
In your sentence, 老师一抓一个准 emphasizes that the teacher can easily find the students who are absent from class. Because there are only ten students, if the teacher wants to know that the person didn't come to class, that is to “catch the fish” , just try once the teacher will 100% find you.