网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()

  • A、The tx.Matches(Bill)
  • B、The tx.Equals(Bill)
  • C、The tx.Match(Bill)
  • D、The tx.IsMatch(Bill)

参考答案

更多 “ You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()A、The tx.Matches(Bill)B、The tx.Equals(Bill)C、The tx.Match(Bill)D、The tx.IsMatch(Bill)” 相关考题
考题 Which of the following are part of the purchasing cycle:A define needB prepare and issue purchase orderC inspect incoming goodsD All of the above.E A and B only

考题 2 (a) Define the following terms:(i) Forensic Accounting;(ii) Forensic Investigation;(iii) Forensic Auditing. (6 marks)

考题 You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?() A. Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.B. Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.C. Add a Web User Control to your project. Define a class that inherits from UserControl.D. Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.

考题 Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?() A.Define the column MAINID as NOT UPDATABLEB.Define the column MAINID as a PRIMARY KEYC.Define the column MAINID as a FOREIGN KEYD.Define an UPDATE trigger on table TABLEX

考题 Describe a situation where you had to seek out relevant information, define key issues and decide on which steps to take to get the desired results.

考题 You are using an Automatic Storage Management (ASM) instance to manage the files of your production database. While studying the parameter file of the ASM instance, you find the following entry:  ASM_DISKSTRING = /devices/*  What could be the reason for this setting?()A、to enable the ASM instance to identify the alert log fileB、to enable the ASM instance to identify the server parameter fileC、to enable the ASM instance to define the locations for Oracle Managed Files (OMF)D、to enable the ASM instance to identify all disks that can be accessed by it in the /devices directory

考题 How do you define the authentication method that will be used with AAA?()A、With the method aaa commandB、With the method commandC、With a method listD、With a method statement

考题 When configuring a DHCP server, which of the following can the administrator define for DHCPusers?()A、 Database serverB、 NTP serverC、 DHCP serverD、 SQL serverE、 DNS serverF、 Domain name

考题 Which of the following is NOT a phase of the troubleshooting process?()A、confirm the repairB、define the problemC、document the resultsD、simplify the problem

考题 Which of the following are contained in a store archive?()A、a JAR file containing commands and JSPsB、an XML file defining the content of the store archiveC、a ZIP file of Java properties files containing translated textD、a database backup file used to define store dataE、a number of ZIP files used to define store data

考题 Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?()A、Define the column MAINID as NOT UPDATABLEB、Define the column MAINID as a PRIMARY KEYC、Define the column MAINID as a FOREIGN KEYD、Define an UPDATE trigger on table TABLEX

考题 The heartbeating over IP aliases function allows which of the following?()A、Create a heartbeat network over disksB、Define all boot addresses as IP aliasesC、Define all IP addresses in the same network subnetD、Define all boot, service and persistent addresses as IP aliases when using IPAT via replacement

考题 You create a master-detail form. The users need to be able to exit the form quickly, adhering to default transaction processing, regardless of the cursor location. You believe you can achieve this using a Key-Exit trigger. What do you need to do to implement this request? ()A、Define a Key-Exit trigger for all the blocks in the form.  B、In the Object Navigator, highlight all the items and define a Key-Exit trigger. C、Define a Key-Exit trigger on the primary key item in the master block.D、No additional key-trigger definition is necessary.

考题 You are the administrator of your company’s network. A user named Peter runs Windows 2000 Professional on his portable computer. Peter wants to be able to work at home on files that were created in the office on the company network. Prior to logging off the network and leaving the office, Peter enables offline files. Peter wants to automatically download all the opened files to his computer and he should not manually define the offline files. What setting you will do in caching option? ()A、Enable file and print sharing. Peter will be able to access his files at home immediatelyB、Synchronize all offline files. Peter will be able to access his files at home immediatelyC、In the cache settings, you should define the manual caching for documentsD、In the cache settings, you should define the automatic caching for documentsE、In the cache settings, you should define the automatic caching for programs. 

考题 You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You have a company logo that must appear on multiple forms in the application. The logo design changes frequently. You need to ensure that when the logo image is changed, you only need to update a single location. What should you do?()A、Define the image as a page resource.B、Define the image as an application resource.C、Save the image on a network drive.D、Include the image as an embedded resource.

考题 You use the following declaration to add a Web user control named TestUserControl.ascx to an ASP.NET page named TestPage.aspx.    You add the following code to the code-behind file of TestPage.aspx.  private void TestMethod(){ ...}You define the following delegate.  public delegate void MyEventHandler();  You need to add an event of type MyEventHandler named MyEvent to TestUserControl.ascx and attach the page’s TestMethod method to the event. Which two actions should you perform?()A、Add the following line of code to TestUserControl.ascx.cs. public event MyEventHandler MyEvent;B、Add the following line of code to TestUserControl.ascx.cs. public MyEventHandler MyEvent;C、Replace the TestUserControl.ascx reference in TestPage.aspx with the following declaration. uc:TestUserControl ID="testControl" runat="server" OnMyEvent="TestMethod"/D、Replace the TestUserControl.ascx reference in TestPage.aspx with the following declaration. uc:TestUserControl ID="testControl" runat="server" MyEvent="TestMethod"/

考题 You are modifying a table named Product in a SQL Server 2005 database. You want to add a new column named FriendlyName to the Product table. A friendly name for each product will be stored in this column. The table currently contains data. The sales department has not yet created a friendly name for each product. FriendlyName is a required value for each product. You want to add this new column by using the least amount of effort. What should you do?()A、Define the new column as NULL.Update the FriendlyName column to the same value as the productName column. Alter the FriendlyName column to be NOT NULL.B、Define the new column as NOT NULL with a default value of ’Undefined.’C、Define the new column as NULL. Use application logic to enforce the data constraint.D、Define the new column as NULL with a default value of ’Undefined.’

考题 单选题You work as an application developer at Certkiller .com. Certkiller .com has asked you to create a multi-threaded application, which executes a critical database  backup operation on an hourly basis. You define this operation with the following code:  public void BackupDB () {  //Implementation code }  You then create a Thread object for the purpose of invoking this method.  You need to ensure that the thread is scheduled for execution before any other thread at runtime.What should you do?()A AB BC CD D

考题 单选题You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()A The tx.Matches(Bill)B The tx.Equals(Bill)C The tx.Match(Bill)D The tx.IsMatch(Bill)

考题 问答题Practice 3  You should spend about 40 minutes on this task.  Write about the following topic:  Happiness is considered very important in life. Why is it difficult to define? What factors are important in achieving happiness?  You should write at least 250 words.

考题 单选题You are using an Automatic Storage Management (ASM) instance to manage the files of your production database. While studying the parameter file of the ASM instance, you find the following entry:  ASM_DISKSTRING = /devices/*  What could be the reason for this setting?()A to enable the ASM instance to identify the alert log fileB to enable the ASM instance to identify the server parameter fileC to enable the ASM instance to define the locations for Oracle Managed Files (OMF)D to enable the ASM instance to identify all disks that can be accessed by it in the /devices directory

考题 单选题Which class-of-service component allows you to define the bandwidth allocated to different traffic types?()A classificationB rewrite markingC schedulingD queuing

考题 单选题Given: What is the result?()A Compilation fails because of an error in line 7.B Compilation fails because of an error in line 9.C If you define D e = new E(), then e.bMethod() invokes the version of bMethod() defined in Line 5.D If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 5.E If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 9.

考题 单选题Which of the following parameters must be specified to define the number of dispatchers that need to be started?()A MAX_DISPATCHERSB DISPATCHERSC MIN_DISPATCHERSD SHARED_SERVERS

考题 多选题You develop a Windows Communication Foundation (WCF) service that employees use to access bonus information.You define the following service contract. (Line numbers are included for reference only.) 01 [ServiceContract(SessionMode = SessionMode.Required)] 02 public interface IFinancialService 03 { 04 [OperationContract] 05 string Login(int employeeID, string passwordHash); 06 07 [OperationContract] 08 double GetBonus(int month); 09 10 [OperationContract(IsTerminating = true)] 11 void Logout( ); 12 } Client application can invoke methods without logging in. You need to ensure that the client applications invoke Login before invoking any other method. You also need to ensure that client applications cannot consume the service after invoking Logout. Which two action should you perform? ()(Each correct answer presents part of the solution. Choose two.)。AReplace line 04 with the following code. [OperationContract(IsInitiating = false)]BReplace line 04 with the following code. [OperationContract(IsInitiating = true, IsTerminating = true)]CReplace line 07 with the following code. [OperationContract(IsInitiating = false)]DReplace line 10 with the following code. [OperationContract(IsInitiating = false, IsTerminating = true)]

考题 单选题What is the result?()A Compilation fails because of an error in line 3.B Compilation fails because of an error in line 7.C Compilation fails because of an error in line 9.D If you define D e = new E(),then e.bMethod() invokes the version of bMethod() defined in Line 5.E If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 5.F If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 9.

考题 单选题You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?()A Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.B Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.C Add a Web User Control to your project. Define a class that inherits from UserControl.D Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.