READ Free Dumps For Microsoft- 70-480
Question ID 14994 | 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?
|
Option A | Create an Image Spinner object, load the image into the spinner, and set the horizontal and vertical rotation properties.
|
Option B | Create a Canvas Globe transform and set the image as the globe object. Set the horizontal and vertical rotation properties.
|
Option C | Create a single Canvas 3D transform and load the image into it. Set the rotation properties.
|
Option D | Create a Canvas 2D transform and set the image to rotate horizontally and vertically.
|
Correct Answer | C |
Explanation Explanation: CSS3 allows you to format your elements using 3D transforms. There are two 3D transform methods: rotateX() - With the rotateX() method, the element rotates around its X-axis at a given degree. rotateY() - With the rotateY() method, the element rotates around its Y-axis at a given degree. Reference: CSS3 3D Transforms
Question ID 14995 | 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?
|
Option A | Use get o to obtain data updates.
|
Option B | Use a RESTful web service.
|
Option C | Use WebSockets.
|
Option D | Use ajaxo to obtain data updates.
|
Correct Answer | C |
Explanation Explanation: Web Sockets is a next-generation bidirectional communication technology for web applications which operates over a single socket and is exposed via a JavaScript interface in HTML 5 compliant browsers. Once you get a Web Socket connection with the web server, you can send data from browser to server by calling a send() method, and receive data from server to browser by an onmessage event handler. Reference: HTML5 - WebSockets Tutorial