功能测试
首页 > 微软认证 > 正文

最新最全的70-580题库免费下载!(killtest题库网提供)

发布-admin | 查看- | 发表时间-2011-1-25

有关这门考题的最新信息分享如下:

   考试代号: 70-580

认证名称:TS: Windows Mobile 6.5, Application Development

版本号:V8.02

考题数量:56

更新日期:2011-01-21

1. You are developing a Windows Mobile 6.5 application.

You need to programmatically write a file named customerlist.txt to the root of the file system.

Which path should you use?

A. /customerlist.txt

B. \customerlist.txt

C. file://customerlist.txt

D. \device\root\customerlist.txt

Answer: B

2. You are developing a Windows Mobile 6.5 application.

You need to programmatically write a file named customerlist.txt to the root of the file system.

Which path should you use?

A. //customerlist.txt

B. \customerlist.txt

C. file://customerlist.txt

D. \device\root\customerlist.txt

Answer: B

3. You are developing a Windows Mobile 6.5 application.

You have a DataSet object in memory.

You need to save the DataSet object to the file system as an XML file. You need to accomplish this by

using the fewest lines of code.

Which method should you use?

A. System.IO.StreamWriter.Write()

B. System.Xml.XmlDocument.Save()

C. System.Data.DataSet.WriteXml()

D. System.Data.DataTable.WriteXml()

Answer: C

4. You are developing a Windows Mobile 6.5 application.

You use Microsoft ADO.NET Synchronization Services to synchronize data with a server.

You need to synchronize pending changes from the server to the client.

Which Microsoft.Synchronization method should you call?

A. Data.SqlServerCe.SqlCeClientSyncProvider.GetChanges()

B. Data.SqlServerCe.SqlCeClientSyncProvider.AcceptChanges()

C. Data.SqlServerCe.SqlCeClientSyncProvider.GetTableReceivedAnchor()

D. SyncAgent.Synchronize()

Answer: D

5. You are developing a Windows Mobile 6.5 application that references data stored in a Microsoft SQL

Server Compact 3.5 database named customers.sdf.

You need to ensure that the application creates the database if it does not already exist.

Which code should you include?

A. if (!File.Exists("customer.sdf")) {

File.Create("customer.sdf");

}

B. var fileInfo = new FileInfo("customer.sdf");

if(fileInfo.Length == 0) {

File.Create("customer.sdf");

}

C. if(!File.Exists("customer.sdf")) {

var sqlCeEngine = new SqlCeEngine("Data Source='customer.sdf'");

sqlCeEngine.CreateDatabase();

}

D. var fileInfo = new FileInfo("customer.sdf");

if (fileInfo.Length == 0) {

var sqlCeEngine = new SqlCeEngine("Data Source='customer.sdf'");

sqlCeEngine.CreateDatabase();

}

Answer: C

6. You are developing a Windows Mobile 6.5 application that references data stored in a Microsoft SQL

Server Compact 3.5 database named customers.sdf.

You need to ensure that the application creates the database if it does not already exist.

Which code should you include?

A. If Not File.Exists("customer.sdf") Then

File.Create("customer.sdf")

End If

B. Dim fileInfo As FileInfo = New FileInfo ("customer.sdf")

if fileInfo.Length = 0 Then

File.Create("customer.sdf")

End If

C. If Not File.Exists("customer.sdf") Then

Dim sqlCeEngine As SqlCeEngine = _

New SqlCeEngine("Data Source='customer.sdf'")

sqlCeEngine.CreateDatabase()

End If

D. Dim fileInfo As FileInfo = New FileInfo("customer.sdf")

if fileInfo.Length = 0 Then

Dim sqlCeEngine As SqlCeEngine = _

New SqlCeEngine("Data Source='customer.sdf'")

sqlCeEngine.CreateDatabase()

End If

Answer: C

 如需下载更多完整的题库,可登陆killtest题库网

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

最新文章
最近评论
Copyright 2010 killtest.com.cn Some Rights Reserved. 浙ICP备10016241号 | DESIGN BY Seanloo.cn