1. Question: We have two variable definitions: 1. 023 2. X23 Choose the correct options:

    A
    1 is octal

    B
    2 is hexadecimal

    C
    2 is octal

    D
    1 is hexadecimal

    Note: Not available
    1. Report
  2. Question: Which of the following variables are supported by 'str_replace()' function?

    A
    Integer

    B
    String

    C
    Boolean

    D
    Array

    Note: Not available
    1. Report
  3. Question: What will be the result of following operation?

    A
    3

    B
    128

    C
    120

    D
    6

    Note: Not available
    1. Report
  4. Question: If expire parameter of setCookie function is not specified then:

    A
    Cookie will never expire.

    B
    Cookie will expire with closure of the browser

    C
    Cookie will expire with within 30 minutes

    D
    Cookie will expire in 24 hours

    Note: Not available
    1. Report
  5. Question: Consider the following two statements:
    1  while (expr) statement
    2  while (expr): statement...endwhile;
    Which of the following are true in context of the given statements?

    A
    1 is correct and 2 is wrong

    B
    1 is wrong and 2 is correct

    C
    Both 1 & 2 are wrong

    D
    Both 1 & 2 are correct

    Note: Not available
    1. Report
  6. Question: What will be the output of the following code?
    $var = 10;
    function fn()
    {
       $var = 20;
       return $var;
    }
    fn();
    echo $var;

    A
    10

    B
    20

    C
    Undefined Variable

    D
    Syntax Error

    Note: Not available
    1. Report
  7. Question: Which of the following variable names are invalid?

    A
    $var_1

    B
    $var1

    C
    $var-1

    D
    $var/1

    E
    $v1

    Note: Not available
    1. Report
  8. Question: You are using sessions and session_register() to register objecrts. These objects are serialized automatically at the end of each PHP page and are de-serialized automatically on each of the following pages. Is this true or false?

    A
    True

    B
    False

    Note: Not available
    1. Report
  9. Question: Which of the following printing construct/function accepts multiple parameters?

    A
    echo

    B
    print

    C
    printf

    D
    All

    Note: Not available
    1. Report
  10. Question: Which of the following multithreaded servers allow PHP as a plug-in?

    A
    Netscape FastTrack

    B
    Microsoft's Internet Information Server

    C
    O'Reilly's WebSite Pro

    D
    All of the above

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