My friend graduated from Visvesvaraya Technological University with a gold medal. She ranked amongst the top ten students with the highest aggregate in CS.
It is calculated by the average of total marks of the last four semesters. A Gold medal becomes a dream if you fail in any of the subjects.
There are 2 types of Gold medals are of two types:
Getting a gold medal is not impossible. Follow 2-3 additional books, study throughout the year and understand the core engineering and mathematical concepts. Internal assessments should be taken seriously as well. Be clear in your intentions and don't budge because there'll be distractions, but you can make your mark if you will it.