The exclusionary rule serves two purposes:it prevents unlawfully obtained evidence from being used in court, and it encourages police officers to obey the law when obtaining evidence needed in a case

True or false

True.

The exclusionary rule is a legal principle in the United States, which states that evidence collected or analyzed in violation of the defendant's constitutional rights is inadmissible for a criminal prosecution in a court of law. This rule is designed to deter police misconduct by disallowing improperly obtained evidence from being used against suspects in court, thereby encouraging law enforcement officials to adhere to the law when investigating crimes and collecting evidence.