New ! Computer Applications MCQ Practise Tests



12th Standard Computer Applications Connecting PHP and MYSQL English Medium Free Online Test One Mark Questions 2020 - 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    10 x 1 = 10
  1. Which one of the following statements instantiates the mysqli class?

    (a)

    mysqli = new mysqli()

    (b)

    \($\)mysqli = new mysqli()

    (c)

    \($\)mysqli - > new.mysqli()

    (d)

    mysqli - > new.mysqli()

  2. How Can we Create a Database Using PHP and MySQL?

    (a)

    mysqli_create_db(“Database Name”)

    (b)

    mysqli_create_db(“Data”)

    (c)

    create_db(“Database Name”)

    (d)

    create_db(“Data”)

  3. 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”);

  4. 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

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

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    5

  6. How many parameter are required for MYSQLi Close function in PHP ?

    (a)

    1

    (b)

    2

    (c)

    3

    (d)

    5

  7. _______is important to all computer and Internet related applications

    (a)

    Data

    (b)

    MySQL

    (c)

    PHP

    (d)

    None of these

  8. Connection to the Database Server machine via PHP scripting language using _______ Function

    (a)

    mysqlLaffected_rows( )

    (b)

    myvscu connect_.erron( )

    (c)

    mysqlLfetch_assoc( )

    (d)

    mysqli_connect( )

  9. _______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( )

  10. A) DB2 - 1)Open source
    B) SQL SERVER - 2)IBM
    C) MySQL - 3)Microsoft
    D) Oracle - 4)Oracle Corporation
    (a)

    2 3 1 4

    (b)

    4 3 2 1

    (c)

    2 3 4 1

    (d)

    2 4 3 1

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

Reviews & Comments about 12th Standard Computer Applications Connecting PHP and MYSQL English Medium Free Online Test One Mark Questions 2020 - 2021

Write your Comment