When ‘Final’ is used in class, method and property, what dose it
mean?
第1题:
A cluster administrator has defined a custom error notification method that will email and administrator when a temp error is detected on an individual hdisk. What method should be used to test this functionality?()
第2题:
Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo() method, which two statements are true?()
第3题:
Which two statements are true about the hashCode method?()
第4题:
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You decide to enable session state for the application. You need to determine whether the sessionID is maintained in the URL of the request. What should you do?()
第5题:
Which property of the ListView class is used to get/set the name of the data field whose value exclusively identifes every data row of a ListView when the ClientIDMode property is set to Predictable?()
第6题:
You are implementing an ASP.NET MVC 2 Web application that contains several folders. The Views/Shared/DisplayTemplates folder contains a templated helper named Score.ascx that performs custom formatting of integer values. The Models folder contains a class named Player with the following definition.Public Class Player Public Property Name As String Public Property LastScore As IntegerPublic Property HighScore As IntegerEnd Class You need to ensure that the custom formatting is applied to LastScore values when the HtmlHelper.DisplayForModel method is called for any view in the application that has a model of type Player. What should you do?()
第7题:
You are developing an application that will perform mathematical calculations.You need to ensure that the application is able to perform multiple calculations simultaneously. What should you do?()
第8题:
Which of the following statements about variables and their scopes are true? ()
第9题:
Move the loop code into the constructor of the service class from the OnStart method.
Drag a timer component onto the design surface of the service. Move the calls to the long-running procedure from the OnStart method into the Tick event procedure of the timer, set the Enabled property of the timer to True, and call the Start method of the timer in the OnStart method.
Add a class-level System.Timers.Timer variable to the service class code. Move the call to the DoWork method into the Elapsed event procedure of the timer, set the Enabled property of the timer to True, and call the Start method of the timer in the OnStart method.
Move the loop code from the OnStart method into the DoWork method.
第10题:
Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.
Specify the stream to write into the DeflateStream object is created (for example, in the constructor).
Use the Write method of the DeflateStream class.
Register for the BaseSream event of the DeflateStream class.
第11题:
The Natural Approach.
The Communicative Approach.
The Audio-lingual Method.
The Grammar-translation Method.
第12题:
The hashCode method for a given class can be used to test for object equality and object inequality for that class.
The hashCode method is used by the java.util.SortedSet collection class to order the elements within that set.
The hashCode method for a given class can be used to test for object inequality, but NOT objecte quality, for that class.
The only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.
The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.
第13题:
When compressing data with the DeflateStream class, how do you specify a stream into which to write compressed data?()
第14题:
Which three statements are true?()
第15题:
You use Reflection to obtain information about a method named MyMethod.You need to ascertain whether MyMethod is accessible to a derived class.What should you do?()
第16题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a property named ServiceContext to a control. You need the value of ServiceContext to flow to the child controls exactly like the value of the DataContext property of the FrameworkElement class. What should you do? ()
第17题:
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.The control will have the same properties as a TextBox control.You need to ensure that the control has a transparent background when it is painted on form.You want to achieve this goal by using the minimum amount of development effort.What should you do?()
第18题:
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?()
第19题:
You work as a Web Developer at Certkiller.com. You use Microsoft ASP.NET 3.5 to create a Webapplication. A Hypertext Transfer Protocol (HTTP) handler is implemented to produce Human Interactive Proof(HIP) images. You have to make sure that the current page invoke the handler and automaticallycontinue executing after the handler completes execution. What should you do?()
第20题:
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?()
第21题:
sendmail -bi
yes >/dev/kmem
emulate errlog entry
reducevg vgname hdisk#
第22题:
Create an event handler for the CanExecuteChanged event of the AddSugarCommand command. Call the CanAddSugar method from within the event handler.
Inherit the AddSugarCommand from the RoutedUICommand class instead of the RoutedCommand class. Call the CanAddSugar method from within the constructor of the AddSugarCommand command.
Add a CommandBinding object to the CommandBinding property of the MenuItem control. Set the CanExecute property of the CommandBinding object to the CanAddSugar method.
Add a CommandBinding object to the CommandBindings property of the window. Set the Command property of CommandBinding to the AddSugarCommand command. Set the CanExecute property of the CommandBinding object to the CanAddSugar method.
第23题:
The RequestType property of the HttpRequest class should be accessed.
The IsCookieless property of the HttpSessionState class should be accessed.
The UrlDecode method of the HttpServerUtility class should be accessed.
The UrlEncode method of the HttpServerUtility class should be accessed.