1. Question: Which of the following is correct with regard to echo and print ?

    A
    echo is a construct and print is a function

    B
    echo is a function and print is a construct

    C
    Both are functions

    D
    Both are constructs

    Note: Not available
    1. Report
  2. Question: Which of the following is not a file related function in PHP?

    A
    fclose

    B
    fopen

    C
    fwrite

    D
    fgets

    E
    fappend

    Note: Not available
    1. Report
  3. Question: Which of the following statements is not true with regard to abstract classes in php5?

    A
    Abstract classes are introduced in PHP5

    B
    A class with a single abstract method must be declared abstract

    C
    Abstract class can contain non abstract methods

    D
    Abstract method must have method definition and can have optional empty braces following it

    Note: Not available
    1. Report
  4. Question: What will be the result of the following expression:
    6+4 * 9-3

    A
    60

    B
    87

    C
    39

    D
    30

    Note: Not available
    1. Report
  5. Question: Which of the following printing construct/function accepts multiple parameters?

    A
    echo

    B
    print

    C
    printf

    D
    All of the above

    Note: Not available
    1. Report
  6. Question: Which of the following type cast is not correct?
    1 <?php
    2 $fig = 13;
    3 $varb1 = (real) $fig;
    4 $varb2 = (double) $fig;
    5 $varb3 = (decimal) $fig;
    6 $varb4 = (bool) $fig;
    7?>

    A
    real

    B
    double

    C
    decimal

    D
    boolean

    Note: Not available
    1. Report
  7. Question: What will be the output of the following code?
    $a = 10;
    if($a > 5 OR < 15)
       echo "true";
      else
        echo "false"

    A
    true

    B
    false

    C
    No output

    D
    Parse Error

    Note: Not available
    1. Report
  8. Question: Which of the following is not a predefined constant in PHP?

    A
    TRUE

    B
    FALSE

    C
    NULL

    D
    _FILE_

    E
    CONSTANT

    Note: Not available
    1. Report
  9. Question: Which of the following is not true regarding XForms?

    A
    PHP provides support for XForm

    B
    It can be used on PDF documents

    C
    The data is sent in XML format

    D
    The action and method parameters are defined in the body

    Note: Not available
    1. Report
  10. Question: Which of the following printing construct/function accepts multiple parameters?

    A
    echo

    B
    print

    C
    printf

    D
    All of the above

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