What they said is all good info.
But take terrain into account as well since that may dictate the range of your shots.
Flat, wide open land where you can't get close with out a lot of stalking I'd go with the rifle, wooded, hilly, or swampy "close" terrain your shots will be at short range, take the pistol and have fun.