I am not anything against CGPA but one thing is for sure. If you get a 9 point CGPA but youu2019ve done nothing but academics in your engineering and someone else with a 7 or 8 point CGPA who has learnt and started into the fields like Machine Learning, Data Sciences, etc then it is very much possible that someone else will be much more preferred than you.This is because CS is a continuously updating field like how your facebook app gets updated and sadly our academics are still in 1990u2019s.For your question, listen to classes, write assignments by yourself, read textbooks. Done