니까 at the end of the verbs means question in formal. So when you're speaking with someone older than you or someone who you do not know although the usual is to ask with 아요/어요/여요? Sometimes when you first meet someone they ask in a very formal tone. So what is your name is not 이름이 뭐예요? But 이름이 무엇입니까?