PHP and MySQL MCQs
1. Which PHP function is used to establish a connection with a MySQL server? a) mysqli_query()b) mysql_connect()c) pdo_connect()d) mysqli_connect() Answer: d) mysqli_connect() Explanation: mysqli_connect() is ...
Read more1. Which PHP function is used to establish a connection with a MySQL server? a) mysqli_query()b) mysql_connect()c) pdo_connect()d) mysqli_connect() Answer: d) mysqli_connect() Explanation: mysqli_connect() is ...
Read more1. What is XML used for? a) Storing relational datab) Displaying web pagesc) Defining markup languagesd) Creating dynamic web applications Answer: c) Defining markup languagesExplanation: ...
Read more1. What is the primary purpose of CSS (Cascading Style Sheets)?a) To define the structure of web pagesb) To create dynamic interactions on web pagesc) ...
Read more1. What is the purpose of commenting code in HTML? a) To make text boldb) To provide instructions for the browserc) To hide code from ...
Read more1. What is the primary function of the HTTP protocol in web communication?a) Transmitting emailsb) Serving web pagesc) Streaming videosd) Encrypting data Answer: b) Serving ...
Read more1. Which Act governs the admissibility of electronic records as evidence in India?a) Indian Evidence Act of 1872b) Information Technology Act, 2000c) Both a) and ...
Read more1. What is Cyber Crime? a) A crime committed using physical forceb) A crime committed using digital devices and networksc) A crime committed in cyberspaced) ...
Read more1. What term refers to the unauthorized access of a website’s server for malicious purposes? a) Web jackingb) Online Fraudsc) Session hijackingd) Software Piracy Answer: ...
Read more1. What is the term for falsifying email headers to make an email appear as if it came from a different source?a) Email Encryptionb) Email ...
Read more1. Which technique is a recent advancement in Pattern Recognition that combines neural networks and fuzzy logic to handle uncertainty in data? a) Support Vector ...
Read more