Computer Science Degrees Online Courses

PHP MCQ Questions

PHP MCQs - Chapter

PHP Filesystem Multiple Choice Questions and Answers PDF p. 1

Practice PHP Filesystem multiple choice questions and answers, CS quiz answers PDF to solve php test 1 for online certification. Solve file reading and writing functions MCQs, PHP Filesystem Trivia Questions and answers for admission and merit scholarships test. "PHP Filesystem MCQ" PDF book: file reading and writing functions, filesystem and directory functions career test for online college classes.

"The file_get_contents function returns the entire contents of a file as" Multiple Choice Questions (MCQ) on php filesystem with choices string, integer, character, and none of them for bachelor's degree in computer science. Practice file reading and writing functions quiz questions for jobs' assessment test and online courses for jobs' assessment test and online courses for online computer science and engineering.

MCQs on PHP Filesystem Quiz

1.

The file_get_contents function returns the entire contents of a file as

Integer
String
Character
None of them

2.

Any string can be broken up into an array by using

file ( ) function
explode ( ) function
xplode ( ) function
Both A and B

3.

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

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

4.

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

fopen ( )
fread ( )
fgetc ( )
file ( )

5.

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

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