单选题Consider the following code snippet:   BEGIN  DBMS_SCHEDULER.SET_ATTRIBUTE ( name => ,,lne_job1, attribute => ,,job_priority, value => 1);  END;  /   If this code were executed, which of the following statements would be true?()AThe priority of the lne

题目
单选题
Consider the following code snippet:   BEGIN  DBMS_SCHEDULER.SET_ATTRIBUTE ( name => ,,lne_job1, attribute => ,,job_priority, value => 1);  END;  /   If this code were executed, which of the following statements would be true?()
A

 The priority of the lne_job1 job would be set to 1.

B

 The lne_job1 job would be executed synchronously.

C

 The lne_job1 job would run immediately in the users current session.

D

 The lne_job1 job would retain its current priority.

E

 The job will immediately take priority over all running jobs.


相似考题
更多“Consider the following code snippet:   BEGIN  DBMS_SCHEDULER”相关问题
  • 第1题:

    Which of the following will begin a new unit of work?()

    • A、The CONNECT statement
    • B、The first FETCH of a cursor
    • C、The BEGIN TRANSACTION statement
    • D、The first executable SQL statement

    正确答案:D

  • 第2题:

    You accepted the recommended SQL Profile by executing the following code:   DECLARE   sqlprofile_name varchar2(30);  BEGIN   sqlprofile_name := DBMS_SQLTUNE.ACCEPT_SQL_PROFILE(  task_name => ’my_task’,   profile_name => ’my_profile’);   END;   Which advisor will analyze this profile?()  

    • A、 SQL Access Advisor
    • B、 Undo Advisor
    • C、 Segment Advisor
    • D、 SQL Tuning Advisor

    正确答案:D

  • 第3题:

    Where can you add your own PL/SQL code in relation-handling triggers?()

    • A、Before the "End default relation program section" comment. 
    • B、After the "Begin default relation program section" comment. 
    • C、Before the "Begin default relation program section" comment. 
    • D、It is not possible to modify the relation-handling code that Forms automatically creates for relations.

    正确答案:C

  • 第4题:

    You create a Web page named TestPage.aspx and a user control named TestUserControl.ascx. TestPage.aspx uses TestUserControl.ascx as shown in the following line of code. On TestUserControl.ascx, you need to add a read-only member named CityName to return the value "New York". You also must add code to TestPage.aspx to read this value. Which two actions should you perform?()

    • A、Add the following line of code to the TestUserControl.ascx.cs code-behind file. public string CityName { get { return "New York"; } } 
    • B、Add the following line of code to the TestUserControl.ascx.cs code-behind file. protected readonly string CityName = "New York"; 
    • C、Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.CityName; } 
    • D、Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.Attributes["CityName"]; } 

    正确答案:A,C

  • 第5题:

    You are developing a Windows Communication Foundation (WCF) service to replace an existing ASMX Web service.The WCF service contains the following code segment. (Line numbers are included for reference only.) 01 [ServiceContract( )] 02 03 public interface IEmployeeService 04 { 05 [OperationContract( )] 06 EmployeeInfo GetEmployeeInfo(int employeeID); 07 08 } 09 10 public class EmployeeService : IEmployeeService 11 { 12 13 public EmployeeInfo GetEmployeeInfo(int employeeID) 14 { 15 ... 16 } 17 } 18 19 20 public class EmployeeInfo 21 { 22 ... 23 public int EmployeeID { get; set; } 24 public string FirstName { get; set; } 25 public string LastName { get; set; } 26 27 }The existing Web service returns the EmployeelD as an attribute of the Employeelnfo element in the response XML.You need to ensure that applications can consume the service without code changes in the client. What should you do?()

    • A、Insert the following code at line 02. [DataContractFormat()] Insert the following code at line 22. [DataMember()]
    • B、Insert the following code at line 02. [XmlSerializerFormat()] Insert the following code at line 22. [XmlAtttibute()]
    • C、Insert the following code at line 09. [XmlSerializerFormat()] Insert the following code at line 22. [XmlAttribute()]
    • D、Insert the following code at line 19. [DataContractFormat()] Insert the following code at line 22. [DataMember()]

    正确答案:B

  • 第6题:

    单选题
    To generate recommendations to improve the performance of a set of SQL queries in an application, you execute the following blocks of code:   BEGIN  dbms_advisor.create_task(dbms_advisor.sqlaccess_advisor,’TASK1’);  END; /  BEGIN  dbms_advisor.set_task_parameter(’TASK1’,’ANALYSIS_SCOPE’,’ALL’); dbms_advisor.set_task_parameter(’TASK1’,’MODE’,’COMPREHENSIVE’);  END;  /  BEGIN  dbms_advisor.execute_task(’TASK1’);  dbms_output.put_line(dbms_advisor.get_task_script(’TASK1’));  END;  /  The blocks of code execute successfully;however,you do not get the required outcome.  What could be the reason?()
    A

     A template needs to be associated with the task.

    B

     A workload needs to be associated with the task.

    C

     The partial or complete workload scope needs to be associated with the task.

    D

     The type of structures (indexes, materialized views, or partitions) to be recommended need to be  specified for the task.


    正确答案: C
    解析: 暂无解析

  • 第7题:

    单选题
    Where can you add your own PL/SQL code in relation-handling triggers?()
    A

    Before the End default relation program section comment. 

    B

    After the Begin default relation program section comment. 

    C

    Before the Begin default relation program section comment. 

    D

    It is not possible to modify the relation-handling code that Forms automatically creates for relations.


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    Which of the following will begin a new unit of work?()
    A

    The CONNECT statement

    B

    The first FETCH of a cursor

    C

    The BEGIN TRANSACTION statement

    D

    The first executable SQL statement


    正确答案: C
    解析: 暂无解析

  • 第9题:

    单选题
    You have created a resource plan, DAY. You execute the following code:        SQL> BEGIN        DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_DIRECTIVE   ( PLAN => ’DAY’,        COMMENT => ’DEPARTMENTS PLAN’,   GROUP_OR_SUBPLAN => ’DEPARTMENTS’,        CPU_P1=0);        END;   Then, you issue the following code:        SQL> BEGIN   DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_DIRECTIVE        ( PLAN => ’DAY’,        COMMENT => ’DEPARTMENTS PLAN’,        GROUP_OR_SUBPLAN => ’DEVELOPERS’,        CPU_P2=100);        END;   What will be the impact of executing the above code?()
    A

     The DEVELOPERS and DEPARTMENTS subplans will be allocated CPU equally.

    B

     The DEVELOPERS subplan will be allocated 100 percent CPU if there are no resources allocated to the DEPARTMENTS subplan.

    C

     The DEPARTMENT subplan will be allocated 100 percent CPU if there are no resources allocated to the DEVELOPERS subplan.

    D

     The second code will not execute because one resource plan cannot be used by more than one subplan.


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    Consider the following code snippet:   BEGIN  DBMS_SCHEDULER.SET_ATTRIBUTE ( name => ,,lne_job1, attribute => ,,job_priority, value => 1);  END;  /   If this code were executed, which of the following statements would be true?()
    A

     The priority of the lne_job1 job would be set to 1.

    B

     The lne_job1 job would be executed synchronously.

    C

     The lne_job1 job would run immediately in the users current session.

    D

     The lne_job1 job would retain its current priority.

    E

     The job will immediately take priority over all running jobs.


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    You executed the following code:   BEGIN   DBMS_SCHEDULER.SET_ATTRIBUTE  (  NAME => ’JOB_A’,   ATTRIBUTE => ’JOB_PRIORITY’,   VALUE => 7);   END;  /   After analyzing the above code, what conclusion will you draw?()
    A

     The code will be executed successfully.

    B

     The code will not be executed successfully because the value of the VALUE parameter must be 1, 2, or 3.

    C

     The code will not be executed successfully because the value of the VALUE parameter must range between 1 and 5.

    D

     The code will not be executed successfully because no SET_ATTRIBUTE procedure exists in the DBMS_SCHDULER package.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    多选题
    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 ();


    正确答案: B,C
    解析: 暂无解析

  • 第13题:

    Which JSTL code snippet can be used to perform URL rewriting?()

    • A、<a href=’<c:url url="foo.jsp"/>’ />
    • B、<a href=’<c:link url="foo.jsp"/>’ />
    • C、<a href=’<c:url value="foo.jsp"/>’ />
    • D、<a href=’<c:link value="foo.jsp"/>’ />

    正确答案:C

  • 第14题:

    Consider the following code snippet:   BEGIN  DBMS_SCHEDULER.SET_ATTRIBUTE ( name => ,,lne_job1, attribute => ,,job_priority, value => 1);  END;  /   If this code were executed, which of the following statements would be true?()

    • A、 The priority of the lne_job1 job would be set to 1.
    • B、 The lne_job1 job would be executed synchronously.
    • C、 The lne_job1 job would run immediately in the users current session.
    • D、 The lne_job1 job would retain its current priority.
    • E、 The job will immediately take priority over all running jobs.

    正确答案:A

  • 第15题:

    You executed the following code:   BEGIN   DBMS_SCHEDULER.SET_ATTRIBUTE  (  NAME => ’JOB_A’,   ATTRIBUTE => ’JOB_PRIORITY’,   VALUE => 7);   END;  /   After analyzing the above code, what conclusion will you draw?()  

    • A、 The code will be executed successfully.
    • B、 The code will not be executed successfully because the value of the VALUE parameter must be 1, 2, or 3.
    • C、 The code will not be executed successfully because the value of the VALUE parameter must range between 1 and 5.
    • D、 The code will not be executed successfully because no SET_ATTRIBUTE procedure exists in the DBMS_SCHDULER package.

    正确答案:C

  • 第16题:

    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? ()

    • A、 Add the following code on line 1: : IComparable {
    • B、 Add the following code on line 1: : IComparer {
    • C、 Add the following code on line 3: public int Compare (object x, object y) {// implementation code }
    • D、 Add the following code on line 3: public int CompareTo (object obj) {// implementation code }

    正确答案:B,C

  • 第17题:

    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"/>

    正确答案:A,C

  • 第18题:

    单选题
    You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.Partial Public Class Custom  Inherits System.Web.UI.MasterPagePublic Property Region As String    Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadEnd SubEnd Class You create a new ASP.NET page and specify Custom.master as its master page.You add a Label control named lblRegion to the new page.  You need to display the value of the master pages Region property in lblRegion.What should you do? ()
    A

    Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Parent  lblRegion.Text = custom.Region

    B

    Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Master  lblRegion.Text = custom.Region

    C

    Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Page.FindControl(lblRegion) lblRegion.Text = Me.Region

    D

    Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Master.FindControl(lblRegion) lblRegion.Text = Me.Region


    正确答案: C
    解析: 暂无解析

  • 第19题:

    单选题
    A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a JSP page. This attribute holds an instance of the com.Company.   Product class with a name property of “The Matrix” and price property of 39.95. Given the JSP page code snippet: What is the response output of this JSP page code snippet? ()
    A

     Default costs 0.0

    B

     Default costs 49.95

    C

     Default costs 39.95

    D

     The Matrix costs 0.0

    E

     The Matrix costs 49.95

    F

     The Matrix costs 39.95


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    Which JSTL code snippet can be used to import content from another web resource?()
    A

    <c:import url=foo.jsp/>

    B

    <c:import page=foo.jsp/>

    C

    <c:include url=foo.jsp/>

    D

    <c:include page=foo.jsp/>


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    You want to use te Coherence Java APIs to directly cached POJOs. Consider this snippet of code: NamedCache cache - CacheFactory.getCache("mycache");  cache.put(new Integer(I)f "hello"); cache.put(T,"hi");  cache.put(new Long(II),"hey");  This code inserts three objects into the cache.  Why ?()
    A

     hashCode() and equals() method for each object type is different so a different key is used

    B

     each object value string is different so a different value is inserted on each put

    C

     equals() and compare() method is different for each put

    D

     POF need to be implemented for this to work properly


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    You accepted the recommended SQL Profile by executing the following code:   DECLARE   sqlprofile_name varchar2(30);  BEGIN   sqlprofile_name := DBMS_SQLTUNE.ACCEPT_SQL_PROFILE(  task_name => ’my_task’,   profile_name => ’my_profile’);   END;   Which advisor will analyze this profile?()
    A

     SQL Access Advisor

    B

     Undo Advisor

    C

     Segment Advisor

    D

     SQL Tuning Advisor


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    Certkiller.com has employed you as a Web Application Developer. You are in the process ofcreating an ASP.NET application using Microsoft .NET Framework v3.5. You decide to create acustom Web user control for the application.  You name this control TestShare. TestShare will be compiled as a library. The code below iswritten for TestShare. (The line numbers is included for reference purposes) 1 Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs) 2 MyBase.OnInit(e) 3 4 End Sub  The master pages in the application contains the directive below: You receive an instruction from management to make sure that the state of TestShare is able tocontinue on the pages that reference a master page. You thus need to determine the appropriatecode that should be added at line 3.  What should you identify?()
    A

    You should consider adding the Page.RegisterRequiresControlState(Me) code fragment.

    B

    You should consider adding the Page.UnregisterRequiresControlState(Me) code fragment.

    C

    You should consider adding the Page.RegisterStartupScript(TestShare, server) codefragment.

    D

    You should consider adding the Page.RegisterRequiresPostBack(Me) code fragment.


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    Consider the following class:     class Test(int i) {     void test(int i) {  System.out.println(“I am an int.”); }    void test(String s) {   System.out.println(“I am a string.”);     }          public static void main(String args) {    Test t=new Test();     char ch=“y”;    t.test(ch);     }      }     Which of the statements below is true?()
    A

     Line 5 will not compile, because void methods cannot be overridden.

    B

     Line 12 will not compile, because there is no version of test() that rakes a charargument.

    C

     The code will compile but will throw an exception at line 12.

    D

     The code will compile and produce the following output: I am an int.

    E

     The code will compile and produce the following output: I am a String.


    正确答案: A
    解析: 在第12行,16位长的char型变量ch在编译时会自动转化为一个32位长的int型,并在运行时传给void test(int i)方法。