Exam Code: 70-357 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Developing Mobile Apps
Certification Provider: Microsoft
Free Today! Guaranteed Training- Pass 70-357 Exam.
♥♥ 2021 NEW RECOMMEND ♥♥
Free VCE & PDF File for Microsoft 70-357 Real Exam (Full Version!)
★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions
Free Instant Download NEW 70-357 Exam Dumps (PDF & VCE):
Available on:
http://www.surepassexam.com/70-357-exam-dumps.html
Q21. 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
Q22. DRAG DROP
You are developing a Universal Windows Platform (UWP) app.
The app manipulates accounts by using a class named Account that you developed.
You need to automate tests for the debit method of the Account class.
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:
Test methods marked with the TestMethod Attribute are unavailable if the class that contains them is not
marked with the TestClass Attribute. The test class is not valid without the TestClass Attribute.
Q23. DRAG DROP
You 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.
Select and Place:
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.
https://msdn.microsoft.com/library/aa992030(v=vs.100).aspx
Q24. You are developing a Universal Windows Platform (UWP) app that has the following unit test.
You need to ensure that TestMethod1 appears in the Test Explorer window of Microsoft Visual Studio.
What should you add?
A. [TestCategory(“Enabled”)]before the UnitTest1 declaration
B. [TestProperty(“Enabled”,”True”)]before the TestMethod1 declaration
C. [TestClass]before the UnitTest1 declaration
D. [TestProperty(“AutoStart”,”True”)] before the TestMethod1 declaration
Answer: C
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.
https://msdn.microsoft.com/en-us/library/ms182532.aspx
Q25. HOTSPOT
You have the following code:
event1 += new PointerEventHandler(Target_PointerPressed);
event2 += new PointerEventHandler(Target_PointerWheelChange);
event3 += new PointerEventHandler(Target_PointerReleased);
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:
Answer:
Explanation:
*PointerPressed occurs when a single finger touches the screen.
*PointerWheelChanged occurs when the delta value of a mouse wheel changes.
*PointerReleased occurs when that same touch contact is lifted.
ThePointerReleased eventoccurs when the pointer device that previously initiated a Press action is released, while within this element. Note that the end of a Press action is not guaranteed to fire a PointerReleased event; other events may fire instead.
Q26. 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
Q27. DRAG DROP
You are developing a Universal Windows Platform (UWP) app.
While testing the app, you discover performance issues.You need to profile the performance of the app as the app runs.
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.
Select and Place:
Answer:
Explanation:
Visual Studio diagnostic tools help you analyze the performance of your programs .Click Debug / Start
Diagnostic Tools Without Debugging. Change the target to your project, and then select which Tool you want to run, such as Code Analysis.
https://msdn.microsoft.com/en-us/library/dn957936.aspx
Q28. 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/
Q29. DRAG DROP
You are developing a Universal Windows Platform (UWP) app that will provide users with the ability to assign tasks to their contacts. The app will have a button that users click to display their contact list.
You need to develop the click event handler for the button.
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:
Example:
private async void PickAContactButton_Click(object sender, RoutedEventArgs e)
{
ContactPicker contactPicker = new ContactPicker();
Contact contact = await contactPicker.PickContactAsync();
}
https://msdn.microsoft.com/en-us/library/windows/apps/mt185415.aspx
Q30. DRAG DROP
You are developing a Universal Windows Platform (UWP) app that will be used on desktop computers and
phones. The app will use facial recognition.
You need to develop a method that verifies whether a camera is present.
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:
Capture photos and video with MediaCapture.
To get available devices for capturing pictures you can use the following code:
var allVideoDevices = await DeviceInformation.FindAllAsync(DeviceClass.VideoCapture);
https://msdn.microsoft.com/en-us/library/windows/apps/mt243896.aspx
