I need a present for my boyfriend
That's really nice! Have you asked your boyfriend specifically what he wants as a gift?
I can ask him directly but I want to show how much I care for him by surprising him with a gift he likes.
It's good that you want to give your boyfriend a gift that he will enjoy but it isn't necessary to blindly guess what he likes. It's okay to ask your significant other for gift ideas since it gives them an opportunity to make their preferences known and will prevent any disappointment when they do receive the gift.
Hmmm
You can use this as a chance to test how much you really know your partner! But it still never hurts to ask, and it may be even better to have him guarantee what he wants and get him excited over it.