The Best .NET Developer 2009 by New Horizons Latvia.
Content:
Ievadiet Jūsu vārdu
Ievadiet Jūsu e-pastu
Ievadiet Jūsu telefonu
Vēlos saņemt jaunumus un speciālus piedāvājumus no NH mācību centrs
1. You are a Microsoft ASP.NET developer for an enterprise organization. You are implementing themes in an ASP.NET Web application. You create a single theme named Basic that contains two skin files: Default.skin and Alternate.skin. Default.skin is the default skin file for all controls. You need to associate a Button control in a page named Default.aspx with a non-default skin. What should you do?
Associate the Alternate.skin file with a new theme named Alternate. Add a SkinID property to the Button control's definition in Default.aspx. Specify the value "Alternate" for this property.
Add a SkinID property to the Button control's definition in Alternate.skin. Add a SkinID property to the Button control's definition in Default.aspx. Specify the same value for both properties.
Associate the Alternate.skin file with a new theme named Alternate. Add a SkinID property to the Button control's definition in Default.aspx. Specify the value "Alternate.skin" for this property.
Add a SkinID property to the Button control's definition in Default.skin. Add a SkinID property to the Button control's definition in Default.aspx. Specify the same value for both properties.
2. You are a Microsoft ASP.NET developer for an enterprise organization. You used Microsoft Visual Studio 2005 to create an ASP.NET Web application on your development computer. You created the Web application on the local file system. You want to use the Copy Web Site tool in Visual Studio to copy the application to a Web server in a testing environment. The Web application should be hosted in Internet Information Services (IIS) in the testing environment. You need to ensure that the server is configured to allow you to copy the project. What should you do?
Ensure that the server is running Microsoft Windows Server 2003.
Ensure that you have Write access to the wwwroot folder on the server.
Ensure that the server is running IIS 6.0.
Ensure that Microsoft FrontPage Server Extensions are installed on the server.
3. You develop Microsoft ASP.NET applications. You are designing the user interface for an intranet application. The logical design of a particular page specifies movable content that is divided into sections. The goal of the page is to provide customizable content to users from a variety of sources. You need to choose the most appropriate technology to achieve the goal. Your solution must provide visual design time support as well as run time support. Which technology should you choose?
Web Parts
Extensible Stylesheet Language Transformation (XSLT)
Dynamic Hypertext Markup Language (DHTML)
Web Services
4. You develop Microsoft ASP.NET applications. You need to develop a consistent appearance for all ASP.NET Web applications hosted by your company. Every page in a Web application must display the corporate logo and a link to the company's privacy policies. The logo must be displayed in the header of a page, and the policy links must be displayed in the footer. However, each division within your company performs different business activities. As a result, you need to allow each division to provide an appearance that best fits the business activities. You need to develop a solution to meet these requirements. Your solution must be maintainable by developers without application framework experience. What should you do?
Create a base class that derives from Page. Allow each division to create a specific master page that derives from your base class.
Create a corporate master page. Allow each division to create a specific master page. Ensure that each division-specific master page references the corporate master page.
Create a master page for each division. Have each division place on each page an image and links that reference the corporate logo and policies, respectively.
Create a base class that derives from Page. Allow each division to create a specific master page. Write code to reference the correct master page from the base class.
5. You are developing a Microsoft Windows Forms inventory management application. The application consists of over 50 forms. Not all forms are related or required. You need to allow users to navigate the application without being forced to learn the user interface. Your solution must not negatively affect usability of the application. What should you do?
Associate a context menu with each form in the application. Configure each context menu item with a link to a form.
Configure a main menu for the application. Configure each main menu item with a link to a form.
Add LinkLabel controls to each form in the application. Configure each LinkLabel control with a link to a form.
Add a TreeView control to each form in the application. Configure each tree node with a link to a form.
6. You are creating a code group that will contain all classes related to an application. The classes are all strong-named and are signed with a certificate that identifies the publisher. You want to create a code group that will not need to be modified if any of the files in the application are updated. What evidence should you use?
Publisher
StrongName
Hash
Site
7. You are developing a Windows application by using the .NET Framework 2.0. The application uses a shared assembly for personalizing the user interface of the application. The same assembly is used by several other applications on the user's machine. Any changes in the user preferences in one application must be carried over to other applications. You need to access the user's preferences for displaying the user interface. What should you do?
Use the IsolatedStorageFile.GetUserStoreForDomain method.
Use the IsolatedStorageFile.GetMachineStoreForAssembly method
Use the IsolatedStorageFile.GetMachineStoreForDomain method.
Use the IsolatedStorageFile.GetUserStoreForAssembly method.
8. You are developing a .NET Framework 2.0 application that sends data over the Internet. You must make sure that the data is not modified or tampered with during transmission. Secrecy of the data transmission is not important. You decide to compute a hash value for the data by using a secret key and then transmit the data along with the hash value. The receiver of the data must be able to detect if either the data or the hash value has been modified. The receiver has access to the secret key that was used for computing the hash value. Your must be able to accept keys of any size and produce a key sequence of 160 bits. What should you do?
Use the MACTripleDES class to encode the data prior to its transmission.
Use the HMACMD5 class to encode the data prior to its transmission.
Use the DESCryptoServiceProvider class to encode the data prior to its transmission.
Use the HMACSHA1 class to encode the data prior to its transmission.
9. You develop Microsoft Windows Forms applications. You are developing a Microsoft Windows Forms application for a health insurance company. The application allows employees to manage benefits for customers. One of the requirements of the application is that policy numbers must formatted as follows: LLL000A00000-00 The character L represents any ASCII letter from A to Z. The character 0 represents any numeric character. The character A represents an alphanumeric character that depends on the value of the preceding numeric character. You need to choose a validation mechanism to meet the requirement. Your solution must not negatively affect usability. What should you do?
Add a MaskedTextBox control to the form. Handle the MaskChanged event and automatically remove characters that do not meet the formatting requirement.
Add a RichTextBox control to a form. Handle the TextChanged event and automatically remove characters that do not meet the formatting requirement.
Add a TextBox control to a form. Use a regular expression to validate that the policy number entered meets the formatting requirement.
Add a MaskedTextBox control to a form. Set the control's Mask property to ensure that the policy number entered meets the formatting requirement.
10. You are implementing a reporting solution in a Microsoft ASP.NET Web application. Users must have the ability to view summarized reports as well as detailed reports. When a user is viewing a summary report on a page, the user must be allowed to click a link that queries appropriate report details from the Web server. You need to prevent the page from refreshing when the user requests the details. What should you do?
Use a browser redirect.
Use a client callback.
Use a post back.
Use a server transfer.
Nosūtīt