You're right if you're thinking about American universities, but IIT operates much differently (this may have changed, so IIT students, please correct me if I'm wrong here).
No student enters IIT declaring a CS major like an American university - they have to first excel at test-taking within IIT across a range of subjects (chemistry, physics, etc), so they can be part of the top cohort within IIT that is allowed to enroll in CS classes. Based on a couple Youtube video lectures I watched, these courses tend to be lecture-based and tested based on printing the correct output (not on software architecture or code quality).
Some of our younger IIT developers say the system is modernizing to be more like other higher education programs, so I might be totally wrong here.