1. Question: Scalar data types are used to represent____

    A
    a single value

    B
    a double value      

    C
    Equal value

    D
    All

    Note: Not available
    1. Report
  2. Question: Which of the strings is/are valid?

    A
    “Whoop-de-do”

    B
    "*9subway\n"

    C
    “123$%^789”

    D
    All

    Note: Not available
    1. Report
  3. Question: In PHP, instructions are terminated with a _______.

    A
    ;

    B
    #

    C
    !

    D
    %>

    Note: Not available
    1. Report
  4. Question:  Which of the following data types is/are compound?

    A
    Boolean

    B
    string

    C
    Array

    D
    Object

    Note: Not available
    1. Report
  5. Question: What is the correct way to create a function in PHP?

    A
    function myFunction()

    B
    new_function myFunction()

    C
    create myFunction()

    Note: Not available
    1. Report
  6. Question: What is the correct way to add 1 to the $count variable?

    A
    count++;

    B
    $count++;

    C
    ++count;

    D
    $count =+1;

    Note: Not available
    1. Report
  7. Question: What does break do?

    A
    Ends execution of the current switch structure

    B
    Moves on to the next iteration of the current for, foreach, while, do-while or switch structure

    C
    Ends execution of the current for, foreach, while, do-while or switch structure

    Note: Not available
    1. Report
  8. Question: Which operator is used to concatenate two strings in php?

    A
    dot operator (.)

    B
    plus operator (+)

    C
    minus operator(-)

    Note: Not available
    1. Report
  9. Question: Which of the following function is used for terminate the script execution in PHP?

    A
    break()

    B
    quit()

    C
    close()

    Note: Not available
    1. Report
  10. Question: How to returns any ensuring value back to the function caller?

    A
    using  break statement

    B
    using return statement

    C
    using Continue Statement

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