Complex sentence: The selection process is very rigorous, having written exam, viva and medical tests selected 50 students will study here till class XII (Higher Secondary).
Split into simpler sentences: The selection process is very rigorous having written, viva and medical tests. These 50 students will study here till class XII (Higher Secondary).