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 non empty elements in array we use

    (a)

    is_array ( ) function

    (b)

    size of ( ) 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. What is the syntax for defining a 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.

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

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

Write your Comment