PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create Microsoft Windows-based applications. You are developing an application that will be used by stock traders. The project scope contains the following requirements:

The application must permit users to set thresholds for minimum and maximum values for different stocks.
The application must alert the user when stock prices reach the pre-defined thresholds. The application must permit the user to either buy or sell stock and specify the quantity of stock to trade.
The application must permit multiple alerts to be displayed simultaneously.

You need to decide how to implement the alert mechanism. What should you do?

What should you develop?

You need to develop an Office Visio 2007 solution for 1,000 computers that run Visio 2007. The solution must meet the following requirements:

The solution must not require the installation of additional components, tools, or DLLs. Users must be able to customize the solution without installing additional development tools.

What should you develop?

What change should you suggest?

You create Web-based client applications. You are reviewing a Web application page that populates a list of all employees of your company. You analyze code and find that the Web application page does not prevent exceptions from traveling to the browser. You need to ensure that the Web application page intercepts exceptions and presents an error message to the browser. What change should you suggest?

Which code segment should you insert at line 05?

You are creating an application that will display a Virtual Earth 6.0 map inside a pop-up window that will be viewed by using Microsoft Internet Explorer.

You write the following code segment.

01 var map = null;
02 function GetMap(){
03 map = new VEMap(‘Map’);
04 map.LoadMap();
05 …
06 }

You need to ensure that the following requirements are met:

The height of the map is half the height of the pop-up window. The width of the map is one-third the width of the pop-up window.

Which code segment should you insert at line 05?

Which code segment should you add?

You create a console application that contains the following two arguments:

loginName as LoginName
givenName as UsersGivenName

You write the following code segment:

01: Dim userProf as New UserProfile.UserProfileServices()
02: userProf.CreateUserProfileByAccountName(loginName)
03: Dim firstName as UserProfile.PropertyData() = New UserProfile.PropertyData(0) {}
04: firstName(0) = New UserProfile.PropertyData()
05: firstName(0).Name = “FirstName”
06: firstName(0).Values = New UserProfile.ValueData(0) {}
07: firstName(0).Values(0) = New UserProfile.ValueData()
08: firstName(0).Values(0).Value = givenName

You need to create a profile and assign the user’s given name to the profile.

Which code segment should you add?

A. firstName(0).IsValueChanged = False
userProf.ModifyUserPropertyByAccountName(loginName, firstName) B. firstName(0).IsValueChanged = True
userProf.ModifyUserPropertyByAccountName(loginName, firstName) C. firstName(0).IsValueChanged = False
userProf.ModifyUserPropertyByAccountName(givenName, firstName) D. firstName(0).IsValueChanged = True
userProf.ModifyUserPropertyByAccountName(givenName, firstName)

What should you recommend?

You create Microsoft Windows-based applications. You are enhancing an application for a medical transcription service. Users need to view a long list of medical codes and descriptions. The users displays are set at 800 x 600 resolution. The existing application requires the user to regularly obtain printouts that contain pages of medical codes. These medical codes frequently change. The application must be updated to assist users in entering medical codes into a database. The application must enable the user to view and enter medical codes and descriptions on screen at the same time. You need to evaluate the user environment and recommend a design that best meets the requirements of the users. What should you recommend?

Which three components should you choose?

You create Web-based applications. You are creating an application that manages travel arrangements. Users can book business trips through the application and submit their expense reports. The current design specifies that 10 components are consumed by the application. You need to identify the components that require integration testing. Which three components should you choose? (Each correct answer presents part of the solution. Choose three.)

var pos=location.search.indexOf("?

You are creating a Web application. You are given the URL of a Web page. When the URL is encoded with map control properties, it generates custom maps by using the Virtual Earth 6.0 map control.

The Web page uses the following JavaScript code segment to decode the URL.

var pos=location.search.indexOf(“?”) +1;
var loc1=location.search.substr(pos);
var point1=loc1.split(” & “);
var a= point1[0];
var b= point1[1];
var c= point1[2];
var d=point1[3];
var e= point1[4];
var f= point1[5];
var g= point1[6];
map=new VEMap(‘myMap’);
map.LoadMap(new VELatLong(a,b),c,d,e,f,g);

You need to encode the URL to generate a custom map by using your own settings.

Which encoded URL should you use?