PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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 06?

You are developing an application that will convert data into multiple output formats.
The application includes the following code. (Line numbers are included for reference only.)

You are developing a code segment that will produce tab-delimited output. All output
routines implement the following interface:

You need to minimize the completion time of the GetOutput() method. Which code segment
should you insert at line 06?

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 two actions should you perform?

You are creating a class named Employee. The class exposes a string property named
EmployeeType. The following code segment defines the Employee class. (Line numbers are
included for reference only.)

The EmployeeType property value must be accessed and modified only by code within the
Employee class or within a class derived from the Employee class.
You need to ensure that the implementation of the EmployeeType property meets the
requirements.
Which two actions should you perform? (Each correct answer represents part of the
complete solution. Choose two.)

What will occur when the event fires?

You are debugging a Windows Store app that another developer created by using HTML5
and JavaScript.
The default.js file contains the following code segment:

The app has a screen that plays video files. The HTML5 video control on the screen has an
ID of video1.
You need to identify the effect of firing the source requested event. What will occur when the
event fires?

Which code segment should you insert at line 04?

You are implementing a method named Calculate that performs conversions between value
types and reference types. The following code segment implements the method. (Line
numbers are included for reference only.)

You need to ensure that the application does not throw exceptions on invalid conversions.
Which code segment should you insert at line 04?

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?