Examcollection offers free demo for 70-357 exam. "Developing Mobile Apps", also known as 70-357 exam, is a Microsoft Certification. This set of posts, Passing the Microsoft 70-357 exam, will help you answer those questions. The 70-357 Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft 70-357 exams and revised by experts!
Q9. You need to perform exploratory testing of a Universal Windows Platform (UWP) app.
What are two possible products that you can use? Each correct answer presents a complete solution.
A. Microsoft Visual Studio
B. Microsoft Visual Studio Online
C. Microsoft Test Manager
D. the Microsoft Platform Ready Test Tool
E. Microsoft Blend for Visual Studio
Answer: BC
Explanation:
B: Exploratory testing using Microsoft’s new Chrome extension, Perfecto’s Microsoft Visual Studio (VSO)
extension has the capability to perform manual tests and report bugs directly from within the browser to VSO.
C: Exploratory testing using Microsoft Test Manager
While you work with your application, Microsoft Test Manager (MTM) can record your actions, comments,
screenshots and other data. The recording makes it easy to reproduce bugs. And you can quickly play back
your tests whenever the application is updated.
Incorrect Answers:
D: The Microsoft Platform Ready (MPR) Test Tool is used for platform application readiness and to validate
compliance with certification requirements for Windows Server 2012 and Windows Server 2012 R2
applications.
E: Microsoft Blend for Visual Studio is a user interface design tool developed and sold by Microsoft for creating graphical interfaces.
https://msdn.microsoft.com/en-us/library/hh191621.aspx
http://blog.perfectomobile.com/product-news/perfecto-announces-integration-with-microsoft-visual-studioonline/
Q10. You are developing a Universal Windows Platform (UWP) app that will be published to the Microsoft Store.
You need to change the name of the app that will be displayed in the Store.
Which file should you modify?
A. App.xaml.cs
B. Package.appxmanifest
C. AssemblyInfo.cs
D. Project.json
Answer: B
Explanation:
The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-type associations declared in the package manifest
Package.appxmanifest.
Note: Capabilities must be declared in your Universal Windows Platform (UWP) app’s package manifest,
Package.appxmanifest, to access certain API or resources like pictures, music, or devices like the camera, the microphone, or removable storage devices.
The package manifest, Package.appxmanifest, is an XML document that contains the info the system needs to deploy, display, or update a Windows app.
https://msdn.microsoft.com/en-us/library/windows/apps/mt270968.aspx
Q11. You are developing a Universal Windows Platform (UWP) app that will be published to the Microsoft Store.
You need to change the name of the app that will be displayed in the Store.
Which file should you modify?
A. App.xaml.cs
B. Package.appxmanifest
C. AssemblyInfo.cs
D. Project.json
Answer: B
Explanation:
The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-type associations declared in the package manifest
Package.appxmanifest.
Note: Capabilities must be declared in your Universal Windows Platform (UWP) app’s package manifest,
Package.appxmanifest, to access certain API or resources like pictures, music, or devices like the camera, the microphone, or removable storage devices.
The package manifest, Package.appxmanifest, is an XML document that contains the info the system needs to deploy, display, or update a Windows app.
https://msdn.microsoft.com/en-us/library/windows/apps/mt270968.aspx
Q12. DRAG DROP
You 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.
Select and Place:
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();
}
https://msdn.microsoft.com/en-us/library/windows/apps/mt185615.aspx
Q13. You are developing a Universal Windows Platform (UWP) app that will be published to the Microsoft Store.
You need to change the name of the app that will be displayed in the Store.
Which file should you modify?
A. App.xaml.cs
B. Package.appxmanifest
C. AssemblyInfo.cs
D. Project.json
Answer: B
Explanation:
The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-type associations declared in the package manifest
Package.appxmanifest.
Note: Capabilities must be declared in your Universal Windows Platform (UWP) app’s package manifest,
Package.appxmanifest, to access certain API or resources like pictures, music, or devices like the camera, the microphone, or removable storage devices.
The package manifest, Package.appxmanifest, is an XML document that contains the info the system needs to deploy, display, or update a Windows app.
https://msdn.microsoft.com/en-us/library/windows/apps/mt270968.aspx
Q14. DRAG DROP
You 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.
Select and Place:
Answer:
Explanation:
Box 1, box 2:
Example code:
Windows.Foundation.Metadata.ApiInformation.IsTypePresent(“Windows.Phone.UI.Input.HardwareButtons”);
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;
https://msdn.microsoft.com/en-us/library/windows/apps/dn894631.aspx
Q15. HOTSPOT
You have the following code:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:
Answer:
Explanation:
Box 1: No
The 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: No
FileOpenPicker.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: Yes
The line filePicker.ViewMode = PickerViewMode.List specifies that a list will be accepted.
https://msdn.microsoft.com/library/windows/apps/br207847
Q16. DRAG DROP
You are building a Universal Windows Platform (UWP) app.
You need to ensure that users can start the app by using voice command in Cortana.
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.
Select and Place:
Answer:
Explanation:
These are the basic steps to add voice-command functionality and integrate Cortana with your app using
speech or keyboard input:
1. Create a VCD file. This is an XML document that defines all the spoken commands that the user can say to initiate actions or invoke commands when activating your app.
2. Register the command sets in the VCD file when the app is launched.
3. Handle the activation-by-voice-command, navigation within the app, and execution of the command.
Box 1: Create a VCD file. This is an XML document that defines all the spoken commands that the user can
say to initiate actions or invoke commands when activating your app.
Box 2: Register the command sets in the VCD file when the app is launched.
Here’s an example that shows how to install the commands specified by a VCD file (vcd.xml).
C#
var storageFile =
await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(
new Uri(“ms-appx:///AdventureWorksCommands.xml”));
await
Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.
InstallCommandDefinitionsFromStorageFileAsync(storageFile);
Box 3:
Once your app has been launched and the voice command sets installed, specify how your app responds to subsequent voice command activations.Example:
protected override void OnActivated(IActivatedEventArgs e)
{
// Was the app activated by a voice command?
if (e.Kind != Windows.ApplicationModel.Activation.ActivationKind.VoiceCommand)
{
return;
}
Etc.
https://msdn.microsoft.com/en-us/library/windows/apps/mt185609.aspx