1. Question: Which are correct for opening php syntax?

    A
    (Delimiter style) <?php echo "

    some dynamic output here

    "; ?>

    B
    (Short tags style) <? echo "

    some dynamic output here

    "; ?>

    C
    (ASp style) <% print "

    some dynamic output here

    "; %>

    D
    (Script style) <script language="php"> print "This another php example"; </script>

    Note: Not available
    1. Report
  2. Question: What is the advance process that you can used in PHP?

    A
    Embedding multiple code fragment.

    B
    Embed php code directly HTML.

    C
    Both

    D
    None

    Note: Not available
    1. Report
  3. Question: Why will you use commenting in your php coding?

    A
    For your own benefit.

    B
    For somebody tasked with maintaining your code.

    C
    It is useful to read

    D
    Benefit for future using easily.

    Note: Not available
    1. Report
  4. Question: Which are php offered for commenting syntactical variation?

    A
    Double slash <?php   // Author:jason Gilmore echo"This is php programe"; ?>

    B
    Single slash  <?php   / Author:jason Gilmore echo"This is php programe"; ?>

    C
    shell syntax <?php   #Author:jason Gilmore echo"This is php programe"; ?>

    D
    Multiple line <?php <   /* Author:jason Gilmore email:abd@def.com */   echo"This is php programe"; ?>

    Note: Not available
    1. Report
  5. Question: If you want to insert a single dynamic  integer value which one will you select?

    A
    Printf("Bar inventory:%d bottles of tonic water.", 100);

    B
    Printf(\"Bar inventory:%b bottles of tonic water.\", 100);

    C
    Printf(\"Bar inventory:%f bottles of tonic water.\", 100);

    D
    print("Bar inventory:%d bottles of tonic water.",100);

    Note: Not available
    1. Report
  6. Question: If you want to see a blend of static text and dynamic information's output which statement will you use?

    A
    Printf();

    B
    Print();

    C
    Echo();

    D
    sprintf();

    Note: Not available
    1. Report
  7. Question: PCRE consists of ______

    A
    Perl Compatible Regular Expressions

    B
    Parl Compatible Regular Expression

    Note: Not available
    1. Report
  8. Question: Printf("$%.2f",43.2); What will be the above syntax's output?

    A
    $43.20

    B
    $43.20.

    C
    $43.2

    D
    $43.2.

    Note: Not available
    1. Report
  9. Question: $alive=false; //$alive is false.   $alive=1;     //$alive is true.   $alive=0;     //$alive is false.   $alive=-1;     //$alive is true.   Which data type indicates the above example?

    A
    Boolean

    B
    String

    C
    array

    D
    printf

    Note: Not available
    1. Report
  10. Question: <?php print "<p>I love the summertime</p>"; ?> <?php $season="summertime"; print "<p>I love the $season</p>"; ?> <?php print "<p>I love the summertime</p>"; ?> what will be the same identical output for each?

    A
    I love the summertime

    B
    I love the $session.

    C
    summertime

    D
    summertime,I love the summertime

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