What should you do?

HOTSPOT You are developing a web application that retrieves data from a web service. The data being retrieved is a custom binary datatype named bint. The data can also be represented in XML. Two existing methods named parseXml() and parseBint() are defined on the page. The application must: • Retrieve...

January 24, 2019 No Comments READ MORE +

What should you do?

DRAG DROP 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...

January 23, 2019 No Comments READ MORE +

Which code segment should you use?

HOTSPOT You are creating a web worker for an HTML5 application. The following tasks must be performed from within the web worker: • Register an event listener for the web worker • Start and stop the web workerYou need to define a function that performs the required tasks. Which code...

January 23, 2019 No Comments READ MORE +

Which HTML should you use?

You are developing a customer web form that includes the following HTML. <input id="txtValue"/> You need to change the HTML markup so that customers can enter only a valid three-letter country code. Which HTML should you use?A . <input id="txtValue" type="country"/>B . <input id="txtValue" type="text" required="xxx"/>C . <input id="txtVa!ue" type="text"...

January 22, 2019 No Comments READ MORE +

Which code segment should you use?

You are developing an HTML5 web application that displays customer mailing address information. The application loads addresses from a web service by using AJAX. The following code defines a Customer object and loads address data. You need to implement the loadAddress function. Which code segment should you use? A ....

January 20, 2019 No Comments READ MORE +

Which code segment should you use?

You are developing an application that consumes an external web service that returns the latest stock rate. The application has two methods: • The getResults() method makes an AJAX web service request • The ShowRate() method displays the stock rate from the web service response You need to ensure that...

January 20, 2019 No Comments READ MORE +

Which line of code should you use?

You are testing the value of the following variable in JavaScript. var height = "300"; A block of code must execute if the following conditions are true: • The height variable is set to 300 • The height variable is of type string You need to implement the code to...

January 19, 2019 No Comments READ MORE +

Which values are valid for the text-transform property?

You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property. Which values are valid for the text-transform property?A . hiddenB . blinkC . capitalizeD . line-throughView AnswerAnswer: C Explanation: CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit; Example Transform text in different elements: h1 {text-transform:uppercase;}...

January 18, 2019 No Comments READ MORE +

Which code segment should you use?

You are creating a JavaScript object that represents a customer. You need to extend the Customer object by adding the GetCommission() method. You need to ensure that all future instances of the Customer object implement the GetCommission() method. Which code segment should you use? A . Option AB . Option...

January 18, 2019 No Comments READ MORE +

Which value is valid for the text-transform property?

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 . CapitalizeB . RedC . 20pxD . ItalicView AnswerAnswer: A Explanation: CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit; Example Transform text in different elements: h1 {text-transform:uppercase;}...

January 17, 2019 No Comments READ MORE +