From our textbook we learned that Chinese names are composed first of a one character surname, 姓 [xìng], (there are a few two character surnames) followed by a given name, 名 [míng], consisting of one or two characters.
The polite way to ask a person their name is to use the character 貴 [guì]. 貴 literally means expensive, but in this case a more accurate translation would be honorable. The appropriate way to ask the name of an older person, or a superior is to use the following format:
The following format can be used when asking the name of a person at your same level (Notice the response is the same.):
A polite way to get someone's attention, or ask a question is to begin the question with 請問 [Qǐng wèn]. The following are a few examples: