30. What is the default size of a file set in upload_max_filesize ?
a) 1 MB
b) 2 MB
c) 2.5 MB
d) 3 MB
*31. How can I run COM object from remote server ?
a) like we run local objects
b) pass the IP of the remote machine as first parameter to the COM constructor.
c) pass the IP of the remote machine as second parameter to the COM constructor.
d) Both a and c
*32. ____________ function in PHP returns a list of response headers sent (or ready to send)
a) header()
b) headers_list()
c) header_sent()
d) header_send()
33. How can we count the number of elements in an array?
a) Using sizeof()
b) count()
c) Writing a user defined function and using array_search()
d) Both a and b
34. echo does not return any value
a) False
b) True
35. The windows version of PHP does not have built-in support for the calendar extension
a) False
b) True
36. Can echo in php accept more than 1 parameter?
a) Yes
b) No
37. In which variable is the users IP address stored?
a) $DOMAIN
b) $REMOTE_ADDR
c) $GLOBALS
d) $_ENV
38. What is the default execution time set in set_time_limit()?
a) 20 secs
b) 30 secs
c) 40 secs
d) 35 secs
39. Which of the following way is correct to comment a single line of code in php?
a) //Commented line
b) #commented line
c) ;commented line
d) both a and b