PHP Filesystem Multiple Choice Questions and Answers 1 PDF Download

Learn php filesystem multiple choice questions, php online test 1 for e-learning, free online website design courses test. Practice file reading and writing functions multiple choice questions (MCQs), php filesystem quiz questions and answers. Learn file reading and writing functions, filesystem and directory functions ETS GRE test prep for online bachelor degree in computer science courses distance learning.

Study php filesystem quiz with multiple choice question (MCQs): file_get_contents function returns entire contents of a file as, for bachelor degree and masters in data science degree courses with choices string, integer, character with distance learning, competitive exams preparation for national and international universities' admissions. Practice skills assessment test to learn online file reading and writing functions quiz questions with php MCQs for IT certifications competitive exam prep.

MCQ on PHP Filesystem Test 1Quiz PDF Download

MCQ: File_get_contents function returns entire contents of a file as

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

B

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

D

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: If you would like to read a file character by character which function do you use?

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

C

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