I graduated in petroleum engineering but want to join in it firm

Hi all,
I am from non-IT background but i want start my career in IT sector . Is there any chance for me to get into IT sector if get a good score in pH TEST . i have studied c-language in my graduation .
please guide me and apologize if any wrong in my words.