1. Question: Which indicates a general term that we can apply to variables,functions and various  other user defined objects?

    A
    Identifiers

    B
    Compound data type

    C
    Array

    D
    Symbol

    Note: Not available
    1. Report
  2. 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
  3. 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
  4. 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
  5. Question: By what name will  you call these is_float,is_array,is_integer etc ?

    A
    Type identifier functions

    B
    Data type

    C
    Compound data type

    D
    Functions type

    Note: Not available
    1. Report
  6. 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
  7. Question: Which of the followings are valid identifiers?

    A
    My_function

    B
    Size

    C
    _someword

    D
    !counter

    Note: Not available
    1. Report
  8. Question: In which positions PHP’s indexed array begin?

    A
    0

    B
    1

    C
    From 0 or 1

    D
    None

    Note: Not available
    1. Report
  9. Question: Which is identified as a special variable, which can store multiple values in one single variable?

    A
    Array

    B
    Variable

    C
    Functions

    D
    Operator

    Note: Not available
    1. Report
  10. Question: (A)This is the =, +=, *=, /=, .= _______ Operators  (B)This is the >, <, <=, >=, ==________ Operators (C)This is the &&, ||, !, _______ Operators.

    A
    Logical

    B
    Comparison

    C
    Assignment

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