Share some MCSD 70-480 exam questions and answers below.
You are developing an e-commerce website. Users place products into a shopping cart.You need to ensure that the shopping cart data is available between browser sessions.Which object should you use to store the shopping cart data?
You are developing a web page that performs CPU-intensive calculations. A web worker processes these calculations on a separate background thread. The process is instantiated from the web page. You need to stop the web worker process after the calculations are completed.Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. From the web page, call the close() method.
B. From the web worker process, call the terminate() method.
C. From the web page, call the terminate() method.
D. From the web worker process, call the close() method.
You are creating a rotating image of a company logo. The logo must spin on a horizontal axis and on a vertical axis. You need to use the least amount of development effort to meet the requirement.What should you do?
A. Create an Image Spinner object, load the image into the spinner, and set the horizontal and vertical rotation properties.
B. Create a Canvas Globe transform and set the image as the globe object. Set the horizontal and vertical rotation properties.
C. Create a single Canvas 3D transform and load the image into it. Set the rotation properties.
D. Create a Canvas 2D transform and set the image to rotate horizontally and vertically.
You develop an HTML5 chat application. You need to provide real-time updates to the messages that users post in the chat application.What should you do?
A. Use get o to obtain data updates.
B. Use a RESTful web service.
C. Use WebSockets.
D. Use ajaxo to obtain data updates.
You are creating a custom function. You pass an object named testObj to the function as a parameter. You do not use inheritance through the functions. The function must establish whether testObj inherits from another object named parentObj. You need to ensure that the function performs as required.Which method or operator should you add to the function?