PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.7)

Briefing 70-480: Programming in HTML5 with JavaScript and CSS3 (updated November 29th, 2017)

which order should you arrange the code blocks to devel…

DRAG DROP
You have a function named getContent that returns a string.
Sometimes, the function throws an exception.
You need to develop a method named writeContent. writeContent must generate an HTML page that contains
the following:
the text “Welcome”
the content returned by thegetContentmethod or the exception message of an exception thrown by
thegetContentmethod
the text “Bye”
In which order should you arrange the code blocks to develop the solution? To answer, move all code blocks
from the list of code blocks to the answer area and arrange them in the correct order.
Select and Place:

Which code segment or segments should you use?

DRAG DROP
You are developing a web application that consumes data from a server named sample-host.The application must:
Open a WebSocket connection tosample-host
Return the status of the connection to the web page
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 to the correct location or locations. 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:

You need to ensure that when the button is clicked, a m…

DRAG DROP
You have the following markup.

You need to ensure that when the button is clicked, a message appears that displays the value of the button.How should you complete the code? To answer, drag the appropriate code elements to the correct targets in
the answer area. 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.
Select and Place:

Which five JavaScript code segments should you use?

DRAG DROP
You have the following HTML markup.

You need to ensure that when a user presses btnDraw, a rectangle that has the following characteristics is
drawn:
The y-coordinate must equal 10.
The x-coordinate must equal 10.
The rectangle must have a height and width of 100.
The solution must use local variables only.
Which five JavaScript code segments should you use? Develop the solution by selecting and arranging the
required code blocks in the correct order.
Select and Place:


Page 1 of 2612345...1020...Last »