[color=red]1-He took an exam for giving students a scholarship to our University.
[color=indigo]2-He took an exam to give students a scholarship to our University.
[color=red]3-He took an exam for winning a scholarship to our University.
[color=indigo]4-He took an exam to win a scholarship to our University.