This page was exported from Braindump2go Free Exam Dumps with PDF and VCE Collection [ https://www.mcitpdump.com ] Export date:Fri Nov 22 5:58:52 2024 / +0000 GMT ___________________________________________________ Title: [2016 Feb-NEW]2016 Latest Braindump2go 70-480 eBook PDF Free Download Online --------------------------------------------------- 2016 February NEW ADDED 70-480 Exam Questions RELEASED Today! Exam Code: 70-480 Exam Name: Programming in HTML5 with JavaScript and CSS3 Certification Provider: Microsoft Corresponding Certifications: MCSD, MCSD: SharePoint Applications, MCSD: Web Applications, MCSD: Windows Store Apps, Microsoft Specialist: Visual Studio 2016 NEW 70-480 Exam Topics:1.Implement and manipulate document structures and objects2.Implement program flow3.Access and secure data4.Use CSS3 in applications Candidates for this 70-480 exam should have one or more years of experience programming the essential business/application logic for a variety of application types and hardware/software platforms using JavaScript. Candidates should also have a minimum of one to two years of experience developing with HTML in an object-oriented, event-driven programming model.   ATTENTION: 2016 70-480 NEW Questions are the most IMPORTANT! QUESTION 221You develop an HTML5 webpage that contains the following HTML markup: You have the following requirements:- Retrieve the content for any OPTION elements when the value of the selected attribute equals selected.- Add the content to a comma separated string.You need to retrieve the required data.Which two code segments should you add to the webpage? (Each correct answer presents a complete solution. Choose two.)  A.    Option AB.    Option BC.    Option CD.    Option DE.    Option E Answer: BDExplanation:Note:- select option:selectedselected SelectorDescription: Selects all elements that are selected. QUESTION 222Hotspot QuestionYou implement a callback function by using JavaScript.You need to process the returned XML data.How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.) Answer:   QUESTION 223Drag and Drop QuestionYou are creating a function by using JavaScript.You have the following requirements:- The function must display loan amounts to the user within the following HTML element:<div id="display"></div>- The loan amount of 2100 must display in the HTML element.- All declared variables and functions must be scoped to the myApp variable.You need to implement the function.How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Use only code segments that apply.) Answer:   QUESTION 224Hotspot QuestionYou create a custom style by using CSS3.A box with rounded corners must appear around text. The box must match the following illustration: You need to add the CSS3 markup to your style.How should you complete the relevant CSS styles? (To answer, select the appropriate option from each drop-down list in the answer area.) Answer:   QUESTION 225You want to obtain a list of all elements whose tag name is div, and you need to retrieve this list as quickly as possible. Which function is most appropriate for this task? A.    getElementsByNameB.    querySelectorAllC.    getElementsByTagNameD.    getElementsByClass Answer: C QUESTION 226You want to send XML data to a web service but you're not sure which property of the JQuery AJAX request to set.Which of the following properties should you use to specify the type of data you're sending? A.    contentTypeB.    contextC.    datatypeD.    data Answer: AExplanation:contentType is the property that specifies the content type of the data you're sending via the AJAX request. The default is application/x-www-form-urlencoded;charset=UTF-8, which should be fine in most cases. QUESTION 227You're developing a new website for a hardware store. Certain HTML controls need to be disabled depending on the day of the week and the time of day. JQuery provides the :disabled selector to select HTML elements that are disabled. Do you know which of these elements doesn't support the disabled attribute? A.    tableB.    inputC.    selectD.    option Answer: AExplanation:The disabled attribute only applies to certain input controls and not to static controls used for display or layout. In this example the table element is the odd one out. QUESTION 228The readonly attribute is great for preventing users from changing data in an input control. However, the readonly attribute can't be used for every input type.Do you know which one? A.    TextB.    DateC.    NumberD.    Checkbox Answer: D QUESTION 229You need to create an HTML table to display summary information for an online checkout page. This table will display all the products that the visitor has added to their basket, in addition to a total price for all the items.Which of the following HTML tags is not a valid child item for the table element? A.    trB.    tdC.    thD.    tf Answer: DExplanation:tf doesn't exist. If you want to add a table footer element then you should use tfoot. QUESTION 230You want to use JQuery to read the value of a textbox. This value contains the users full name which is needed for further processing in Javascript.Which code segment is NOT a workable solution? A.    value = $("#txt_name").text();B.    value = $("#txt_name").val();C.    value = $("#txt_name").attr('value');D.    document.getElementById('txt_name').value Answer: AExplanation:You should use the val() method for reading input values, whereas the text() method is for reading other html elements. QUESTION 231You're trying to use the new Canvas element in HTML5 to draw some fancy graphics on the page. You've been using the rect() function to draw a rectangle but the shape isn't appearing to users of the page.What mistake have you made? A.    You forgot to use clearRect()B.    You forgot to use closePath()C.    You forgot to use beginPath()D.    You forgot to use stroke() Answer: A QUESTION 232After developing a new form for your prestige client you discover that users are able to submit the form with invalid data in the date of birth field field. You want to add a property to the DOB input element to ensure that a date of birth is entered in the correct format.Which property should you use to achieve this? A.    acceptB.    valueC.    srcD.    pattern Answer: DExplanation:The Pattern property is used to specify a regular expression for an input element. The elements value is verified against this pattern when a user attempts to enter data. QUESTION 233You want to call a Javascript function by passing in an array of arguments. Which line of code should you use? A.    myFunc.call()B.    myFunc.apply()C.    myFunc.toSource()D.    myFunc.bind() Answer: BExplanation:The apply() method is the correct choice if you want to pass in an array of arguments. E.g. myFunc.apply(valueForThis, arrayOfArgs). To help you remember: a in apply for array of args and c in call for columns of args. QUESTION 234You want to use JQuery to select input elements where the elements name ends with the word "letter". Which code would you use? A.    $( "input[name$='letter']" )B.    $( "input[name*='letter']" )C.    $( "input[name!='letter']" )D.    $( "input[name^='letter']" ) Answer: AExplanation:The dollar ($) symbol is used to select elements where an attribute ends with a particular string value. QUESTION 235One of your prestige clients wants you to redesign their financial website so that it uses CSS stylesheets to improve the layout for mobile devices. You need to understand the order of priority that CSS styles are applied, do you know which one of the following takes precedence over the rest? A.    internal style sheetB.    inline styleC.    browser defaultD.    external style sheet Answer: BExplanation:Inline styles will always override any stylesheets you might have, internal or external. QUESTION 236The CSS z-index property determines the stack order of elements that share the same space. An element with a higher z-index will appear in front of another element with a lower z-index value. Do you know position type is NOT supported for z-index? A.    absoluteB.    staticC.    fixedD.    relative Answer: B QUESTION 237You're trying to add 10 spaces to a paragraph but the rendered page is always displaying a single space? What is the best way to fix this? A.    Wrap this sentence in an <em> tagB.    Wrap the spaces in a DIV tag firstC.    Use a textbox to display the sentence insteadD.    Use  for the extra spaces Answer: D QUESTION 238Your new dynamic website uses many XMLHttpRequests to access data from the server without reloading the current page. You know that the first parameter to the Open method of the XMLHttpRequest object is the type of request (POST or GET), do you know what the other two parameters are? A.    Url and AsyncB.    Data Type and Response TypeC.    Url and CallbackD.    Data Type and Callback Answer: A QUESTION 239You have developed a new e-Commerce website which requires users to register and enter their personal details. This can include names, addresses and phone numbers. You are keen to ensure that no information is displayed in textboxes when the browser tries to predict the value. Which property of the input element could you use to prevent this? A.    placeholderB.    acceptC.    formmethodD.    autocomplete Answer: DExplanation:You should set the autocomplete property to off which would instruct the browser to stop trying to display helpful autocomplete lists for each textbox. QUESTION 240Which of the following HTML elements would you use to define a group of media and a caption? A.    spanB.    objectC.    imgD.    figure Answer: DExplanation:The Figure object is a new element in HTML5 that allows you to define a group of media with a caption. QUESTION 241You're using Javascript to detected when the user presses keys on the keyboard.Do you know which order the Javascript events fire? A.    keydown, keypress, keyupB.    keydown, keyup, keypressC.    keypress, keydown, keyupD.    keypress, keyup, keydown, Answer: A QUESTION 242Which of the following is a new element in HTML5? A.    datalistB.    bodyC.    embedD.    legend Answer: AExplanation:The datalist element is new to HTML5. It defines a dropdown list. QUESTION 243As part of a small e-commerce website you're sending data back and forth between a set of web services. This data will dynamically refresh the page with additional content whilst also sending snippets of preferences for storage on a remote database.During the JQuery AJAX call an error is sometimes thrown and reported back through the error callback. Do you know which of the following is a possible error type? A.    All of theseB.    timeoutC.    parsererrorD.    abort Answer: AExplanation:All of those options are possible error types returned in the error callback, following an unsuccessful AJAX call. QUESTION 244Using JQuery you can easily hide an element by calling the hide() and fadeout() functions. How would you check if an element is visible though? A.    $(element).css('display') == 'none';B.    $(element).css('visibility') == 'hidden';C.    $(element).attr('display') == 'none';D.    $(element).attr('visibility') == 'hidden'; Answer: AExplanation:When you're using JQuery to hide and show elements the Display value is changed, NOT the Visibility value. You need to check whether this value is none to determine if the element is hidden (not displayed). QUESTION 245One of your clients has asked for a new form to be added to their HTML5 friendly website. This form accepts several pieces of information including first name, surname and phone number. You want to ensure that the user enters information into each of the fields before the form is submitted.Which attribute should you use? A.    compulsoryB.    requiredC.    optionalD.    enforced Answer: BExplanation:The required attribute can be used to specify that an input field must contain a value. QUESTION 246You're developing a new website that displays information on the current exchange rates worldwide. The page consists of many different elements and one particular element needs to be positioned so that its 100px below its normal position.Which value should you use for the position property? A.    absoluteB.    fixedC.    staticD.    relative Answer: DExplanation:The relative value will position the element relative to its normal position. For example if you add top:20 to an element with the relative position value it will be 20 pixels below its normal position. QUESTION 247You want to use JQuery to change the ALT value for a particular image. The alt value must be changed to "Scene from the park".What is the correct solution? A.    $( "#myphoto" ).attr( "alt", "Scene from the park" );B.    $( "#myphoto" ).attr("alt") = "Scene from the park";C.    $( "#myphoto" ).attr("val") = "Scene from the park";D.    $( "#myphoto" ).alt = "Scene from the park"; Answer: AExplanation:Changing attributes is done via the .attr() method in JQuery. This method accepts the name of the attribute to change and the new value. 2016 NEW ADDED 70-480 Exam Questions & NEW 70-480 Dumps 247Q Free Download from Braindump2go: http://www.braindump2go.com/70-480.html --------------------------------------------------- Images: --------------------------------------------------- --------------------------------------------------- Post date: 2016-03-01 07:02:52 Post date GMT: 2016-03-01 07:02:52 Post modified date: 2016-03-01 07:02:52 Post modified date GMT: 2016-03-01 07:02:52 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com