1. Question: Which of the following is an invalid mode for opening a file?

    A
    r

    B
    rw

    C
    w

    D
    a+

    E
    b

    Note: Not available
    1. Report
  2. Question: Which of the following functions is used to find the owner of a file on a UNIX system?

    A
    fileowner()

    B
    owner()

    C
    getowner()

    D
    whoisowner()

    E
    there is no inbuilt function for this

    Note: Not available
    1. Report
  3. Question: Which function is used to rename flle in PHP?

    A
    rname()

    B
    fname()

    C
    rename()

    D
    change_name()

    Note: Not available
    1. Report
  4. 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
  5. 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
  6. Question: Which of the following function removes the specified directory?

    A
    removedir()

    B
    deletedir()

    C
    rmdir()

    D
    touch()

    Note: Not available
    1. Report
  7. Question: Which of the following function reads an entire file?

    A
    fread()

    B
    readfile()

    C
    file()

    D
    fwrite()

    Note: Not available
    1. Report
  8. 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
  9. 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
Copyright © 2024. Powered by Intellect Software Ltd