1. Question: Which of the following is short tag in PHP?

    A
    <? ... ?>

    B
    <% ... %>

    C
    <?= ... ?>

    D
    none

    Note: Not available
    1. Report
  2. Question: Compound data type allow ______ items?

    A
    single

    B
    multiple

    C
    boolean

    D
    none

    Note: Not available
    1. Report
  3. Question: Null data type recognizes ______ value?

    A
    1

    B
    2

    C
    3

    D
    4

    Note: Not available
    1. Report
  4. Question: How many variable scopes in PHP?

    A
    4

    B
    5

    C
    6

    D
    7

    Note: Not available
    1. Report
  5. Question: Which symbol is used for reference assignment?

    A
    $

    B
    &

    C
    @

    D
    ;

    Note: Not available
    1. Report
  6. Question: Which symbol is used for variable declaration?

    A
    #

    B
    $

    C
    @

    D
    %

    Note: Not available
    1. Report
  7. Question: Which scope is present in method not in field?

    A
    public

    B
    private

    C
    abstract

    D
    protected

    Note: Not available
    1. Report
  8. Question: What is the default scope method in PHP?

    A
    public

    B
    private

    C
    protected

    D
    abstract

    Note: Not available
    1. Report
  9. Question: Which key word is used to declare a class or function?

    A
    abstract

    B
    public

    C
    private

    D
    protected

    Note: Not available
    1. Report
  10. Question: What is the output of the following:
    $str= "good";
    $$str= "bye";
    echo ${$str};

    A
    good

    B
    bye

    C
    good bye

    D
    None

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