PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used in multiple
geographic regions. You need to ensure that the app displays dates in the region-specific full date
format. 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.)

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?