Q:

Do you have to give your social security number to a cop if he asks when you get pulled over

Answer

He can get it from your license, you need to give that over.