1. Question: PHP outputting functions are

    A
    echo

    B
    print_r()

    C
    print()

    D
    write()

    Note: Not available
    1. Report
  2. Question: By using which statement you can get your output to the browser?

    A
    echo();

    B
    print();

    C
    printf();

    D
    sprintf();

    Note: Not available
    1. Report
  3. Question: <?php $name="Lennox"; $names="Floyd "; echo $name,"and", $names, "are great fighters"; ?> What will be the output of the above syntax?

    A
    Lennox and Floyd are great fighters

    B
    Lennox Lewis,  are great fighters,

    C
    Lennox Lewis, Floyd Mayweather

    D
    Lennox Lewis and  Floyd Mayweather

    Note: Not available
    1. Report
  4. Question: Which of the followings are called type specifiers?

    A
    %s

    B
    %b

    C
    <==>

    D
    &&

    Note: Not available
    1. Report
  5. Question: What will be the correct output of the following syntax? <?php $total=5; $count=”15”; $total+=$count; ?>

    A
    20

    B
    15

    C
    515

    D
    5

    Note: Not available
    1. Report
  6. Question: What will be the correct output of the following syntax?
    <?php
    $total=”45 fire engines”;
    $incoming=”10”;
    $total=$incoming+$total
    ?>

    A
    55

    B
    45 fire engines

    C
    45 fire engines10

    D
    55 fire engines

    Note: Not available
    1. Report
  7. Question: What will be the correct output of the following syntax?
    <?php
    $val1=”1.2e3”;
    $val2=2;
    Echo $val1 * $val2;
    ?>

    A
    2400

    B
    24e

    C
    2.4e3

    D
    243e

    Note: Not available
    1. Report
  8. Question: Which will you select for the following type identifier function’s output? <?php $item=43; Printf(“The variable \$item is of type array: %d <br/>”, is_array($item)); Printf(“The variable \$item is of type integar: %d <br/>”, is_ integar ($item)); Printf(“The variable \$item is of type numeric: %d <br/>”, is_ numeric ($item)); ?>

    A
    The variable  $item is of type array:0 The variable  $item is of type integer:1 The variable  $item is of type numeric:1

    B
    The variable  $item is of type array:0 The variable  $item is of type integer:1 The variable  $item is of type numeric:0

    C
    The variable  $item is of type array:0 The variable  $item is of type integer:0 The variable  $item is of type numeric:1

    D
    The variable  $item is of type array:0 The variable  $item is of type integer:0 The variable  $item is of type numeric:0

    Note: Not available
    1. Report
  9. Question: What means %s?

    A
    Argument considered a string; presented as a string

    B
    Argument considered an integer

    C
    Argument considered an integer; presented as a character corresponding to that ASCII value

    D
    none

    Note: Not available
    1. Report
  10. Question: There are two common methods for passing data from one script to another:

    A
    GET

    B
    POST

    C
    REQUEST

    D
    GLOBAL

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