C# MCQ With Questions and Answer

                                
Which of the following functions can help prevent session fixation vulnerabilities?
A.magic_quotes_gpc()
B.strip_tags()
C.addslashes()
D.session_regenerate_id()
                                
Which of the following keywords is not new in PHP 5?
A.implements
B.instanceof
C.static
D.abstract
                                
What is the return value of the following code: substr_compare("foobar", "bar", 3);
A.-1
B.1
C.TRUE
D.0
E.FALSE
                                
Which of the following statements about SOAP is NOT true?
A.SOAP is a request-/response-based protocol.
B.SOAP can be transported using SMTP, HTTP and other protocols.
C.SOAP requires developers to use WSDL.
D.SOAP traffic via HTTP can be encrypted and compressed just like other HTTP requests.
                                
What does the chown() function do?
A.Change the file permissions.
B.Change the owner of the file.
C.Change the group of the file.
D.Checks if the file is accessible.