PrepAway - Latest Free Exam Questions & Answers

Tag: 70-544

Exam 70-544: TS: Bing Maps Platform, Application Development

Which code segment should you insert at line 05?

You are integrating third-party data into a Virtual Earth 6.0 application. The data that is retrieved from the third party is stored in an array named Results. The Results array is stored inside a Web handler. The data is stored in the following format.
R esults[0][“name”] = “A. Datum Corporation”;
Results[0][“address”] = ” 123 Main St. , New York , NY “; Results[0][“latitude”] = “40.123”;
Results[0][“longitude”] = “-70.456”;
Results[0][“thumbnail”] = “http://www.adatum.com/st3465.jpg”; …
Results[x]

The Web handler uses the GeoRSSFeed class to accept items of type GeoRSSItem. The class contains the
ToString() method that writes the GeoRSS feed to a string.

The Web handler GeoRSS integration is defined by the following code segment. (Line numbers are included for reference only.)

01 GeoRSSFeed feed = new GeoRSSFeed();
02 GeoRSSItem curItem;
03 for (int i = 0; i < Results.length; i++){
04 curItem = new GeoRSSItem();
05 …
06 feed.Add(curItem);
07 }
08 // Write feed to HTTP Response
09 context.Write(feed.ToString());

The Web handler uses the GeoRSSItem class that contains the following code segment. (Line numbers are included for reference only.)

10 public class GeoRSSItem {
11 public Dictionary < string, string > elements;
12 publ ic GeoRSSItem(){

13 elements = Dictionary < string, string > ();
14 }
15 public void Add(string pName, string pValue){
16 elements.Add(pName, pValue);
17 }
18 }
You need to encode the data inside the Results array into the GeoRSS format.

Which code segment should you insert at line 05?

which the locations displayed on the map must lie. How should you define the boundary?

You are creating a Virtual Earth 6.0 application that retrieves locations from a Microsoft SQL Server 2005 database. A stored procedure will be used to retrieve only locations that lie within the currently displayed map area. You need to define the boundary within which the locations displayed on the map must lie. How should you define the boundary?

What should you do?

You are managing Microsoft MapPoint Web Service (MWS) data in an application by using the Customer Services site. The application uses the DS_ONE data source stored on the Customer Services site. The application displays several records in the wrong locations on the map. You need to display these records correctly on the map. What should you do?

Which two tasks should you perform?

You are updating a Virtual Earth 6.0 store locator. A database table named Stores contains the City and State fields. A Microsoft SQL Server 2005 function named CalculateDistance measures the distance between two points. The store locator contains a stored procedure named LookupStores that retrieves the names of stores located in a given city and state. The city and state are passed in as parameters to the stored procedure. You need to extend the store locator to support a proximity search within a given radius. Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you use?

You are creating a Virtual Earth 6.0 application. The application will use data that is stored in the Microsoft MapCruncher output format.

The MapCruncher output is defined in the following manner:

var tileSrc =
http://dev.live.com/virtualearth/sdk/layers/layer1

You need to ensure that the application displays the data as a new layer on the Virtual Earth map.

Which code segment should you use?


Page 7 of 9« First...56789