Without a specifi c context, this type of question is used to elicit a yes-or-no answer.
张:你是老师吗?
Zhāng :Nǐ shì lǎo shī ma ?
Zhang: Are you a teacher?
王:我不是老师,是学生。
Wáng:Wǒ bú shì lǎo shī ,shì xué shēng 。
Wang: I am not a teacher; I am a student.
老师:你们有问题吗?
Lǎo shī :Nǐ men yǒu wèn tí ma ?
Teacher: Do you (plural) have questions?
丁:我有。
Dīng :Wǒ yǒu 。
Ding: I do.
李:我没有。
Lǐ :Wǒ méi yǒu 。
Li: I don’t.
[1] Yip, P. C., Rimmington, D., Xiaoming, Z., & Henson, R. (2009). Basic Chinese: a grammar and workbook. Taylor & Francis.
[2] Teng, W. H. (2016). Yufa! A practical guide to Mandarin Chinese grammar. Taylor & Francis.