1.
You are creating a Windows application by using the .NET Framework 3.5. You plan to develop utility classes for the application. The classes will provide a data access layer, a business logic layer, and a presentation layer. The presentation layer utility class provides functions for the controls on the forms. You need to ensure that the utility classes can be reused in other applications. You want to achieve this goal by using minimum possible development effort. What should you do?
2.
You are creating a Windows application by using the .NET Framework 3.5. The application will be used for telephone directory management. The application has the following specifications:
* It stores data in a Microsoft SQL Server 2008 database instance.
* It uses the LINQ to SQL model.It stores the photograph of each directory member in the Picture column of the DirectoryEntry table.
* It displays the directory information in a DataGridView control.
* It supports expansion of rows of the DataGridView control to display the complete photograph of the directory member. The application is frequently used across remote or slow database connections. You need to implement the lazy load technique to load the photographs from the database. You also need to ensure that the implementation has minimum effect on the database connection. What should you do?
3.
You are creating a Windows application by using the .NET Framework 3.5. The application contains a form to enter user details. The application must capture the preferred search engine as part of input data. You discover that the preferred search engine can be a known search engine or an unknown one. You need to allow the user to select a value for the preferred search engine from a list of search engines. You also need to allow the user to enter a value for the search engine in the same list. Which control should you use?
4.
You are creating a Windows application by using the .NET Framework 3.5. The application must meet the following requirements:
* It records the details of the users who modify sensitive information.
* It requires a context-related stack dump for the details.
* It is executed by using the local user account without administrative privileges.
You need to ensure that the requirements are met by using minimum possible development effort. What should you do?
5.
5:You create a Windows application by using the .NET Framework 3.5. You plan to deploy an application by using the ClickOnce deployment method. The application has the following specifications:
* It contains multiple components.
* It is based on the .NET Framework 3.5.
* The .NET Framework 3.5 is not installed on all the client computers.
You need to install the .NET Framework 3.5 on the client computers during the application deployment process. What should you do?
6.
You are creating a Windows application by using the .NET Framework 3.5. The application uses multiple threads. You need to ensure that any exceptions that occur while executing the application are reported to the common exception handler. You want to achieve the goal by using minimum development effort. What should you do?
 
7.
You create a Windows application by using the .NET Framework 3.5. The application is named APP1. APP1 has the following specifications:
* It merges information from text files.
* It reads each text file as a string.
* It runs on a server computer named Server1.
Another application named APP2 also runs on Server1. You discover that when a function is used to merge the text files, APP1 consumes additional memory. This additional memory consumption affects the operations of APP2. You need to modify the design of APP1 to ensure minimum effect on APP2. What should you do?
8.
8:You are creating a Windows application by using the .NET Framework 3.5. The application will be used to retrieve information about the technical skills of the employees. The data will be retrieved from the following related tables on a Microsoft SQL Server 2008 database instance by using LINQ to SQL:
* EmployeeSkills table
* TechnicalSkills table
The application must retrieve data from the TechnicalSkills table only when the correspondingEmployeeSkills rating value is 3. In addition, the application must minimize data returned and prevent duplicate information from being returned. You need to meet the outlined requirements in one roundtrip to the database.What should you do?
9.
You are creating a Windows application by using the .NET Framework 3.5. The application has to be configured for deployment to client computers. You need to ensure that the application meets the following requirements:
* The application state is stored for each instance.
* The administrator can configure the general look and feel of the application from a single location.
What should you do?
10.
You are creating a Windows application by using the .NET Framework 3.5. The application connects to a database within the corporate network. It retrieves data from a read-only database. The database contains a table named Customers. An XML file that contains new customer data is periodically provided to the application. The XML file has the following specifications:
* It has the same schema as that of the Customers table.
* It will be integrated into the Customers table.
* It will be removed after data integration.
The application requires data from the Customers table and the XML file to bind to a DataGridView control. You need to ensure that data can be retrieved together from the two data sources by using minimum development effort. What should you do?