1. Question: PHP does not support which of the following OOP properties?

    A
    Object Cloning

    B
    Multiple inheritance

    C
    Interface

    D
    Namespace

    Note: Not available
    1. Report
  2. Question: What is the correct way to open the file “time.txt” as read and write?

    A
    open(“time.txt);

    B
    fopen(“time.txt,”r”);

    C
    open(“time.tx,”read”t);

    D
    fopen(“time.txt”,”r+”);

    Note: Not available
    1. Report
  3. Question: If you want to read and modify file, then you put 2nd argument value of fopen() to_____

    A
    a+

    B
    r+

    C
    w+

    D
    r

    Note: Not available
    1. Report
  4. Question: Which function create a new session of continues a current session?

    A
    SessionStart

    B
    Session_Start

    C
    Start_session

    D
    All

    Note: Not available
    1. Report
  5. Question: Which of the following can be defined as the translation of data into a format that is intendent to be unreadable by anyone except the intended party

    A
    Decryption

    B
    Encryption

    C
    None

    D
    Translate

    Note: Not available
    1. Report
  6. Question: What is the output from the followings?
    <?php
    $sString=”Bangladesh”;
    Echo substr($sString,0,6);
    ?>

    A
    Bangla

    B
    ladesh

    C
    Bangladesh

    D
    None

    Note: Not available
    1. Report
  7. Question: In PHP, which of the following function is used to insert content of one PHP file into another PHP file before server executes it

    A
    include[]

    B
    #include()

    C
    Include()

    D
    #include{}

    Note: Not available
    1. Report
  8. Question: Which of the following statement is used for pulling each key/value pair from the array until all items have been retrieved?

    A
    for statement

    B
    foreach statement

    C
    do-while statement

    D
    None

    Note: Not available
    1. Report
  9. Question: Which are the fundamental concept of object oriented programming?

    A
    inheritance

    B
    polymorphism

    C
    encapsulation

    D
    All

    Note: Not available
    1. Report
  10. Question: Which of the following function sorts array items in descending order?

    A
    asort

    B
    sort

    C
    rsort

    D
    ksort

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