Question: how to know if its battery starter or alternator?
Answer: If you jump start your car and it will start, but the engine dies right after the jump then it is most likely the alternator. (Note: Do not try to test the alternator by removing the negative battery cable with the engine running.