PHP Filesystem Multiple Choice Questions and Answers 1 pdf eBooks Download

Learn php filesystem multiple choice questions (MCQs), php test 1 online for exams. Practice file reading and writing functions MCQs questions and answers on file reading and writing functions, filesystem and directory functions with answers. Free php filesystem quiz, online study guide has helping answer key with choices as string, integer, character and none of them of multiple choice questions (MCQ) as file_get_contents function returns entire contents of a file as to test learning skills for viva exam preparation and job's interview questions. Study to learn file reading and writing functions quiz questions to practice online MCQs for competitive exam preparation test.

MCQ on PHP Filesystem Quiz pdf Download Test 1

MCQ. File_get_contents function returns entire contents of a file as

  1. Integer
  2. String
  3. Character
  4. None of them


MCQ. Any string can be broken up into an array by using

  1. file ( ) function
  2. explode ( ) function
  3. xplode ( ) function
  4. Both A and B


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

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


MCQ. If you would like to read a file character by character which function do you use?

  1. fopen ( )
  2. fread ( )
  3. fgetc ( )
  4. file ( )


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 ( )