1. Question: The methods declared only within a parent class but are implemented in the child classes is called?

    A
    final method

    B
    interface

    C
    abstract method

    D
    public method

    Note: Not available
    1. Report
  2. Question: Encoded session data can be decoded. Which function offers a particularly convenient method for manually decode all session variables?

    A
    session_unset()

    B
    session_destroy()

    C
    session_decoding()

    D
    session_decode()

    Note: Not available
    1. Report
  3. Question: Choose the function from the followings which is used to change existing file name?

    A
    ren()

    B
    re()

    C
    rename()

    D
    All

    Note: Not available
    1. Report
  4. Question: Which of the following function determine whether a file specified by the input parameters filename is uploaded using the post method?

    A
    Uploaded_file()

    B
    File_uploaded()

    C
    Is_uploaded_file()

    D
    None

    Note: Not available
    1. Report
  5. Question: What is the principal purpose of PEAR?

    A
    and officially sanctioned library of open-source component contributed by PHP architects

    B
    and officially sanctioned library of documentation standard component contributed by PHP architects

    C
    and officially sanctioned library of web services product component contributed by PHP architects

    D
    All

    Note: Not available
    1. Report
  6. Question: Which of the following function parses each line of a file marked up in CSV format?

    A
    file()

    B
    fgetCSV()

    C
    fgetc()

    D
    fgetSS()

    Note: Not available
    1. Report
  7. Question: Given:
    <?php
    $checkState=4;
    for($count=1;$count<10;$count=$checkState+$count){
    if($checkState==4){
    echo "The value of count is :$count";
    break;
    }else{
    echo "The value of checkState is:$checkState";
    }
    }
    ?>
    Which of the followings are correct?

    A
    The value of count is :1

    B
    The value of count is :5

    C
    The value of count is :9

    D
    The” The value of chechState is:4” will be printed three times

    Note: Not available
    1. Report
  8. Question: What do you mean by Sanitizing input?

    A
    How to perform file system.

    B
    How to interact with data files.

    C
    How to prevent users from passing data that may cause harm to data.

    D
    None

    Note: Not available
    1. Report
  9. Question: Which keyword allows class members (methods & properties) to be used without needing to instantiate a new instance of the class?

    A
    Protected

    B
    Final

    C
    Static

    D
    Private

    Note: Not available
    1. Report
  10. Question: 
    <?php
    $vak=453;
    $_POST [‘guess’]=442
    if ($_POST[‘guess’]==$vak){
     echo ”Congratulations!“;
    } elseif (300-$vak) <10) {
     echo” You’re getting close!“;
    } else {
     echo “Sorry!“;
    }
    ?>
    Which of the following is correct?

    A
    The program segment does not work

    B
    This will work and print “Congratulations”

    C
    This will work and print “Sorry”

    D
    This will work and print “You’re getting close!”

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