"Survey" vs. "questionnaire": comparing two pillars of data collection

What is similar?
Both "survey" and "questionnaire" are tools used for gathering information from respondents, and both involve asking questions.
What is different?
A "survey" is a broader term that refers to the overall process of collecting, analyzing, and interpreting data, which can include various methods such as interviews, observations, and questionnaires. A "questionnaire", on the other hand, specifically refers to a set of written questions used to obtain information from respondents.
Which one is more common?

Examples of usage
Survey- We conducted a survey to gather feedback about the new product.
- The survey results were analyzed to improve customer satisfaction.
- An online survey was sent to all employees to assess workplace conditions.
- Please fill out this questionnaire about your dietary habits.
- The researcher distributed a questionnaire to collect demographic data.
- A questionnaire was used to evaluate the effectiveness of the training program.