Words are masculine or feminine in French.
To say 'what is your name', we say 'how do you call yourself'.
Pay attention to "nom", it is for lastname. Nom also means 'noun'.
There are many ways to say the same thing in French: c'est quoi ton prénom?, ton prénom c'est quoi?
Un petit nom is not a nickname, it is first name.