TN Online TestSamacheer Kalvi practice

12th Standard Computer Applications — Connecting PHP and MYSQL: Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 25 questions available.

Set up your test

Time remaining00:00
Q1
Which is the correct function to execute the SQL queries in PHP ?
Q2
Which is the correct function Closing Connection in PHP ?
Q3
Which is the correct function to establish Connection in PHP ?
Q4
Which is the not a correct MySQL Function in PHP ?
Q5
How many parameter are required for MYSQLi connect function in PHP ?
Q6
How many parameter are required for MYSQLi query function in PHP ?
Q7
How many parameter are required for MYSQLi Close function in PHP ?
Q8
Which version of PHP supports MySQLi fuctions ?
Q9
According to the points to remember, what percentage of websites has been built using PHP and MySQL?
Q10
Which PHP function is used to find the number of rows returned from a MySQL query execution?
Q11
Which PHP function is used to retrieve the descriptive error message from the last connection error in MySQLi?
Q12
In which year was the survey conducted that estimated approximately 544 million websites were running the PHP stack?
Q13
Which alternative version of PHP or compiler did Facebook develop to turn its PHP code into native C++ code?
Q14
Which of the following is NOT listed as a PHP software framework in the textbook?
Q15
What is the purpose of the mysqli_num_rows() function in a PHP MySQLi script?
Q16
Which function is used in PHP to fetch a query result row as an associative and numeric array?
Q17
In the textbook connection script, which function is used to terminate program execution and display an error if the database connection fails?
Q18
Which of the following database management systems is NOT mentioned as a Relational Database Management System (RDBMS) in the textbook?
Q19
Which PHP function is used to retrieve the specific error code from the last database connection attempt?
Q20
What percentage of websites are built using the combination of PHP and MySQL according to the textbook?
Q21
In the mysqli_connect() function, which parameter represents the fourth argument in the parameter list?
Q22
Which framework mentioned in the textbook is designed to promote rapid application development (RAD) for PHP?
Q23
What is the primary purpose of the MySQLi extension introduced in PHP version 5.0.0?
Q24
In the program examples of the textbook, which variable is typically used to store the connection object returned by mysqli_connect()?
Q25
Which SQL select query statement is assigned to the variable in the Chapter 9 practical program example to retrieve contacts?

More for this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Book Back TestTest yourself on the textbook set Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About this Connecting PHP and MYSQL test

This free online practice test covers Connecting PHP and MYSQL from the 12th Standard Computer Applications (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Applications

View all
1 Multimedia 2 An Introduction to Adobe PageMaker 3 Introduction to Database Management System 4 PHP: Hypertext Preprocessor 5 Functions and Arrays in PHP 6 Conditional Statements in PHP 7 Loops in PHP 8 Forms and Files 10 Introduction to Computer Networks 11 Network Examples and Protocols 12 Domain Name System (DNS) 13 Network Cabling 14 Open Source Concepts 15 E-Commerce 16 Electronic Payment Systems 17 E-Commerce Security Systems 18 Electronic Data Interchange- EDI