PHP Filesystem Mcqs
Our collections of Multiple choice questions and answers focuses on study of PHP Filesystem. These questions are chosen from a collection of most authoritative and best reference books on PHP Language. Our aim is to prepare an individual for competitive exams like NTS, GAT, ECAT, University and College entrance exams and various tests and job interviews. One should practice our Mcqs to assimilate PHP Filesystem Topics comprehensively.
PHP Programming Mcqs
- Basics of PHP Mcqs
- PHP Arrays and Functions Mcqs
- PHP Constants and Operators Mcqs
- PHP Controls Structures Mcqs
- PHP Error and Exception Handling Mcqs
- PHP Filesystem Mcqs
- PHP Functions Mcqs
- PHP Objects Tools and Variables Mcqs
- PHP OOP Mcqs
- PHP Session Handling Mcqs
- Strings and Regular Expressions Mcqs
Computer MCQS
Sciences MCQS
2.
HTTP fopen tries to open an HTTP 1.0 connection to a file of a type
0
1
1.2
1.3
3.
Which function is identical to fsockopen ( )
Open ( )
Fopen ( )
Pfsockopen ( )
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4.
Rmdir (directory) function is used for
Removing files directory
Removing empty directory
Removing all old directories
All of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
5.
A socket is a kind of dedicated program that allows different programs to
Communicate
Send messages between them
Create connection with web server
All of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
6.
Web and database servers communicate via
Fsockopen ( )
Open ( )
Fopen ( )
Copen ( )
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7.
Fpassthru ( ) function reads all data from current position in an open file until
Middle of the file
End of the file
First line of the file
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8.
Fclose ($fd) is an example of
File write function
File close function
File read function
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9.
$hostname, $port, [error number, error string, timeout in seconds] all are parameters of
Fsockopen ( )
Pfsockopen ( )
Fopen ( )
Both a and b
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10.
Fileperms ( ) function returns what?
Returns file permission level
Returns file parameters
Returns file modification time
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11.
How many types of calendars are offered by PHP?
2
3
4
5
12.
Which from following calendar is offered by PHP?
Julian
Unixian
Jewish
All of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
13.
Which function is used to return date information?
Date ( )
Time_date ( )
Getdate ( )
All of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14.
For checking existence of DNS records, which function is used?
Get_dns ( )
Checkdnsrr ( )
Get_hostdns ( )
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15.
A large number of PHP functions are duplicated from
Windows
Macintosh
Unix
All of them