Examveda
Examveda

How do parameterized queries help prevent SQL injection?

A. By encrypting database queries

B. By removing SQL keywords

C. By sanitizing user input

D. By executing multiple queries at once

Answer: Option C

Solution(By Examveda Team)

Parameterized queries separate user input from SQL code, reducing the risk of SQL injection.

Join The Discussion

Related Questions on Database Connectivity with Python

What is SQLite?

A. A type of programming language

B. A relational database management system

C. A Python module for web scraping

D. A version control system