1. Question: $states = array("Florida");
        $state = "Ohio";
        printf("\$states is an array: %s <br />", (is_array($states) ? "TRUE" : "FALSE"));

    A
    $state is an array: FALSE

    B
    $states is an array: TRUE

    C
    $states is an array: NULL

    D
    None

    Note: Not available
    1. Report
  2. Question: The in_array() function _______

    A
    search an array for a specific value.

    B
    push an array for a specific value.

    C
    shift an array for a specific value.

    D
    none

    Note: Not available
    1. Report
  3. Question: Which error_reporting level describe the Fatal run-time errors?

    A
    E_CORE_ERROR

    B
    E_ERROR

    C
    E_USER_ERROR

    D
    None

    Note: Not available
    1. Report
  4. Question: OOP stads for?

    A
    Object-Oriented Programming

    B
    Object Oracle Programming

    C
    Omega optical process

    D
    Ocational outhority Page

    Note: Not available
    1. Report
  5. Question: Which of the following are commonly used type specifiers?

    A
    %b,%c,%d

    B
    %f,%o,%s

    C
    %u,%x,%X

    D
    %a,%e,$p

    Note: Not available
    1. Report
  6. Question: 
    $customers = array();
    $customers[] = array("Jason Gilmore", "jason@example.com", "614-999-9999");
    $customers[] = array("Jesse James", "jesse@example.net", "818-999-9999");
    $customers[] = array("Donald Duck", "donald@example.org", "212-999-9999");
    
    foreach ($customers AS $customer) {
     vprintf("<p>Name: %s<br />E-mail: %s<br />Phone: %s</p>", $customer); 
    }

    A
    Name: Jason Gilmore<br />E-mail: ">jason@example.com]jason@example.com<br />Phone: 614-999-9999

    B
    Name: Jesse James<br />E-mail: ">jesse@example.net]jesse@example.net<br />Phone: 818-999-9999

    C
    Name: Donald Duck<br />E-mail: ">donald@example.org]donald@example.org<br />Phone: 212-999-9999

    D
    All of these will be printed at a time

    Note: Not available
    1. Report
  7. Question: What is the difference between $message and $$message?

    A
    $message is a simple variable whereas $$message is a reference variable.

    B
    $message is a simple variable whereas $$message is a Object variable.

    C
    $message is a simple object  whereas $$message is a static variable.

    Note: Not available
    1. Report
  8. Question: Which of the following are scalar data type?

    A
    Boolean

    B
    Integer

    C
    Float

    D
    String

    E
    Array

    Note: Not available
    1. Report
  9. Question: PDO means ______.

    A
    PHP Data Object

    B
    PHP Data Objects

    C
    Personal Data Objects

    D
    None

    Note: Not available
    1. Report
  10. Question: Why the tilde charecter sign is used?

    A
    To represent the logical operator AND.

    B
    To represent the logical operator NOT.

    C
    To represent the logical operator OR.

    D
    All

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