PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which CSS style should you apply?

You are developing an application that retrieves a stock rate from an external web service. A web page displays
a simple rotating animation to indicate whether the stock rate is increased or decreased.
The default image, as shown in the following graphic, indicates unchanged or neutral.

The arrow must point down if the stock rate is decreased, as shown in the following graphic.

You need to ensure that the arrow points down when the stock rate decreases.
Which CSS style should you apply?

Which line of code should you insert at line 09?

You are developing a JavaScript library.
You have the following requirements:
Custom exceptions must include an error message and custom error number.
These exceptions must be thrown when data validation errors occur.
Developers must call the library to easily catch the exception and identify the problem.
You develop the following code. (Line numbers are included for reference only.)

You need to complete the code to meet the requirements.
Which line of code should you insert at line 09?

Which two actions can you perform to achieve this goal?

You are developing a web page that performs CPU-intensive calculations. A web worker processes these
calculations on a separate background thread. The process is instantiated from the web page.
You need to stop the web worker process after the calculations are completed.
Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution.
Choose two.)

Which code segment should you use?

You are developing an HTML5 web application. The application loads data from a web service by using AJAX.
The application displays the data by calling the displayData function. The data is loaded by using the following
code.

You need to ensure that the data is displayed when it is successfully retrieved from the web service.
Which code segment should you use?

Which code segment should you use?

You are developing a website that helps users locate theaters in their area from a browser. You created a
function named findTheaters ().
The function must:
Get the current latitude and longitude of the user’s device
Pass the user’s location to findTheaters()
The user needs to access the geolocation information from the browser before searching for theaters.
Which code segment should you use?

Which style should you use?

Your company uses a third-party component that generates HTML for a website. The third-party component
creates DIV elements that display a yellow background.
The third-party component uses inline styles in the DIV elements that are inconsistent with your corporate
standards. You must override the DIV elements in the style sheet with the corporate styles.
You need to ensure that the website meets corporate standards.
Which style should you use?


Page 396 of 6,830« First...102030...394395396397398...410420430...Last »