[Free] 2019(Nov) EnsurePass Microsoft 70-480 Dumps with VCE and PDF 91-100

Get Full Version of the Exam
http://www.EnsurePass.com/70-480.html

Question No.91

You develop a webpage.

The webpage must display a grid that contains one row and five columns. Columns one, three, and five are the same width. Columns two and four are the same width, but much wider than columns one, three, and five. The grid resembles the following image:

image

The grid must meet the following requirements:

image

image

Each row must be tall enough to ensure that images are not cut off. Each row must contain five columns.

image

The width of the columns must not change when the screen is resized or rotated. You need to define the style for the grid. Which CSS3 style should you use?

image

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Correct Answer: C

Explanation:

  • -ms-grid-rows property auto

  • The height of a row is computed based on the tallest child element in that column.

    Incorrect:

    Not A: The width of the columns must not change when the screen is resized or rotated.

    Not B, Not D: -ms-grid-rows property min-content

    The minimum height of any child elements is used as the height of the row. Note:

    * width

    The width of each column specified as one of the following values:

    A length consisting of an integer number, followed by an absolute units designator (quot;cmquot;, quot;mmquot;, quot;inquot;, quot;ptquot;, or quot;pcquot;) or a relative units designator (quot;emquot;, quot;exquot;, or quot;pxquot;).

    A percentage of the object width.

    A proportion of the remaining horizontal space (that is, the object width, less the combined widths of other tracks), consisting of an integer number followed by a fractional designator (quot;frquot;). For example, if quot;200px 1fr 2frquot; is specified, the first column is allocated 200 pixels, and the second and third columns are allocated 1/3 and 2/3 of the remaining width, respectively.

    Question No.92

    You implement an application by using HTML5 and JavaScript. You create a webpage that contains the following HTML:

    image

    The application must place a border on only the first UL element that is contained in the DIV element.

    You need to update the webpage. What should you do?

    image

    1. Option A

    2. Option B

    3. Option C

    4. Option D

    Correct Answer: B

    Question No.93

    You troubleshoot a webpage that contains the following HTML element:

    lt;canvas id= quot;clickCanvasquot; width-quot;300quot;gt; height= quot;300quot;gt;Your browser does not support the HTML5 canvas.lt;/canvasgt;

    The following JavaScript code is included in a script tag in the HEAD section of the webpage: (Line numbers are included for reference only.)

    image

    You need to invoke the clickReporter() JavaScript function when a user clicks the mouse on the canvas HTML element.

    What should you do?

    1. Add the following attribute to the canvas HTML element: clicked= quot;clickReporter()quot;

    2. Replace the code segment at line 06 with the following code segment: drawBox.Click = clickReporter;

    3. Insert the following code segment at line 07: canvas.onclick = clickReporter;

    4. Insert the following code segment at line 07: canvas, click = clickReporter;

    Correct Answer: C

    Question No.94

    You are implementing an application by using HTML5 and JavaScript. A web page contains the following HTML table.

    image

    The application must:

    image

    image

    Identify all rows in the table body that have a class attribute of selected Exclude the last selected row in the table

    You need to implement the web page according to the requirements. Which CSS selector should you use?

    1. tr:not(tr:last-child).selected lt; #dataTable

    2. #dataTable gt; tr.selected:not(tr:last-child)

    3. #dataTable tbody tr.selected:not(tr:last-child)

    4. #dataTable tr.selected:not(tr:last-child)

    Correct Answer: C

    Question No.95

    You create an application that sends information to a web service by using the following code:

    (Line numbers are included for reference only.)

    image

    When the web service returns a non-zero result code, you must raise an exception that contains the result code.

    You need to implement the code that generates the exception. Which line of code should you insert at line 04?

    1. CustomError .prototype = Error.prototype;

    2. CustomError [quot;ErrorTypequot;] = Error;

    3. CustomError.customError = true;

    4. Error-constructor = CustomError;

    Correct Answer: A

    Question No.96

    You are developing a customer web form that includes following HTML.

    lt;input id= quot;textAccountTypequot;/gt;

    You need to develop the form so that customers can enter only a valid account type consisting of two English alphabet characters.

    Which code segment should you use?

    image

    1. Option A

    2. Option B

    3. Option C

    4. Option D

    Correct Answer: B

    Question No.97

    You are developing an application that uses a JavaScript library. The library contains the following functions.

    image

    The application uses the following code. (Line numbers are included for reference only.)

    image

    The library may throw many types of exceptions. The exceptions are grouped by category. You need to catch and identify the exceptions by group.

    Which code segment should you insert at line 05?

    image

    1. Option A

    2. Option B

    3. Option C

    4. Option D

    Correct Answer: B

    Question No.98

    DRAG DROP

    You develop an HTML5 webpage. You have the following HTML markup:

    image

    You also have the following JavaScript variable defined: var languages = [];

    You need to add statements to an existing JavaScript function to sort the list items.

    Which four actions should you perform in sequence? (Develop the solution by selecting the required code segments and arranging them in the correct order.)

    image

    Correct Answer:

    image

    Question No.99

    DRAG DROP

    You create an HTML5 webpage. You have the following HTML markup:

    image

    You also have the following JavaScript code segment:

    var jsonFruit = { quot;applesquot; : quot;12quot;, quot;bananasquot; : quot;8quot;, quot;watermelonquot; : quot;3quot; }

    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.)

    image

    Correct Answer:

    image

    Question No.100

    DRAG DROP

    You have the following code:

    image

    The web service returns a JSON object that contains two properties named Description and FileName.

    The PersonImage object must meet the following requirements:

    image

    Create an object that represents an image that will be displayed.

    image

    image

    Set the image properties from the values that are returned by the web service. Expose the image as a property of the PersonImage object.

    You need to insert code at line 13 to complete the implementation of the PersonImage object.

    Which three actions should you perform in sequence to complete the implementation? (Develop the solution by selecting the required code segments and arranging them in the correct order.)

    image

    Correct Answer:

    image

    Get Full Version of the Exam
    70-480 Dumps
    70-480 VCE and PDF

    Leave a Comment

    This site uses Akismet to reduce spam. Learn how your comment data is processed.