最新的Microsoft Programming in HTML5 with JavaScript and CSS3 - 070-480免費考試真題

You have the following markup.

You need to create a single JSON object that directly contains the values from personForm and sends the object to a Web server API. The contents of the JSON object must have the format shown in the following sample.

How should you complete the JavaScript code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正確答案:

Explanation

var personalFormData = $("#personForm").serialize(submitPersonForm);
References:
You are creating a new Windows 8 application, and you want to set up TDD for your JavaScript code.
Which testing framework will you use

正確答案: C
說明:(僅 Fast2test 成員可見)
You develop an HTML5 webpage. You have the following HTML markup:

You need to change the background color for all of the elements whose name attribute ends with the word name.
Which code segment should you add to the webpage?

正確答案: D
說明:(僅 Fast2test 成員可見)
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.)
正確答案:

Explanation
Box 1:

Box 2:

Box 3:

* The appendTo() method inserts HTML elements at the end of the selected elements.
* example to loop over a JavaScript array object.
var json = [
{"id":"1","tagName":"apple"},
{"id":"2","tagName":"orange"},
{"id":"3","tagName":"banana"},
{"id":"4","tagName":"watermelon"},
{"id":"5","tagName":"pineapple"}
];
$.each(json, function(idx, obj) {
alert(obj.tagName);
});
Reference: jQuery appendTo() Method;JQuery Loop Over JSON String - $.Each Example
You are developing an HTML5 web page.
The appearance of the text box must change when a user moves the focus to another element on the page.
You need to develop the page to respond to user action.
Which line of code should you use?

正確答案: B
說明:(僅 Fast2test 成員可見)
You would like to create web applications and Windows 8 Windows Store applications by using HTML5, JavaScript, and CSS3, but while you're learning, you don't want to buy Visual Studio 2012.
Which of the following Visual Studio 2012 editions can you use for free to accomplish your goal?

正確答案: D
說明:(僅 Fast2test 成員可見)
You are developing an HTML5 web application that displays the current temperature whenever a button is clicked. The following code provides this functionality.

When the temperature is loaded, the status property on the loader instance does not change.
You need to ensure that the status property on the loader instance is updated when the temperature is loaded.
Which code segment should you use to replace the Loader function?

正確答案: D
說明:(僅 Fast2test 成員可見)
You are troubleshooting an application.
Users report that the UI is slow to respond.
You need to improve UI responsiveness by moving application tasks to web workers.
Which two tasks can you move to achieve this goal? (Each correct answer presents a complete solution.
Choose two.)

正確答案: A,C
說明:(僅 Fast2test 成員可見)
You are developing an HTML5 page named main.html. The JavaScript code for the main page is located in a file named myApp.js.
You need to create a web worker and instantiate it from main.html.
Where should you place the web worker code?

正確答案: B
說明:(僅 Fast2test 成員可見)
You are developing an HTML5 page that has an element with an ID of picture. The page includes the following HTML.

You need to move the picture element lower on the page by five pixels.
Which two lines of code should you use? (Each correct answer presents part of the solution. Choose two.)

正確答案: A,B
說明:(僅 Fast2test 成員可見)
You are creating a JavaScript function that displays the name of a web application.
You declare the following button element.
<input type="button" id= "About" value="About" />
When a user clicks the button, a JavaScript function named About must be called.
You need to create an event handler that calls the About function when the button is clicked.
Which two code segments can you use? (Each correct answer presents a complete solution. Choose two.)

正確答案: A,C
說明:(僅 Fast2test 成員可見)
You have the following code:

You need to ensure that the content appears as shown in the following exhibit:

Which display attribute should you use for the red div?

正確答案: C
說明:(僅 Fast2test 成員可見)
You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style sheets.
You need to order the style sheets by greatest CSS rule weight to lowest CSS rule weight.
In which order will the five style sheets be applied by the browser? To answer, move the style sheet types from the list of style sheet types to the answer area and arrange them in the order in which the browser will apply them. The first style sheet that the browser will apply must appear at the top of the list in the answer area.
正確答案:

Explanation

References:
https://www.w3.org/TR/css-cascade-3/#importance
You would like to create a web application by using HTML5, JavaScript, and CSS3.
Which of the following Visual Studio 2012 editions can you use? (Choose all that apply.)

正確答案: A,B,C,E
說明:(僅 Fast2test 成員可見)

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어