You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input. You are currently debugging this application using the Microsoft Visual Studio 2005 IDE. The application contains the following code: public double CalculateMonthlyPayment (Single rate, double principal) { //Implementation code } You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method. You need to ensure that this only occurs during debugging mode. What should you do?()
You work as an application developer at CER-Tech.com. Cert-Tech.com uses Visual studio.NET 2005 as its Application Development platform.You are developing a .NET Framework 2.0 application used to store a type-safe list of names and e-mail addresses. The list will be populated all at ones from the sorted data which means you will not always need to perform insertion or deletion operations on the data. You are required to choose a data structure that optimizes memory use and has good performance.What should you do?()
You work as an application developer at Certkiller .com. Certkiller .com has instructed you to create a class named MetricFormula. This class will be used to compare MetricUnit and EnglishUnit objects.The MetricFormula is currently defined as follows (Line numbers are used for reference purposes only): 1. public class MetricFormula2. { 3. 4. } You need to ensure that the MetricFormula class can be used to compare the required objects. What should you do? ()
You work as a Web Developer at Certkiller.com. Certkiller.com makes use of Microsoft ASP.NET3.5. You use this application to create a Web site. The following code exists in a file in the App_Code folder: namespaceCertkiller.Providers { public class SessionSiteMapProvider : SiteMapProvider { // Members omitted for brevity } } You want to make sure that the SiteMapDataSource controls use the SessionSiteMapProviderclass by default. You decide to make changes to the Web.config file. Which configuration sectionshould you use?()
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. You then define the connection string of the application as follows: "Server=Prod;Database=WingtipToys;Integrated Security=SSPI;Asynchronous Processing=true" The following code segment is used on the application: (Line numbers are included for reference only.) 01 protected void UpdateData(SqlCommand cmd) { 02 cmd.Connection.Open(); 03 04 lblResult.Text = "Updating ..."; 05 } You discover that the cmd object takes a long time to execute. You want to make sure that the application continues to execute while cmd is executing. What should you do?()
You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service: Public Class TestServiceInstaller Implemets Installer 'Additional code to go here End Class You are required to install the Windows service and write the values associated with the service in the Windows Registry. What should you do?()
You work as an application developer at Certkiller .com. You have recently created a Windows service application and need to define a Windows service class. What should you do?()
A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()
You work as an application developer at Certkiller .com. You are developing an application that makes use of a Queue class object named MyQueue. This Queue class object will be used to store messages sent by the user during application run time.You would like to access the message at the beginning of the queue, prior to processing the user messages, without removing it. What should you do?()
A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()