I recently had to make a questionnaire for my research. For this questionnaire, I tried taking some ideas from other examples for the questions. Another student was working on the same topic and did her questionnaire before mine, but didn't publish any results yet. After comparing my questionnaire with hers, it was clear that some questions are a remarkably similar, due to covering the same topic, same country, same society and same climate. The other student made a complaint that I have copied some of the questions from her questionnaire.
Could anyone please help me know whether did I commit plagiarism? How should I deal with the present situation?