C# MCQ With Questions and Answer

                                
Which of these protocols are NOT governed by the W3C in their latest versions? (Choose 2)
A.XML-RPC
B.SOAP
C.WSDL
D.UDDI
                                
You analyze the code of a collegue and see, it uses the function strcasecmpYou try it out to see what it does and use the following function call: strcasecmp('hello my dear!', 'Hello my DEAR!'); The function call returns "0"What does that mean?
A.String 1 is less than string 2.
B.The strings are considered equal.
C.String 2 is less than string 1.
D.The strings have equal length.
                                
Which technique should be used to speed up joins without changing their results?
A.Add indices on joined columns
B.Add a WHERE clause
C.Add a LIMIT clause
D.Use an inner join
                                
How can you redirect a client to another page using PHP?
A.header('Location: /another_page.php');
B.header('Content-Location: /another_page.php');
C.header('Redirect: /another_page.php');
D.header('Redirect: /another_page.php', 1, 302);
E.header('HTTP/1.1 302 /another_page.php');
                                
What is the output of the following code? str_pad('PHP', 10, 'P', STR_PAD_BOTH);
A.H
B.PHPPPPPPPP
C.PPPPHPPPPP
D.PPPPPPPPHP