New ! Computer Applications MCQ Practise Tests



Connecting PHP and MYSQL Model Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 40
    5 x 1 = 5
  1. Which is the correct function Closing Connection in PHP ?

    (a)

    mysqli_close(“Connection Object”);

    (b)

    close(“Connection Object”);

    (c)

    mysql_close(“Connection Object”);

    (d)

    mysqli_close(“Database Object”);

  2. Which is the not a correct MySQL Function in PHP ?

    (a)

    Mysqli_connect() Function

    (b)

    Mysqli_close() Function

    (c)

    mysqli_select_data() Function

    (d)

    mysqli_affected_rows() Function

  3. How many parameter are required for MYSQLi query function in PHP ?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    5

  4. _______IS a function, helps to execute the SQL query statements in PHP scripting language

    (a)

    mysqli_closet( )

    (b)

    mysqlLconnect_error( )

    (c)

    mysqli_query( )

    (d)

    mysqli_connect( )

  5. _______Function is used to close an existing opened database connection between PHP scripting and MySQL Database Server.

    (a)

    mysqli_close( )

    (b)

    mysqli_connect error( )

    (c)

    mysqli_query( )

    (d)

    mysqli_connect( )

  6. 5 x 2 = 10
  7. What is MySQLi function?

  8. Difference between Connection and Close function?

  9. What is mysqli_fetch_assoc() Function?

  10. How many parameters to connect to database server, in Mysqli_connect( ) Function?

  11. What is the main goal of MySQL and PHP connectivity?

  12. 5 x 3 = 15
  13. Write is the purpose of MySQLi function available.

  14. Write MySQL Connection Syntax with example.

  15. Wha is MySQL?

  16. What is the main goal of MySQL and PHP connectivity?

  17. What is the use of SQL statements in PHP?

  18. 2 x 5 = 10
  19. Explain MySQLi Queries with examples.

  20. Write a short note on parameters of mysqli_connect( ) function?

*****************************************

Reviews & Comments about 12th Computer Applications - Connecting PHP and MYSQL Model Question Paper

Write your Comment