Written separately
The particle follows vowel harmony like a suffix, but it remains a separate word: Kitap mı?, not Kitapmı?.
The personal ending goes on the particle
In a question the personal ending moves from the nominal to the particle: Öğrenci misin? — “Are you a student?”, not Öğrencisin mi?. In English it is “are” that moves, to the front of the sentence; in Turkish it is the ending that moves, to the particle at the end.
No particle with a question word
If the sentence already has a question word, the particle is not used: Bu ne? — “What is this?”, not Bu ne mi?.
The particle follows what is being asked about
English starts a yes/no question with “is”, “are” or “do”, but Turkish has no such word, and the particle never goes to the front of the sentence. Its usual place is at the end: Ali öğrenci mi? — “Is Ali a student?” After another word it moves the question onto that word, as English does with stress or with “is it … who”: Ali mi öğrenci? — “Is it Ali who is a student?” More in the topic “Position of the particle mI in the sentence”.