Explanation:The [TestClass] attribute is required in the Microsoft unit testing framework for managed code for any class that contains unit test methods that you want to run in Test Explorer.References:https://msdn.microsoft.com/en-us/library/ms182532.aspxQ33Your company uses Git repositories with topic branches and Microsoft Visual Studio for Universal Windows Platform (UWP) app development.You are developing a new feature for an app named App1. You need to provide three developers with the ability to review the code and provide comments in the code.Which action should you use from Visual Studio?

A. CommitB. New Pull RequestC. Request feedbackD. Code Review

Answer: B

Explanation:You can use Git pull requests to review code. You can add comments to the pull request as both author and as a reviewer of the pull request. Comments can be associated with a specific code change or at a general discussion level of the pull request.References:https://msdn.microsoft.com/en-us/library/vs/alm/code/git/pull-requestsQ34HOTSPOTYou have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Answer:

Explanation:Box 1: NoThe SuggestedStartLocation gets or sets the initial location where the file open picker looks for files to present to the user. Here is just gets the location.Box 2: NoFileOpenPicker.PickMultipleFilesAndContinue method shows the file picker so that the user can pick multiple files, deactivating and the app and reactivating it when the operation is complete.To get asynchcronous execution use the PickMultipleFilesAsync method.Box 3: YesThe line filePicker.ViewMode = PickerViewMode.List specifies that a list will be accepted.References:https://msdn.microsoft.com/library/windows/apps/br207847Q35DRAG DROPYou are developing a Universal Windows Platform (UWP) app.You have the following XAML code.

You need to localize the app so that it displays “Bonjour” if the current language in Windows is set to French.Which four 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.

Answer:

Explanation:Box 1, Box 2:The localized Resources.resw files should be put into subfolders of a folder named Strings.Box 3:The Resources.resw files contain localized text.Box 4:In Visual Studio you can set “Build Action” for a project item to `Resource’ or `Embedded Resource’ A “.resx” file is a special kind of embedded resource.References:https://msdn.microsoft.com/library/aa992030(v=vs.100).aspxQ36DRAG DROPYou are developing a Universal Windows Platform (UWP) app. You need to ensure that the app can respond to speech. How should you complete the code? To answer, drag the appropriate code elements to the correct targets. Each element 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.

Answer:

Explanation:Similar example:private async void StartRecognizing_Click(object sender, RoutedEventArgs e) { // Create an instance of SpeechRecognizer.var speechRecognizer = new Windows.Media.SpeechRecognition.SpeechRecognizer(); // Compile the dictation grammar by default.await speechRecognizer.CompileConstraintsAsync();// Start recognition.Windows.Media.SpeechRecognition.SpeechRecognitionResult speechRecognitionResult = await speechRecognizer.RecognizeWithUIAsync();// Do something with the recognition result.var messageDialog = new Windows.UI.Popups.MessageDialog(speechRecognitionResult.Text, “Text spoken”);await messageDialog.ShowAsync();}References:https://msdn.microsoft.com/en-us/library/windows/apps/mt185615.aspxQ37DRAG DROPYou are developing a Universal Windows Platform (UWP) app named App1. App1 can be started by using Cortana. To start the app, users must be able to say “App1 play my music” or “App1 play music”.You need to write the Voice Command Definition (VCD) file to meet the requirement. How should you complete the code? T answer, drag the appropriate code elements to the correct targets. Each element 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.

Answer:

Explanation:To specify where the app name can be spoken in the voice command. The ListenFor element has a RequireAppName attribute that specifies where the app name can appear in the voice command. The BeforePhrase indicates that users must say your app name before the command phrase.Example: Here, Cortana listens for “Adventure Works when is my trip to Las Vegas”. <ListenFor RequireAppName=”BeforePhrase”> when is [my] trip to {destination} </ListenFor> References:https://msdn.microsoft.com/en-us/library/windows/apps/mt185616.aspxQ38You are designing a Universal Windows Platform (UWP) app that will access external data sources. The data sources have the following requirements:· The data must be stored in a relational database. · The data sources must be stored in a public cloud. · The app must not connect directly to the database. · The app must access the data sources by using HTTP verbs. You need to identify the appropriate data storage type and the appropriate method to use to access the data sources.What should you identify? Select two.

Explanation:OData is the built-in data access protocol for tables in Microsoft’s Windows Azure, and it’s supported for access to relational data in SQL Azure as well. OData provides an abstract data model. An OData client accesses data provided by an OData service using standard HTTP. The OData protocol largely follows the conventions defined by REST, which define how HTTP verbs are used. OData is being used to expose data from a variety of sources, from relational databases like SQL Azure and file systems to content management systems and traditional websites.References:https://msdn.microsoft.com/en-us/data/hh237663.aspxQ39DRAG DROPYou are developing a Universal Windows Platform (UWP) app that will take photos. The app will be used across Windows 10 device families.You need to ensure that when the app runs on a phone, the app can use the built-in features of the phone.How should you complete the code? To answer, drag the appropriate code elements to the correct targets. Each element 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.

Answer:

Explanation:Box 1, box 2:Example code:Windows.Foundation.Metadata.ApiInformation.IsTypePresent(“Windows.Phone.UI.Input.Hardw areButtons”);if (isHardwareButtonsAPIPresent){Windows.Phone.UI.Input.HardwareButtons.CameraPressed += HardwareButtons_CameraPressed;}Box 3:Example: Making the Back button appear requires just one line of code:SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;References:https://msdn.microsoft.com/en-us/library/windows/apps/dn894631.aspx