Can someone tell me if are the answers for this questions are correct
Q: Type-hinting and the instanceof keyword can be used to check what types of things about variables?
Answers (choose 3) a) If a particular child class extends from it b) If they are an instance of a particular interface c) If they are an abstract class d) If they have a particular parent class e) If they are instance of a particular class
A: I think it is (e, d, a)
Q: When embedding PHP into XML documents, what must you ensure is true in order for things to function properly?
Answer: a) Disabling of the short_tags in PHP.ini directives b) Enabling the asp_tags PHP.ini directives c) That you have Xpath support enabled in PHP5 d) That your XML documents are well-formed e) None of the above, PHP can be embedded in XML in all cases
A: I think it is (e)
Q: The following is common XML structure used in service oriented architectures, what does it represent?
<?xml version=”1.0”>
<methodCall>
<methodName>myMethod</methodName>
<params>
<param>
<value><string>HI!</string></value>
</param>
</params>
</methodCall>
Answer a) None of the above b) A fragment of a complete SOAP request c) XML-RPC d) REST e) SOAP
A: I think it is (e)
...and
Q: The MVC pattern in Web development involves which of the following components?
Answers (choose 4) a) View b) Controller c) Validation d) Model e) Front Controller
A: I think it is (a, b, d, c)