PHP Function and Array Model Questions

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 50
    5 x 1 = 5
  1. Which one of the following is the right way of defining a function in PHP?

    (a)

    function { function body }

    (b)

    data type functionName(parameters) { function body }

    (c)

    functionName(parameters) { function body }

    (d)

    function fumctionName(parameters) { function body }

  2. Indices of arrays can be either strings or numbers and they are denoted as

    (a)

    $my_array {4}

    (b)

    $my_array [4]

    (c)

    $my_array | 4 |

    (d)

    None of them

  3. PHP arrays are also called as

    (a)

    Vector arrays

    (b)

    Perl arrays

    (c)

    Hashes

    (d)

    All 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. A _________ array is an array containing one or more arrays.

    (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 2 = 10
  13. Define Array in PHP

  14. Usage of Array in PHP.

  15. List out the types of array in PHP.

  16. What is parameterized function?

  17. What is associative array?

  18. 5 x 3 = 15
  19. Differentiate user define and system define Functions.

  20. Write Short notes on Array.

  21. Differentiate Associate array and Multidimensional array.

  22. Write the rules for parameters.

  23. Write the advantages of functions.

  24. 3 x 5 = 15
  25. Explain Function concepts in PHP.

  26. Discuss in detail about User define Functions.

  27. Explain the Multidimensional Array.

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

TN 12th Standard EM Computer Applications free Online practice tests

Reviews & Comments about 12th Standard Computer Applications Chapter 4 PHP Function and Array Model Question Paper

Write your Comment