Prepare for your Microsoft 70-480 certification exam: with free 70-480 exam questions, 70-480 dumps!
FREE Ddownload
https://drive.google.com/file/d/12xWR9OFoEKn1kJM579jPGklM4EDJ5iKs/view?usp=sharing
Microsoft 70-480 Exam Questions & Answers
https://www.pass4itsure.com/70-480.html
Free share Part of new exam questions | Microsoft Certified Professional 70-480
QUESTION 1
You are developing an HTML5 web application and are styling text.
You need to use the text-transform CSS property.
Which value is valid for the text-transform property?
A. Capitalize
B. Red
C. 20px
D. Italic
Correct Answer: A
CSS Syntax
text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
Example
Transform text in different elements:
h1 {text-transform:uppercase;}
h2 {text-transform:capitalize;}
p {text-transform:lowercase;}
Reference: CSS text-transform Property
http://www.w3schools.com/cssref/pr_text_text-transform.asp
QUESTION 2
You develop an HTML5 webpage that contains the following HTML markup:
Users must receive a message after they click the Submit button if the text entered into the favoriteColor text box is
fewer than 2 characters or greater than 10 characters.
You need to implement the testLength() function.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: D
Use three arguments: element, min, max. Compare element.value with min and max.
QUESTION 3
DRAG DROP
You have the following code.
You need to ensure that the function returns true if the value of each object in arrayObj is more than 10.
How should you complete the code? To answer, drag the appropriate code elements to the correct targets. Each code
element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to
view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
QUESTION 4
You are developing a web page by using HTML5 and C5S3. The page includes a tag with the ID set to validate.
When the page is rendered, the contents of the tag appear on a line separate from the content above and below it. The
rendered page resembles the following graphic.
You need to ensure that the page is rendered to meet the requirement. Which line of code should you use?
A. document.getElementById("validate").style.display = "inline";
B. document.getElementById("validate").style.margin = "0";
C. document.getElementById("validate").style.padding = "0";
D. document.getElementSyId("validate").style.display = "block";
Correct Answer: A
*
display: value;
value: inline
Default value. Displays an element as an inline element (like )
*
Example
Display elements as inline elements:
p.inline { display: inline; }
Reference: CSS display Property http://www.w3schools.com/cssref/pr_class_display.asp
QUESTION 5
HOTSPOT
You have the following code.
For each of the following statements, select yes if the statement is true. Otherwise, select No. NOTE: Each correct
selection is worth one point.
Hot Area:
Correct Answer:
QUESTION 6
You develop an HTML application that is located at www.adventure-works.com.
The application must load JSON data from www.fabrikam.com.
You need to choose an approach for loading the data.
What should you do?
A. Design a REST URI scheme with multiple domains.
B. Configure Cross-Origin Resource Sharing (CORS) on the servers.
C. Load the data by using WebSockets.
D. Use the jQuery getJSON method.
Correct Answer: B
*
Cross-origin resource sharing (CORS) is a mechanism that allows Javascript on a web page to make
XMLHttpRequests to another domain, not the domain the Javascript originated from. Such "cross-domain" requests
would otherwise be forbidden by web browsers, per the same origin security policy. CORS defines a way in which the
browser and the server can interact to determine whether or not to allow the cross-origin request. It is more powerful
than only allowing same-origin requests, but it is more secure than simply allowing all such cross-origin requests.
*
You must use Cross Origin Resource Sharing
It\\'s not as complicated as it sounds...simply set your request headers appropriately...in Python it would look like:
self.response.headers.add_header(\\'Access-Control-Allow-Origin\\', \\'*\\'); self.response.headers.add_header(\\'AccessControl-Allow-Methods\\', \\'GET, POST, OPTIONS\\'); self.response.headers.add_header(\\'Access-Control-Allow-Headers\\', \\'X-Requested-With\\'); self.response.headers.add_header(\\'Access-Control-Max-Age\\', \\'86400\\');
QUESTION 7
You create an HTML5 webpage. You have the following HTML markup:
You also have the following JavaScript code segment:
var jsonFruit = { "apples" : "12", "bananas" : "8", "watermelon" : "3" }
You need to add additional rows to the fruitTable element by processing the jsonFruit values in the order listed.
Which three actions should you perform in sequence? (Develop the solution by selecting the required code segments
and arranging them in the correct order.)
Select and Place:
Correct Answer:
QUESTION 8
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.
Correct Answer: C
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 on message event handler. Reference:
https://www.tutorialspoint.com/html5/html5_websocket.htm
QUESTION 9
You are developing a web page for runners who register for a race. The page includes a slider control that allows users
to enter their age. You have the following requirements:
All runners must enter their age.
Applications must not be accepted from runners less than 18 years of age or greater than 90 years.
The slider control must be set to the average age (37) of all registered runners when the page is first displayed.
You need to ensure that the slider control meets the requirements.
What should you do? (To answer, drag the appropriate word or number to the correct location in the answer area. Each
word or number may be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)
Select and Place:
Correct Answer:
Box 1-3: The is used for input fields that should contain a value within a range. Example Box 4-5: Use the value
attribute to set the default value Box 6: Definition and Usage The required attribute is a boolean attribute. When present,
it specifies that an input field must be filled out before submitting the form. Example Username: Reference: HTML
Input Types http://www.w3schools.com/html/html_form_input_types.as
QUESTION 10
You are developing an application for an online retailer. The company ships only to certain countries.
The application must:
Store a list of country codes in an array
Validate the country code of the shipping address against the countries array
Include a Boolean value in the array that indicates whether or not you can ship to the country
Display a list of countries that can be shipped to if the user inputs a code for a country that the retailer cannot ship to
You need to develop the application to meet the requirements.
Which code segment or segments should you use? (To answer, drag the appropriate code segment or segments from
the list of code segments to the correct location or locations in the work area. Each code segment may be used once,
more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:
Correct Answer:
!arr[ctry] is true when the array element is false.
The for..in statement iterates over the enumerable properties of an object, in arbitrary order. For each distinct property,
statements can be executed.
References:
https://www.w3schools.com/js/js_arrays.asp
https://www.w3schools.com/jsref/jsref_forin.asp
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in
https://www.html5rocks.com/en/tutorials/workers/basics/
NEW
https://www.pass4itsure.com/70-480.html
NEW
https://drive.google.com/file/d/1yQrGKFXRNbCa4przkcBejklCPEstjoHI/view?usp=sharing
Pass4itsure discount code 2020
Please read the picture carefully to get 12% off! The latest discount code "2020PASS" is provided below.