Filesystem and Directory Functions MCQs Quiz Online PDF Download

Learn filesystem and directory functions MCQs, php test for learning online courses and test prep to practice. Php filesystem quiz has multiple choice questions (MCQ), filesystem and directory functions quiz questions and answers, filesystem and directory functions tutorials for online PHP string courses distance learning.

Php practice test MCQ: for seeing last time modification of a file, which function is used with choices fileinode ( ), filemtime ( ), file_time( ) and m_time ( ) problem solving skills for summative and formative assessment, competitive exam prep, interview questions with answer key. Free study guide is for online learning filesystem and directory functions quiz with MCQs to practice test questions with answers.

MCQs on Filesystem and Directory Functions Quiz PDF Download

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

  1. fileinode ( )
  2. filemtime ( )
  3. file_time( )
  4. m_time ( )

B

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

  1. unlink ( )
  2. stat ( )
  3. touch ( )
  4. symlink ( )

C

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

  1. feof ( )
  2. filesize ( )
  3. f_size ( )
  4. file_e ( )

B

MCQ. Rmdir (directory) function is used for

  1. Removing files directory
  2. Removing empty directory
  3. Removing all old directories
  4. All of them

B

MCQ. Fileperms ( ) function returns what?

  1. Returns file permission level
  2. Returns file parameters
  3. Returns file modification time
  4. None of them

A