New ! Computer Applications MCQ Practise Tests

PHP Function and Array Model Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 50
    5 x 1 = 5
  1. A function in PHP starts with __________________.

    (a)

    function

    (b)

    __ def

    (c)

    def

    (d)

    Function

  2. For finding nonempty elements in array we use

    (a)

    is_array ( ) function

    (b)

    sizeof ( ) function

    (c)

    array_count ( ) function

    (d)

    array_count ( ) function

  3. As compared to associative arrays vector arrays are much

    (a)

    Faster

    (b)

    Slower

    (c)

    Stable

    (d)

    None of them

  4. __________________ stores more than one value of same data type in single array variable.

    (a)

    Arrays

    (b)

    Function

    (c)

    Indexed array

    (d)

    Multidimensional array

  5. __________ arrays are a key-value pair data structure.

    (a)

    Associative

    (b)

    Indexed

    (c)

    Multi-dimensional

    (d)

    All of these

  6. 5 x 2 = 10
  7. Define User defined Function.

  8. Write the Syntax to define Function in PHP.

  9. Usage of Array in PHP.

  10. How index will be assigned in indexed array?

  11. What is indexed array?

  12. 5 x 3 = 15
  13. Write the purpose of parameterized Function.

  14. Differentiate user defined and system defined Functions.

  15. Differentiate Associate array and Multidimensional array.

  16. Write the rules for parameters.

  17. Write the advantages of functions.

  18. 4 x 5 = 20
  19. Explain Function concepts in PHP.

  20. Explain the Multidimensional Array.

  21. Explain Array concepts and their types.

  22. Explain Indexed array and Associate array in PHP.

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

TN 12th Standard Computer Applications free Online practice tests

Reviews & Comments about 12th Computer Applications - PHP Function and Array Model Question Paper

Write your Comment