Hello Everyone...!!!
Here are some questions to solve for PHP developers...
PHP practice for WEB DEVELOPER
Que. 1 Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?
b) AddType application/x-httpd-php .asp
c) AddType application/x-httpd-asp .php
d) AddType application/x-httpd-asp .asp
Que. 2 __clone() is run on the ___ object.
b) pseudo
c) external
d) Copied
Que. 3 Which one of the following statements should be used to disable just the fopen(), and file() functions?
a)
disable_functions = fopen(),file()
b) disable_functions = fopen,file
c) functions_disable = fopen(),file()
d) functions_disable = fopen,file
b) disable_functions = fopen,file
c) functions_disable = fopen(),file()
d) functions_disable = fopen,file
Que.4 Before you can start processing images with PHP, you must first add the ability to upload images to your administrative form on ___.
a) .htaccess
b) function.inc.php
c) index.php
d) admin.php
b) function.inc.php
c) index.php
d) admin.php
Que. 5 Which one of the following methods recuperates any memory consumed by a result set?
a) destroy()
b) remover()
c) alloc()
d) free()
b) remover()
c) alloc()
d) free()
Que. 6 To make the ImageHandler class portable you should create a separate file for it called ___.
a) imagehandler.inc.php
b) images.inc.php
c) handler.inc.php
d) imghandler.inc.php
Que.7 PHP Fatal error: Class IllegalCheckout may not inherit from final class
b) PHP Fatal error: Cannot find object
c) PHP Fatal error: Cannot override final method
Que.8 Which function do you have to use to check whether the $path you’ve stored exists?
b) path()
c) is_dir()
d) path_dir()
Que. 9 Which of the following methods is used to execute the statement after the parameters have been bound?
b) bind_result()
c) bound_param()
d) bound_result()
Que. 10 Which one of the following method is invoked when an undefined method is called by client code?
b) __isset()
c) __unset()
d) __call()
Want more Questions CLICK THE LINKS BELOW :
PHP Multiple choice questions and answers-1
PHP Multiple choice questions and answers-2
PHP Multiple choice questions and answers-3
PHP Multiple choice questions-4
PHP Multiple choice questions and answers-2
PHP Multiple choice questions and answers-3
PHP Multiple choice questions-4
0 comments:
Post a Comment