61. What is the purpose of getting the parameter block? A. Permission to block B. Space separated block list C. Comma separated block list D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: This parameter allows you to set a comma separated list of block options.
62. What will happen if you set the private flag as 1? A. Test will be run only by the administrator B. Test will not be run C. Test is public D. Test is not displayed in public Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D Solution: Setting the private flag to 1 will make sure that the test is not displayed in the public list of tests.
63. What is the purpose of getting the paramerer fvonly? A. To repeat the view test B. To get the first view C. To debug the code D. None of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: If you set fvonly to 1, you get results only for the first view, and do not run the repeat view test.
64. What is the purpose of the file_get_contents()? A. To get the errors and exceptions B. To get the client’s response C. To get the server’s response D. None of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: The file_get_contents() is a PHP’s native function used to hit the URL and read the server’s response into a variable $wpt_response:
65. What will the file_get_contents() return? A. Server’s response B. Errors C. Exception D. Client’s response Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The file_get_contents() is a PHP’s native function used to hit the URL and read the server’s response into a variable $wpt_response:
66. How will you convert the returned API into an XML object? A. SimpleElement() B. SimpleXMLElement() C. XMLElement() D. None of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().
67. Which tag can handle mouse events in Netscape? A. img B. a C. br D. none of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The img element can handle mouse events in Netscape.
68. What is the tainted property of the window object? A. Pathname B. Protocol C. Default status D. Host Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: The Defaultstatus is the tainted property of the window object.
69. Which environment variable must the user enable in order to enable data tainting? A. ENABLE_TAINT B. MS_ENABLE_TAINT C. NS_ENABLE_TAINT D. ENABLE_TAINT_NS Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: The environment variable NS_ENABLE_TAINT must be enabled in order to enable data tainting.