PrepAway - Latest Free Exam Questions & Answers

Category: 98-375

Exam 98-375: HTML5 Application Development Fundamentals

How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app for an airline. The app will provide current flight
status information. The app will display the flight status on the lock screen if the user grants
permission. You have the following requirements:
• Display a dialog box that requests access to the lock screen.
• Display a message that indicates whether the user has granted access to the lock
screen.
You need to ensure that the requirements are met. How should you complete the relevant
code? (To answer, select the correct code segment from each drop-down list in the answer area.)

How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will call a WinMD
component to convert temperature. The component exposes the following two members:
• A static variable named Fahrenheit
• A public method named GetInCelsius( ) that accepts an integer

You need to ensure that the app will display the temperature in Celsius and Fahrenheit. How
should you complete the relevant code? (To answer, drag the appropriate code segments to
the correct locations in the answer area. 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.)

Which three actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used to print
documents. You need to ensure that the app allows the user to specify the number of copies
to print. Which three actions should you perform in sequence? (To answer, move the
appropriate actions from the list of actions to the answer area and arrange them in the
correct order.)

Which code segment should you insert at line 05?

You are developing a Windows Store app by using JavaScript. The app will use a custom
print template for printing documents. The template will be provided in a file named
customTemplate.htm.
The file will be deployed as part of the app package.
The code segment below references two objects:

You need to ensure that the app displays the custom print template while printing the
documents. Which code segment should you insert at line 05?

Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app persists a list of
restaurants in the app’s settings. The restaurant list is identified by a key of city. The app
must allow users to remove their restaurant lists from the app’s settings. The following
function call removes the city setting:
deleteListSetting(“city”) ;
You need to remove only city from the settings storage without disrupting other settings.
Which code segment should you use?


Page 6 of 13« First...45678...Last »