1. Question: What are the comments of  PHP?

    A
    /* */

    B
    //

    C
    #

    D
    ? ?

    Note: Not available
    1. Report
  2. Question: PHP data types are ______.

    A
    Boolean & Integer

    B
    Float & String

    C
    Array & Object

    D
    Resource & NULL

    Note: Not available
    1. Report
  3. Question: If we want to return of length, we use ______ .

    A
    strlen("");

    B
    strlen();

    C
    strlength("");

    D
    str("");

    Note: Not available
    1. Report
  4. Question: <?php echo strlen(“We are round 15 @ IDB-BISEW”); ?> This code produces the following:

    A
    27

    B
    26

    C
    25

    D
    28

    Note: Not available
    1. Report
  5. Question: <?php echo strpos("We are round 15 @ IDB-BISEW","15"); ?> This code produces the following:

    A
    13

    B
    14

    C
    12

    D
    "15"

    Note: Not available
    1. Report
  6. Question: 
    <?php $apon=array(“Mony”,”Emdad”,”Sefat”); 
    foreach($apon as $hasan) { echo $hasan; }
    ?>
    This code produces the following:

    A
    MonyEmdadSefat

    B
    aponMonyEmdad

    C
    Mony Emdad Sefat

    D
    aponMonyEmdadSefathasan

    Note: Not available
    1. Report
  7. Question: How many ways for Function arguments can be passed?

    A
    2

    B
    3

    C
    12

    D
    0

    Note: Not available
    1. Report
  8. Question: PHP can be run in a______ or______ or______.

    A
    Restricted

    B
    safe

    C
    mode

    D
    chart

    Note: Not available
    1. Report
  9. Question: <?php // Title: My first PHP script // Author: Jason Gilmore echo "This is a PHP "; # Title: My first PHP script # Author: Jason Gilmore echo "This is a PHP program."; ?> This code produces the following:

    A
    This is a PHP This is a PHP program.

    B
    This is a PHPThis is a PHP program.

    C
    This is a PHP This is a PHP program.

    D
    This is a PHP & PHP program.

    Note: Not available
    1. Report
  10. Question: <?php $heavyweight = "Ashiq Al Amin"; $lightweight = "Mahmudul Hasan"; echo $heavyweight, " and ", $lightweight, " are great fighters."; ?>

    A
    Ashiq Al Amin and Mahmudul Hasan are great fighters.

    B
    heavyweight and lightweight are great fighters.

    C
    $heavyweight, " and ", $lightweight, " are great fighters.

    D
    Ashiq Al Amin and Mahmudul Hasan

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