1. Question: Which of the following is correct Super-global Variables?

    A
    "( $_GET[ ], $_POST[ ], $_REQUEST[ ], $_SERVER[ ], $_SESSION[ ], $GLOBAL[ ], $_COOKE[ ], $_FILES[ ], $_ENV[ ] )"

    B
    "( $_GET[ ], $_POST[ ], $_REQUEST[ ], $_SERVER[ ], $_GLOBAL[ ], $_COOKE[ ], $_SESSION[ ], $_FILES[ ], $_ENV[ ] )"

    C
    "( $_GET[ ], $_POST[ ], $_REQUEST[ ], $_SERVER[ ], $_SESSION[ ], $GLOBAL[ ], $_COOKE[ ], $_FILES[ ], $_ENVA[ ] )"

    D
    "( $_GET[ ], $_POST[ ], $_COKE[ ], $_REQUEST[ ], $_SERVER[ ], $_SESSION[ ], $GLOBAL[ ],$_FILES[ ], $_ENV[ ] )"

    Note: Not available
    1. Report
  2. Question: Which of the following is Compound Data Types?

    A
    Integer

    B
    Float

    C
    Array

    D
    String

    Note: Not available
    1. Report
  3. Question: Which are incorrect value used to represents true and false values?

    A
    $alive=true; //$alive is false.

    B
    $alive=true;     //$alive is 0.

    C
    $alive=0;     //$alive is false.

    D
    $alive=-1;     //$alive is true.

    Note: Not available
    1. Report
  4. Question: Identifiers can consists of only_______

    A
    letters

    B
    numbers

    C
    underscore characters

    D
    all

    Note: Not available
    1. Report
  5. Question: Which function returns the type of variable?

    A
    gettype()

    B
    settype()

    C
    ini_set()

    D
    none of the above

    Note: Not available
    1. Report
  6. Question: For adding a value to the end of array we use _______

    A
    int array_push(array <em>array</em>, mixed variable [, mixed variable.....])

    B
    int array_unshift(array array, mixed variable[,mixed variable....])

    C
    int array_shift(array array, mixed variable[,mixed variable....])

    D
    int array_pop(array array, mixed variable[,mixed variable....])

    Note: Not available
    1. Report
  7. Question: For removing a value from the front of an array we use _______

    A
    int array_shift(array array, mixed variable[,mixed variable....])

    B
    int array_unshift(array array, mixed variable[,mixed variable....])

    C
    int array_pop(array array, mixed variable[,mixed variable....])

    D
    int array_push(array array, mixed variable[,mixed variable....])

    Note: Not available
    1. Report
  8. Question: For removing a value from the end of array, we use ______

    A
    int array_unshift(array array, mixed variable[,mixed variable....])

    B
    int array_shift(array array, mixed variable[,mixed variable....])

    C
    int array_pop(array<em> array</em>, mixed variable[,mixed variable....])

    D
    int array_push(array array, mixed variable[,mixed variable....])

    Note: Not available
    1. Report
  9. Question: The in_array() function _______

    A
    search an array for a specific value.

    B
    push an array for a specific value.

    C
    shift an array for a specific value.

    D
    none

    Note: Not available
    1. Report
  10. Question: Which of the following functions are true?

    A
    The reset() function serves to set an array pointer back to the beginning of the array.

    B
    The end() function moves the pointer to the last position of an array.

    C
    The next() function returns the array value residing at the position immediately following that of the current array pointer.

    D
    The prev() function returns the array value residing at the location preceding the the current array pointer.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd