In which type of research a representative sample of people asked to answer questions about their behaviors or opinions?

In which type of research a representative sample of people asked to answer questions about their behaviors or oions?

A. experiment
B. the survey
C. the case study
D. naturalistic observation