" /> -->

PHP Function and Array Model Question Paper

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 50
    5 x 1 = 5
  1. A function in PHP which starts with _________ (double underscore) is know as...

    (a)

    Magic Function

    (b)

    Inbuilt Function

    (c)

    Default Function

    (d)

    User Defined 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. _________ is a concept that stores more than one value of same data type in single array variable.

    (a)

    Arrays

    (b)

    Segments

    (c)

    Functions

    (d)

    All of these

  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 define Function.

  8. Write Syntax of the 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 define and system define 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 EM Computer Applications free Online practice tests

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

Write your Comment