New ! Computer Applications MCQ Practise Tests



PHP Function and Array One Mark Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:30:00 Hrs
Total Marks : 15
    5 x 1 = 5
  1. 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

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

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    700

  8. PHP functions are dived into _____ types.

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    three

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

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    function

  10. The parameter is also called as __________.

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    arguments

  11. Array defines with the keyword___________.

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    array ( )

  12. 5 x 1 = 5
  13. Indexed Arrays

  14. (1)

    System function

  15. Associative Arrays

  16. (2)

    Key valued pair

  17. Multidimensional Arrays

  18. (3)

    Numeric Index

  19. Parameterized function

  20. (4)

    Array containing one or more array

  21. Pre defined function

  22. (5)

    Function with arguments

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

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

Write your Comment