I'd say more alt than battery, but it might be both.
you only use your batter when you start your car. If the alt isn't charging your battery when you're driving, that'll make it hard to start.
AutoZone is pretty good about that kind of stuff and the test is free.
hih