Exam 5: Working With Files and Directories
Exam 1: Getting Started With Php83 Questions
Exam 2: Functions and Control Structures83 Questions
Exam 3: Manipulating Strings83 Questions
Exam 4: Handling User Input83 Questions
Exam 5: Working With Files and Directories84 Questions
Exam 6: Manipulating Arrays83 Questions
Exam 7: Working With Databases and Mysql83 Questions
Exam 8: Manipulating Mysql Databases With Php84 Questions
Exam 9: Managing State Information83 Questions
Exam 10: Developing Object-Oriented Php79 Questions
Select questions type
The ____ function writes a text string and creates the file if it does not exist.
(Multiple Choice)
4.8/5
(39)
The ____________________ function can be used to return the names of the entries in the directory.
(Short Answer)
4.8/5
(38)
You can use the fwrite() function to incrementally write data to a text file.
(True/False)
4.8/5
(29)
PHP provides the chper() function for changing the permission of a file from within PHP.
(True/False)
4.9/5
(35)
The ____ function reads the contents of a text file that stores each individual line as an element of an indexed array.
(Multiple Choice)
4.8/5
(41)
When downloading a file with PHP, you must provide the appropriate XHTML ____________________ to tell the client Web browser that a response contains more than just a Web page.
(Short Answer)
4.9/5
(27)
Before you can use the unlink() or rmdir() functions, you should use the ____________________ function to determine if the file or directory exists.
(Short Answer)
4.9/5
(33)
When you are finished working with a file stream, you use the ____ function to ensure that the file does not keep taking up space in your computer's memory.
(Multiple Choice)
4.9/5
(39)
The ____________________ function reads the file and directory names from an open directory.
(Short Answer)
4.8/5
(47)
What function returns a value of true when the file pointer reaches the end of the file?
(Multiple Choice)
4.8/5
(24)
The ____ constant instructs PHP to append data to any existing contents in a specified filename instead of overwriting it.
(Multiple Choice)
4.9/5
(39)
The second digit in the file permission code assigns permissions to the ____.
(Multiple Choice)
4.7/5
(37)
An input field of ____________________ within a form presents the user with a file selection control.
(Short Answer)
4.8/5
(32)
When reading, a ____________________ is defined as a string of characters ending with the end-of-line escape sequence or the end of the file.
(Short Answer)
4.7/5
(37)
The PHP ____________________ function will read a file from a disk and send it directly to the Web browser.
(Short Answer)
4.8/5
(37)
Every time you use the ____ function, the file pointer moves to the next character in the file.
(Multiple Choice)
4.9/5
(42)
To prevent multiple users from modifying a file simultaneously, you need to use the file_lock() function.
(True/False)
4.7/5
(32)
Showing 41 - 60 of 84
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)