PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which line or lines of code should you use?

DRAG DROP
You are developing an airline reservation website by using HTML5 and JavaScript. A page
on the site allows users to enter departure and destination airport information and to search
for tickets.
You have the following requirements:
Users must be able to save information in the application about their favorite destination
airport.
The airport information must be displayed in the destination text box whenever the user
returns to the page.
You need to develop the site to meet the requirements.
Which line or lines of code should you use? (To answer, drag the appropriate command or
commands from the list of commands to the correct location or locations in the work area.
Each line of code 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.)

Which HTML5 element should you use?

You are developing an HTML5 web application for a surveyor company that displays
topographic images.
The application must:

Display the topographic images at different zoom levels without loss of detail
Print the topographic images without loss of detail
Work from only one source file for each topographic image
You need to ensure that the topographic images display according to the requirements.
Which HTML5 element should you use?

Which tag should you use?

You are modifying a website. The body of the page will be divided into two sections:
A content section will contain blog posts and comments.
An area on the right-hand side will contain advertisements.
The page is defined by the following HTML.

The site must conform to HTML5 standards and must use HTML5 semantic tags.
You need to ensure that the advertisements are on the rightmost section of the page.
Which tag should you use?

How should you build the code segment?

DRAG DROP
An HTML page has a CANVAS element.
You need to draw a red rectangle on the CANVAS element dynamically. The rectangle
should resemble the following graphic.

How should you build the code segment? (To answer, drag the appropriate line of code to
the correct location. Each line of code 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.)

You need to ensure that the slider control meets the requirements

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 18 years of age or greater than 90
years.
The slider control must be set to the average age (37) of all registered runners when the
page is first displayed.
You need to ensure that the slider control meets the requirements.
What should you do? (To answer, drag the appropriate word or number to the correct
location in the answer area. Each word or number 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.)