单选题You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies: 20.Hiking  21.Skiing  22.SCUBA Diving 23. After the user submits this form, a confirmation screen is displa

题目
单选题
You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies: 20.Hiking  21.Skiing  22.SCUBA Diving 23. After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume thatan application-scoped variable, hobbies, holds a map between the Hobby enumerated type and the displayname. Which EL code snippet will display Nth element of the user’s selected hobbies?()
A

${hobbies[hobbyEnum[N]}

B

${hobbies[paramValues.hobbyEnum[N]]}

C

${hobbies[paramValues@’hobbyEnum’@N]}

D

${hobbies.get(paramValues.hobbyEnum[N])}

E

${hobbies[paramValues.hobbyEnum.get(N)]}


相似考题
更多“单选题You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies: 20.Hiking  21.Skiing  22.SCUBA Diving 23. After the user submits this form, a confirmation screen is displa”相关问题
  • 第1题:

    You are developing a Web page. The user types a credit card number into an input control named cc and clicks a button named submit. The submit button sends the credit card number to the server. A JavaScript library includes a CheckCreditCard function that returns a value of true if the credit card appears to be valid, based on its checksum. You need to ensure that the form cannot be used to submit invalid credit card numbers to the server. What should you do?()

    • A、Configure the input control to run on the server. On the submit button, add a server-side OnClick handler that calls CheckCreditCard  and  rejects  the form submission if the input is invalid.
    • B、On the input control,add an onChange handler that calls CheckCreditCard and cancels the form submission when the  input  is invalid.
    • C、Configure the input control and the submit button to run on the server. Add a submit_OnClick handler that calls CheckCreditCard  and  rejects  the  form  submission  if  the input is invalid.
    • D、On the form, add an onSubmit handler that calls CheckCreditCard and cancels the form submission if the input  is invalid.

    正确答案:D

  • 第2题:

    You are building a dating web site. The client’s date of birth is collected along with lots of other information.You have created an EL function with the signature: calcAge(java.util.Date):int and it is assigned to the name, age, in the namespace, funct. In one of your JSPsyou need to print a special message to clients who are younger than 25.  Which EL code snippet will returntrue for this condition?()

    • A、${calcAge(client.birthDate) < 25}
    • B、${calcAge[client.birthDate] < 25}
    • C、${funct:age(client.birthDate) < 25}
    • D、${funct:age[client.birthDate] < 25}
    • E、${funct:calcAge(client.birthDate) < 25}

    正确答案:C

  • 第3题:

    In your database, the users SYS and SYSTEM have been assigned the profiles, ADMIN_PROF1 and ADMIN_PROF2, respectively. The rest of the database administrators are assigned the profile ADMIN_PROF3. You create a profile, USER_PROF, and assign it to the application user, Adams. After a week you realize that the profile is no longer required and you decide to drop it. What will Adam’s profile be after the USER_PROF profile has been dropped?()

    • A、no profiles
    • B、the default profile
    • C、same as the profile of SYS user
    • D、same as the profile of SYSTEM user

    正确答案:B

  • 第4题:

    Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2). All client computers run Windows XP Professional Service Pack 3 (SP3). A user named User1 has a computer named Computer1. You need to prevent changes made to User1’s desktop from being saved when User1 logs off of Computer1. What should you do? ()

    • A、Log on to Computer1 as an administrator. Rename User1’s user profile folder to User1.man.
    • B、Log on to Computer1 as an administrator. In User1’s user profile, rename ntuser.ini to ntuser.man.
    • C、Implement a roaming user profile for User1. In User1’s roaming user profile, rename ntuser.dat to ntuser.man.
    • D、Implement a roaming user profile for User1. In User1’s roaming user profile, deny User1 the Read permission for ntuser.ini.

    正确答案:C

  • 第5题:

    You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

    • A、Include a data source identified as "WebPartConnection1" on the Web Form.
    • B、Include a Web Part identified as "customerPart" on the Web Form.
    • C、Include a Web Part identified as "ordersPart" on the Web Form.
    • D、Ensure that you declare an interface named "IOrdersPart".
    • E、Ensure that you declare an interface named "ICustomerPart".
    • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

    正确答案:B,C

  • 第6题:

    You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment. What should you do?()

    • A、 Set the OnClientClick property to a JavaScript statement.
    • B、 Set the PostBackUrl property to a JavaScript statement.
    • C、 Set the PostBackUrl property to the URL of a confirmation page.
    • D、 Set the OnClientClick property to the URL of a confirmation page.

    正确答案:A

  • 第7题:

    单选题
    Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2). All client computers run Windows XP Professional Service Pack 3 (SP3). A user named User1 has a computer named Computer1. You need to prevent changes made to User1’s desktop from being saved when User1 logs off of Computer1. What should you do? ()
    A

    Log on to Computer1 as an administrator. Rename User1’s user profile folder to User1.man.

    B

    Log on to Computer1 as an administrator. In User1’s user profile, rename ntuser.ini to ntuser.man.

    C

    Implement a roaming user profile for User1. In User1’s roaming user profile, rename ntuser.dat to ntuser.man.

    D

    Implement a roaming user profile for User1. In User1’s roaming user profile, deny User1 the Read permission for ntuser.ini.


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

  • 第8题:

    单选题
    You are building a dating web site. The client’s date of birth is collected along with lots of other information.You have created an EL function with the signature: calcAge(java.util.Date):int and it is assigned to the name, age, in the namespace, funct. In one of your JSPsyou need to print a special message to clients who are younger than 25.  Which EL code snippet will returntrue for this condition?()
    A

    ${calcAge(client.birthDate) < 25}

    B

    ${calcAge[client.birthDate] < 25}

    C

    ${funct:age(client.birthDate) < 25}

    D

    ${funct:age[client.birthDate] < 25}

    E

    ${funct:calcAge(client.birthDate) < 25}


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

  • 第9题:

    单选题
    In your database, the users SYS and SYSTEM have been assigned the profiles, ADMIN_PROF1 and ADMIN_PROF2, respectively. The rest of the database administrators are assigned the profile ADMIN_PROF3. You create a profile, USER_PROF, and assign it to the application user, Adams. After a week you realize that the profile is no longer required and you decide to drop it. What will Adam’s profile be after the USER_PROF profile has been dropped?()
    A

    no profiles

    B

    the default profile

    C

    same as the profile of SYS user

    D

    same as the profile of SYSTEM user


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

  • 第10题:

    单选题
    You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies: 20.Hiking  21.Skiing  22.SCUBA Diving 23. After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume thatan application-scoped variable, hobbies, holds a map between the Hobby enumerated type and the displayname. Which EL code snippet will display Nth element of the user’s selected hobbies?()
    A

    ${hobbies[hobbyEnum[N]}

    B

    ${hobbies[paramValues.hobbyEnum[N]]}

    C

    ${hobbies[paramValues@’hobbyEnum’@N]}

    D

    ${hobbies.get(paramValues.hobbyEnum[N])}

    E

    ${hobbies[paramValues.hobbyEnum.get(N)]}


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

  • 第11题:

    单选题
    You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment. What should you do?()
    A

     Set the OnClientClick property to a JavaScript statement.

    B

     Set the PostBackUrl property to a JavaScript statement.

    C

     Set the PostBackUrl property to the URL of a confirmation page.

    D

     Set the OnClientClick property to the URL of a confirmation page.


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

  • 第12题:

    单选题
    You are developing a Web page. The user types a credit card number into an input control named cc and clicks a button named submit. The submit button sends the credit card number to the server. A JavaScript library includes a CheckCreditCard function that returns a value of true if the credit card appears to be valid, based on its checksum. You need to ensure that the form cannot be used to submit invalid credit card numbers to the server. What should you do?()
    A

    Configure the input control to run on the server. On the submit button, add a server-side OnClick handler that calls CheckCreditCard  and  rejects  the form submission if the input is invalid.

    B

    On the input control,add an onChange handler that calls CheckCreditCard and cancels the form submission when the  input  is invalid.

    C

    Configure the input control and the submit button to run on the server. Add a submit_OnClick handler that calls CheckCreditCard  and  rejects  the  form  submission  if  the input is invalid.

    D

    On the form, add an onSubmit handler that calls CheckCreditCard and cancels the form submission if the input  is invalid.


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

  • 第13题:

    You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies: 20.Hiking 
    21.Skiing 
    22.SCUBA Diving 23. After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume thatan application-scoped variable, hobbies, holds a map between the Hobby enumerated type and the displayname. Which EL code snippet will display Nth element of the user’s selected hobbies?()

    • A、${hobbies[hobbyEnum[N]}
    • B、${hobbies[paramValues.hobbyEnum[N]]}
    • C、${hobbies[paramValues@’hobbyEnum’@N]}
    • D、${hobbies.get(paramValues.hobbyEnum[N])}
    • E、${hobbies[paramValues.hobbyEnum.get(N)]}

    正确答案:B

  • 第14题:

    You are building a dating web site. The client’s date of birth is collected along with lots of other information.The Person class has a derived method, getAge():int, which returns the person’s age calculated from thedate of birth and today’s date. In one of your JSPs you need to print a special message to clients within theage group of 25 through 35. Which two EL code snippets will return true for this condition? ()

    • A、${client.age in [25,35]}
    • B、${client.age between [25,35]}
    • C、${client.age between 25 and 35}
    • D、${client.age <= 35 && client.age >= 25}
    • E、${client.age le 35 and client.age ge 25}

    正确答案:D,E

  • 第15题:

    You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code. What should you do?()

    • A、Persist control data by using view state.
    • B、Use Web Part controls.
    • C、Maintain a profile for each user.
    • D、Enable session state on the Web application.

    正确答案:B

  • 第16题:

    You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? ()

    • A、Add the OnClick event handler for the Login button to the code used in the custom user control.
    • B、Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
    • C、In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
    • D、In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.

    正确答案:A,D

  • 第17题:

    Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2). All client computers run Windows XP Professional Service Pack 3 (SP3). A user named User1 has a computer named Computer1. You need to prevent changes made to User1’s desktop from being saved when User1 logs off of Computer1. What should you do? ()

    • A、Log on to Computer1 as an administrator. Rename User1’s user profile folder to User1.man.
    • B、Log on to Computer1 as an administrator. In User1’s user profile, rename ntuser.ini to ntuser.man.
    • C、Implement a roaming user profile for User1. In User1’s roaming user profile, rename ntuser.dat to ntuser.man.
    • D、Implement a roaming user profile for User1. In User1’s roaming user profile, deny User1 the Read permission for ntuser.ini.

    正确答案:C

  • 第18题:

    You are a systems administrator responsible for managing a Windows Server 2008 Web server. Recently,your organization set up a new IIS Web site that will be accessed by users outside of your organizations.Consultants should be able to connect to this Web site, using IIS Manager. Your organization’s securitypolicy prevents you from creating domain accounts or local user accounts for these users. You attempt touse the IIS Manager Permissions feature for the Web site. However, when you click Allow User, you areable to select only Windows users.  How can you resolve this problem?()

    • A、Verify that Management Service has been started.
    • B、Reconfigure the file system permissions for the root folder of the Web site.
    • C、Reconfigure Management Service to enable Windows And IIS Manager Credentials.
    • D、Verify the Authentication settings for the Web site.

    正确答案:C

  • 第19题:

    单选题
    You are a systems administrator responsible for managing a Windows Server 2008 Web server. Recently,your organization set up a new IIS Web site that will be accessed by users outside of your organizations.Consultants should be able to connect to this Web site, using IIS Manager. Your organization’s securitypolicy prevents you from creating domain accounts or local user accounts for these users. You attempt touse the IIS Manager Permissions feature for the Web site. However, when you click Allow User, you areable to select only Windows users.  How can you resolve this problem?()
    A

    Verify that Management Service has been started.

    B

    Reconfigure the file system permissions for the root folder of the Web site.

    C

    Reconfigure Management Service to enable Windows And IIS Manager Credentials.

    D

    Verify the Authentication settings for the Web site.


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

  • 第20题:

    单选题
    You are creating a new form for the Order Entry application. You define a record group that will be created when the form is executing this built in: CREATE_GROUP(rg_emplist, global_scope) Which form(s) in the application will have access to this record group?()
    A

    All forms in the application. 

    B

    Any forms opened by the user who initiated the record group. 

    C

    Only the form issuing the CREATE_GROUP built-in. 

    D

    Any forms referenced by the form that contains the procedure.


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

  • 第21题:

    单选题
    You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code. What should you do?()
    A

    Persist control data by using view state.

    B

    Use Web Part controls.

    C

    Maintain a profile for each user.

    D

    Enable session state on the Web application.


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

  • 第22题:

    单选题
    Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2). All client computers run Windows XP Professional Service Pack 3 (SP3). A user named User1 has a computer named Computer1. You need to prevent changes made to User1’s desktop from being saved when User1 logs off of Computer1. What should you do? ()
    A

    Log on to Computer1 as an administrator. Rename User1’s user profile folder to User1.man.

    B

    Log on to Computer1 as an administrator. In User1’s user profile, rename ntuser.ini to ntuser.man.

    C

    Implement a roaming user profile for User1. In User1’s roaming user profile, rename ntuser.dat to ntuser.man.

    D

    Implement a roaming user profile for User1. In User1’s roaming user profile, deny User1 the Read permission for ntuser.ini.


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

  • 第23题:

    多选题
    You are building a dating web site. The client’s date of birth is collected along with lots of other information.The Person class has a derived method, getAge():int, which returns the person’s age calculated from thedate of birth and today’s date. In one of your JSPs you need to print a special message to clients within theage group of 25 through 35. Which two EL code snippets will return true for this condition? ()
    A

    ${client.age in [25,35]}

    B

    ${client.age between [25,35]}

    C

    ${client.age between 25 and 35}

    D

    ${client.age <= 35 && client.age >= 25}

    E

    ${client.age le 35 and client.age ge 25}


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

  • 第24题:

    单选题
    You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies: 20.Hiking  21.Skiing  22.SCUBA Diving 23. After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume thatan application-scoped variable, hobbies, holds a map between the Hobby enumerated type and the displayname. Which EL code snippet will display Nth element of the user’s selected hobbies?()
    A

    ${hobbies[hobbyEnum[N]}

    B

    ${hobbies[paramValues.hobbyEnum[N]]}

    C

    ${hobbies[paramValues@’hobbyEnum’@N]}

    D

    ${hobbies.get(paramValues.hobbyEnum[N])}

    E

    ${hobbies[paramValues.hobbyEnum.get(N)]}


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