Publishing a paper is the task of graduate students, and undergraduates don't require it, so it doesn't matter if they haven't published a paper. Of course, if you have published a paper, that would be great.
Your exam results are very important, depending on your scientific research level and ability.
good luck