If u read carefully and in details of ur sem's syllabus,then u need to study for Gate in frm 7th sem!!
most people prefer to do it from 3rd year