Can you test a hypothesis you have by giving surveys to a randomly selected part of the population?

Yes, conducting surveys among a randomly selected part of a population is a common method to test hypotheses. This approach, known as survey research, allows researchers to collect data from a sample and make inferences about the wider population. By randomly selecting participants, it helps to reduce bias in the results and increase the generalizability of the findings.