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 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 well 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?()A、 The System.Collections.Generic.SortedList class should be usedB、 The System.Collections.HashTable class should be usedC、 The System.Collections.Generic.SortedDictionary class should be usedD、 The System.Collections.SortedList class should be used
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 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 well 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?()
- A、 The System.Collections.Generic.SortedList class should be used
- B、 The System.Collections.HashTable class should be used
- C、 The System.Collections.Generic.SortedDictionary class should be used
- D、 The System.Collections.SortedList class should be used
相关考题:
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?()A.B.C.D.
You work as an application developer at Certkiller .com. You are currently in the process of creating a new application for Certkiller .com. You are required to read compressed data files that has been sent by Certkiller .com‘s sales offices.These data files are less than 4 GB in size, but was compressed without cyclic redundancy. You want to write a method that receives the compressed files and return the uncompressed data as a byte array.What should you do?()A.B.C.D.
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、 Use the Enqueue method of the MyQueue object.B、 Use the Contains method of the MyQueue object.C、 Use the Dequeue method of the MyQueue object.D、 Use the Peek method of the MyQueue object.
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. The application that you are developing provides an interface for administrators and an interface for users to create message reports.You want to ensure that all user messages stored in the MyQueue object are removed when an administrator selects the reset option.What should you do?()A、 Use the Enqueue method of the MyQueue object.B、 Use the Clear method of the MyQueue object.C、 Use the Dequeue method of the MyQueue object.D、 Use the TrimToSize method of the MyQueue object.
You work as an application developer at Certkiller .com. Certkiller .com has been hired by a small local private school to develop a class library that will be used in an application named ManageAttendance for the purpose of managing student records.You are responsible for developing this class library. Certkiller .com has instructed you to create a collection in the application to store learners’ results. The school has informed you that they currently only have seven learners, but that this value will triple in the following year. Due to the limited resources, you need to ensure that the collection you create consumes a minimum amount of resources. What should you use to create the collection?()A、 The HybridDictionary collection class.B、 The HashTable collection class.C、 The ListDictionary collection class.D、 The StringCollection collection class.
You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()A、 Use the ServiceBase class.B、 Use the ServiceInstaller class.C、 Use the ServiceManager class.D、 Use the ServiceController class.
You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later you are asked to retrieve information from this application domain, which is the current application domain. What can you do to achieve this objective?()A、 Use the following code: AppDomain appInfo = ApplicationDomain.Current;B、 Use the following code: AppDomain appInfo = AppDomain.CurrentDomain ();C、 Use the following code: AppDomain appInfo = Thread.GetDomain ();D、 Use the following code: AppDomain appInfo = MainThread.GetDomain ();
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 Windows Service application. You need to change the security context in which the service runs. The service will be run in context of a non-privileged user on the local computer and present anonymous credentials to any remote server. You are required to set the Account property of the ServiceProcessInstaller class to specify the service account. What should you do?()A、Use ServiceAccount.User.B、Use ServiceAccount.LocalService.C、Use ServiceAccount.LocalSystem.D、Use ServceAccount.NetworkService.
You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later, you are required to determine if assembly references in this application domain, which is the current application domain, are being cached. What property should you use to achieve this objective?()A、 AppDomain.CurrentDomain.ShadowCopyFilesB、 AppDomain.CurrentDomain.CachePathC、 AppDomain.CurrentDomain.ConfigurationFileD、 AppDomain.CurrentDomain.Evidence
You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()A、 IDictionaryB、 IComparableC、 IComparerD、 IEqualityComparer
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()A、Web Setup projectB、Web-based deploymentC、Deployment manifestD、Web Deployment Tool
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?()A、The Assembly Registration Tool (Regasm.exe) should be used.B、The Global Assembly Cache Tool (Gacutil.exe) should be used.C、The .NET Services Installation Tool (Regsvcs.exe) should be used.D、The Installer Tool (InstallUtil.exe) should be used.
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?()A、 The System.Collections.Generic.SortedList class should be used B、 The System.Collections.HashTable class should be usedC、 The System.Collections.Generic.SortedDictionary class should be used D、 The System.Collections.SortedList class should be used
You are employed as a network administrator at Certkiller.com. You are in the process of creatingan Asp.Net application using Microsoft .NET Framework v3.5. The application is hosted on a server named CERTKILLER-SR01. CERTKILLER-SR01 isconfigured to run Microsoft IIS 6.0. You receive several requests from management to set upCERTKILLER-SR01 for remote debugging. You need to make use of CERTKILLER-WS01 inorder to debug the application remotely. What should you do?()A、This can be accomplished by attaching Microsoft Visual Studio.NET to the inetinfo.exe process.B、This can be accomplished by attaching Microsoft Visual Studio.NET to the Msvsmon.exeprocess.C、This can be accomplished by attaching Microsoft Visual Studio.NET to theWebDev.WebServer.exe process.D、This can be accomplished by attaching Microsoft Visual Studio.NET to the w3wp.exe process.
You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform.You have recently finished development of a class named TestReward and package the class in a .NET 2.0 assembly named TestObj.dll. After you ship the assembly and it is used by client applications, you decide to move the TestReward class from TestObj.dll assembly to the TestRewardObj.dll Assembly. You are to ensure when you ship the updated TestObj.dll and TestRewardObj.dll assemblies that the client applications continue to work and do not require recompiling.What should you do?()A、 The TypeForwardedTo attribute should be usedB、 The TypeConvertor.ConvertTo method should be usedC、 The InternalsVisibleTo attribute should be usedD、 The Type Convertor.ConvertFrom method should be used
单选题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 Windows Service application. You need to change the security context in which the service runs. The service will be run in context of a non-privileged user on the local computer and present anonymous credentials to any remote server. You are required to set the Account property of the ServiceProcessInstaller class to specify the service account. What should you do?()AUse ServiceAccount.User.BUse ServiceAccount.LocalService.CUse ServiceAccount.LocalSystem.DUse ServceAccount.NetworkService.
单选题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?()AThe Assembly Registration Tool (Regasm.exe) should be used.BThe Global Assembly Cache Tool (Gacutil.exe) should be used.CThe .NET Services Installation Tool (Regsvcs.exe) should be used.DThe Installer Tool (InstallUtil.exe) should be used.
单选题You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()A Use the ServiceBase class.B Use the ServiceInstaller class.C Use the ServiceManager class.D Use the ServiceController class.
单选题You are employed as a network administrator at Certkiller.com. You are in the process of creatingan Asp.Net application using Microsoft .NET Framework v3.5. The application is hosted on a server named CERTKILLER-SR01. CERTKILLER-SR01 isconfigured to run Microsoft IIS 6.0. You receive several requests from management to set upCERTKILLER-SR01 for remote debugging. You need to make use of CERTKILLER-WS01 inorder to debug the application remotely. What should you do?()AThis can be accomplished by attaching Microsoft Visual Studio.NET to the inetinfo.exe process.BThis can be accomplished by attaching Microsoft Visual Studio.NET to the Msvsmon.exeprocess.CThis can be accomplished by attaching Microsoft Visual Studio.NET to theWebDev.WebServer.exe process.DThis can be accomplished by attaching Microsoft Visual Studio.NET to the w3wp.exe process.
单选题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 Windows Service application which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()AUse the ServiceController class.BUse the ServiceBase class.CUse the ServiceProcessInstaller class.DUse the ServiceInstaller class.
单选题You work as an application developer at Certkiller .com. You are currently in the process of developing a business logic component that requires long calculations. You have identified numerous tasks within this application that can be done asynchronously. You notice that these tasks are mutually dependent and require complex synchronization techniques so that it can manage efficiently. You decide to use Microsoft .NET 2.0 to take advantage of its new thread management features. You need to create and start the application threads. What should you do?()A AB BC CD D
单选题You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are in the process of storing numerical values up to 2,100,000,000 into a variable and may require storing negative values using a .NET Framework 2.0 application. You are required to optimize memory usage. What should you do? ()A Int32B UInt16C UInt32D Int16
单选题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 Windows Service application which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()AUse the ServiceController class.BUse the ServiceBase class.CUse the ServiceProcessInstaller class.DUse the ServiceInstaller class.
单选题You work as an application developer at Certkiller .com. You have been asked by you superiors at Certkiller .com to create a child application domain. The new child application domain has to specify a different assembly path than that of the parent application domain.You need to ensure that your solution meets Certkiller .com’s requirements.What should you do?()A AB BC CD D
单选题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 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 well 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?()A The System.Collections.Generic.SortedList class should be usedB The System.Collections.HashTable class should be usedC The System.Collections.Generic.SortedDictionary class should be usedD The System.Collections.SortedList class should be used
多选题You work as an application developer at Certkiller .com. You are in the process of creating an application for Certkiller .com’s Human Resources department that tracks employee benefits. You have to store current employee data without recompiling the application. You elect to store this employee data as a custom section in the application configuration file. The relevant portion of the application configuration file is shown in the following exhibit: You want to use the .NET 2.0 Configuration API to access the custom section. You need to ensure that programmatic access of the EmployeeSection element is enabled. What should you do?()ACreate a custom section handler class that inherits the ConfigurationSection interface.BAdd a section element to the EmployeeSection element of the application configuration file.CCreate a custom section handler class that implements the IConfigurationSectionHandler interface.DAdd an EmployeeSection element to the configSections element of the application configuration file.ECreate a custom section handler class that implements the IApplicatioSettingsProvider interface.FAdd a section element to the configSections element of the application configuration file.
单选题You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()A IDictionaryB IComparableC IComparerD IEqualityComparer