) How long have you known the teacher?
b) This is the first time I have eaten honey with spaghetti.
c) What did you do last night?
d) I have studied English for four years.
e) When have you got your hair cut?
f) I saw Peter yesterday.
________________________
Пояснения:
c и f — Present Simple потому, что есть указание времени.
e — Present Simple потому, что с вопросы, начинающиеся с "when", не используются с Present Perfect. Это правило.