When you apply for H1, you are required to submit all the previous I-20, Transcript. It is easy for officer to see the gap(they are trained to do so). By the way, you did not apply OPT after you graduated?