PHP Function and Array One Mark Questions

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:30:00 Hrs
Total Marks : 15
    5 x 1 = 5
  1. For finding nonempty elements in array we use

    (a)

    is_array ( ) function

    (b)

    sizeof ( ) function

    (c)

    array_count ( ) function

    (d)

    array_count ( ) function

  2. PHP arrays are also called as

    (a)

    Vector arrays

    (b)

    Perl arrays

    (c)

    Hashes

    (d)

    All of them

  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 1 = 5
  7. PHP has over _________ functions built in that perform different tasks.

    ()

    700

  8. PHP functions are dived into _____ types.

    ()

    three

  9. A user-defined Function declaration begins with the keyword __________

    ()

    function

  10. The parameter is also called as __________.

    ()

    arguments

  11. Array defines with the keyword___________.

    ()

    array ( )

  12. 5 x 1 = 5
  13. Indexed Arrays

  14. (1)

    Array containing one or more array

  15. Associative Arrays

  16. (2)

    Function with arguments

  17. Multidimensional Arrays

  18. (3)

    Numeric Index

  19. Parameterized function

  20. (4)

    Key valued pair

  21. Predefined function

  22. (5)

    System function

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

TN 12th Standard EM Computer Applications free Online practice tests

Reviews & Comments about 12th Computer Application - PHP Function and Array One Mark Question and Answer

Write your Comment