Computer Science Degrees Online Courses

PHP MCQs

PHP MCQs - Topic

Filesystem and Directory Functions MCQ with Answers PDF

Practice Filesystem and Directory Functions Multiple Choice Questions (MCQ), php quiz answers PDF with live worksheets for online degrees. Solve php filesystem Multiple Choice Questions and Answers (MCQs), Filesystem and Directory Functions quiz questions bank for top computer science schools. "Filesystem and Directory Functions MCQ" PDF book: filesystem and directory functions, file reading and writing functions test prep for associates in computer science.

"For seeing the last time modification of a file, which function is used" Multiple Choice Questions (MCQ) on filesystem and directory functions with choices fileinode ( ), filemtime ( ), file_time( ), and m_time ( ) for top computer science schools. Solve filesystem and directory functions quiz questions for merit scholarship test and certificate programs for online degrees.

MCQs on Filesystem and Directory Functions

1.

For seeing the last time modification of a file, which function is used

fileinode ( )
filemtime ( )
file_time( )
m_time ( )

2.

Which function is used to set a modification time, and creates a file if it is not exist

unlink ( )
stat ( )
touch ( )
symlink ( )

3.

Which function returns and caches the size of a file in bytes?

feof ( )
filesize ( )
f_size ( )
file_e ( )

4.

rmdir (directory) function is used for

Removing files directory
Removing empty directory
Removing all old directories
All of them

5.

fileperms ( ) function returns what?

Returns file permission level
Returns file parameters
Returns file modification time
None of them