Microsoft TS: Ms Virtual Earth 6.0, Application Development 認定 70-544 試験問題:
1. You are writing a code segment for a Virtual Earth 6.0 application. The code segment returns data for multiple locations to a client-side JavaScript function that makes the initial request.
The returned data contains the following properties for each location:
ID
Latitude
Longitude
Address
You need to format all locations and their properties in JavaScript Object Notation (JSON) format.
Which code segment should you use?
A) var results = new Array();
results[0] = 123;
results[1] = 40.0;
results[2] = -74.0;
results[3] = "123 Main St.";
B) var results = {
ID: 123,
Latitude: 40.0,
Longitude: -74.0,
Address: " 123 Main St ."
};
C) var results = new Array();
results[0] = new Array();
results[0][0] = 123;
results[0][1] = 40.0;
results[0][2] = -74.0;
results[0][3]= " 123 Main St .";
D) var results = {
0:{
ID: 123,
Latitude: 40.0,
Longitude: -74.0,
Address: " 123 Main St "
}
};
2. You are creating a Web application by using the Virtual Earth 6.0 map control in the
Microsoft Visual Studio environment. A Web page in the application is programmed by using the client-side JavaScript code. You insert break points at appropriate locations within the code. When you debug the application, you find that you are able to step into the server-side code. However, you are unable to step into the client-side JavaScript code.
You need to debug the client-side JavaScript code. What should you do?
A) In the client-side JavaScript code, insert the Debugger command before each break point.
B) In Microsoft Internet Explorer, clear the Disable Script Debugging (Internet Explorer) option in the Internet Options dialog box.
C) In Visual Studio, select the Attach to Process option from the Debug menu. Then attach the debugger to the Microsoft Internet Explorer process.
D) In Microsoft Internet Explorer, select the Enable Display a notification about every script error option in the Internet Options dialog box.
3. Your company requires you to perform the following tasks:
Display the office in three-dimensional mode.
Provide viewing direction for the map.
Use a map style of aerial maps with overlaid labels.
You need to meet the outlined requirements.
Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
A) Use the VEMapViewSpecification class.
B) Set the bird's eye orientation.
C) Set the map style to VEMapStyle.Hybrid.
D) Set the map mode to VEMapMode.Mode3D.
E) Set the bird's eye scene.
4. You are creating a Web application by using the Virtual Earth 6.0 map control. A Web page of the application loads two map controls named Map1 and Map2. Map1 displays a navigable, primary map. Map2 is the secondary instance of Map1 and displays an overview of the primary map. You need to ensure that when the user navigates the primary map, the overview is automatically updated. Which code segment should you use?
A) Map2 = new VEMap('myMap'); Map2.LoadMap(); Map2.SetMapView(defView1);
Map2.AttachEvent("onchangeview", UpdateOverview);
B) Map2 = new VEMap('myMap'); Map2.LoadMap(); Map2.SetMapView(defView1);
Map2.AttachEvent("onresize", UpdateOverview);
C) Map1 = new VEMap('myMap'); Map1.LoadMap(); Map1.SetMapView(defView1);
Map1.AttachEvent("onchangeview", UpdateOverview);
D) Map1 = new VEMap('myMap'); Map1.LoadMap(); Map1.SetMapView(defView1);
Map1.AttachEvent("onresize", UpdateOverview);
5. You deploy a Virtual Earth 6.0 application that uses Microsoft ASP.NET Asynchronous
JavaScript and XML (AJAX) implementation to retrieve data.
The myAjaxCallback function evaluates any AJAX response. The function contains the following code segment. (Line numbers are included for reference only.)
0 1 function myAjaxCallback (){
0 2 if (xmlHttp.readyState == 4){
0 3 ...
0 4 }
0 5 }
At the time the request was made, the server was overloaded. When the server processed the AJAX request, the server returned an error message.
You need to ensure that the application does not produce a fatal exception due to the error generated from the AJAX response.
Which code segment should you insert at line 03?
A) try{ eval(xmlHttp.responseText); } catch(error){ // Update user with status here. }
B) try{ eval(xmlHttp.responseText); } catch(error){ eval(xmlHttp.responseXML); }
C) If(xmlHttp.status == 200){ eval(xmlHttp.responseText); } else{ // Update user with status here. }
D) try{ eval(xmlHttp.responseText); } catch(error){ if(xmlHttp.status == 200){ eval(xmlHttp.responseText); } }
質問と回答:
| 質問 # 1 正解: D | 質問 # 2 正解: B | 質問 # 3 正解: A、C、D | 質問 # 4 正解: C | 質問 # 5 正解: C |














1151 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
