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?
2.
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?
3.
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?
4.
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?
5.
You are developing a Windows Mobile 6.5 application. You need to dynamically create a Microsoft SQL Server Compact 3.5 database by using merge replication. Which System.Data.SqlServerCe.SqlCeReplication method should you call before you synchronize?
6.
You are developing a Windows Mobile 6.5 application that stores data in a Microsoft SQL Server Compact 3.5 database. You write the following code segment to select data from a table.
string query = "SELECT * FROM ORDERS";
SqlCeConnection conn = new SqlCeConnection(connectionString); SqlCeCommand command = new
SqlCeCommand(query, conn); conn.Open();
You need to iterate through the records in the result set. Which code segment should you use?

 
7.
You are developing a Windows Mobile 6.5 application. The application connects to a table in a Microsoft SQL Server Compact 3.5 database. The table contains 20,000 records. You need to iterate through the table records and concatenate a column value from each record to a single text string. You need to achieve this goal by using the most memoryefficient approach. Which method should you use?
8.
You are developing a Windows Mobile 6.5 application. You need to log exceptions at runtime on your Windows Mobile device. Which method should you use?
9.
You are developing a Windows Mobile 6.5 application. You need to ensure that the application always closes the FileStream object when an exception occurs. Which code segment should you include?
10.
You are developing an application for Windows Mobile 6.5 devices. The application must interact with the GPS Intermediate Driver. You intend to use Platform Invocation (P/Invoke) with the GPSOpenDevice function. You create a new C# class to encapsulate the P/Invoke functionality. You need to declare the GPSOpenDevice function with the proper modifiers. Which modifiers should you use?