1. Question: Which type specifier is used to print fractional number?

    A
    %b

    B
    %f

    C
    %s

    D
    %u

    Note: Not available
    1. Report
  2. Question: Which of the following function has no return value?

    A
    print

    B
    printf

    C
    echo

    D
    sprintf

    Note: Not available
    1. Report
  3. Question: Which loop statement will be always executed al least onec?

    A
    for

    B
    while

    C
    do.........while

    D
    foreach

    Note: Not available
    1. Report
  4. Question: Which type of variable holds the value after the exit function block?

    A
    Local

    B
    Static

    C
    Global

    D
    None

    Note: Not available
    1. Report
  5. Question: ______ directive scope can be modified anywhere in php.

    A
    PHP_INI_ALL

    Note: Not available
    1. Report
  6. Question: What is the name of the utility used to extract NDB configuration information?

    A
    ndb_config

    B
    ster_config

    C
    nbd –configclu

    D
    configNbd

    E
    None of the above

    Note: Not available
    1. Report
  7. Question: 

    Which of the following is not a valid Bit operator?

    A
    &

    B
    &&

    C
    |

    D
    >>

    E
    <<

    Note: Not available
    1. Report
  8. Question: Which of the following are the valid PHP data types?

    A
    resource

    B
    null

    C
    boolean

    D
    string

    E
    Both a and c

    F
    Both b, c and d

    G
    All

    Note: Not available
    1. Report
  9. Question: You wrote following script to check for the right category: 1    <?php 2    $cate=5; 3    … 4    … 5     6    if  ($cate==5) 7    { 8    ? > 9    Correct category! 10    <?php 11    }else{ 12    ? > 13    Incorrect category! 14    < ? php 15    } 16    ? > What will be the output of the program if value of ‘cate’ remains 5?

    A
    Correct category!

    B
    Incorrect category!

    C
    Error due to use of invalid operator in line 6: “if ($cate==5)”

    D
    syntax at line 8, 10, 12 and Error due to incorrect 14

    Note: Not available
    1. Report
  10. 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
Copyright © 2024. Powered by Intellect Software Ltd