New ! Computer Applications MCQ Practise Tests



12th Standard English Medium Computer Applications Subject Connecting PHP and MYSQL Creative 1 Mark Questions with Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  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. _______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( )

  4. A) DB2 - 1)Connect database
    B) INSERT - 2)RDBMS
    C) Mysqli_close( ) Function - 3)One of the major operation
    D) Mysqli_connect( ) Function - 4)Close an existing opened database
    (a)

    1 2 3 4

    (b)

    4 3 2 1

    (c)

    2 3 4 1

    (d)

    2 4 3 1

  5. A)MysqlLcioseO Function - 1) Four parameter
    B) MysqlLconnectO Functio - 2)Two parameters
    C)mysqli_ query Function - 3) No parameters
    D)mysqli_connect_errpr( ) - 4)One Parameter
    (a)

    2 3 1 4

    (b)

    4 3 2 1

    (c)

    2 3 4 1

    (d)

    4 1 2 3

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

Reviews & Comments about 12th Standard English Medium Computer Applications Subject Connecting PHP and MYSQL Creative 1 Mark Questions with Solution Part - II

Write your Comment