PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you complete the relevant code?

You are testing an application. The application includes methods named Calculatelnterest and LogLine.
The Calculatelnterest () method calculates loan interest. The Logl_ine() method sends diagnostic
messages to a console window.
You have the following requirements:
-The Calculatelnterest() method must run for all build configurations. -Logl_ine() method must run only for
debug builds.
You need to ensure that the methods run correctly.
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 orscroll to view content.)

which logical layers should you assign the components?

You are planning the architecture of a new Windows Store style e-commerce app. You need to maximize
reusability by breaking app components into logicallayers.
To which logical layers should you assign the components? (To answer, drag the appropriate components to
the correct layers in the answer area. Each component 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.)

You need to ensure that the correct language-specific resources are used

You are developing a Windows Store app by using HTML5 and JavaScript. The app will support both the
English and French languages. The app must meet thefollowing requirements:
Automatically load language-specific string resources from a resource file, and access the resourcesfrom
within the HTML by using data-win res attributes. Use the base.js file from the Windows Library for
JavaScript. You need to ensure that the correct language-specific resources are used. What should you do?

Which code segment should you use?

You are developing an application that accepts the input of dates from the user.
Users enter the date in their local format. The date entered by the user is stored in a string variable named
inputDate. The valid date value must be placed in aDateTime variable named validatedDate
You need to validate the entered date and convert it to Coordinated Universal Time (UTC). The code must
not cause an exception to be thrown.
Which code segment should you use?

You need to ensure that the debugger breaks execution within the Calculatelnterest() method…

You are debugging an application that calculates loan interest. The application includes the following
code. (Line numbers are included for reference only.)

You need to ensure that the debugger breaks execution within the Calculatelnterest() method when the
loanAmount variable is less than or equal to zero in all builds of the application.
What should you do?

You need to ensure that portions of the app can be reused in WinRT, Windows Presentation Foundation (WPF), Mic

You are developing a Windows Store app that will read billing information from a CSV file that is stored in local
storage. The app will display the billing data on the screen.
You need to ensure that portions of the app can be reused in WinRT, Windows Presentation Foundation
(WPF), Microsoft Silverlight, and Windows Phone apps.
What should you do?