多选题You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream.  Which twoHttpServletResponse methods will you use to provide this in

题目
多选题
You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream.  Which twoHttpServletResponse methods will you use to provide this information?()
A

response.setLength(numberOfBytes);

B

response.setContentLength(numberOfBytes);

C

response.setHeader(Length, numberOfBytes);

D

response.setIntHeader(Length, numberOfBytes);

E

response.setHeader(Content-Length, numberOfBytes);

F

response.setIntHeader(Content-Length, numberOfBytes);


相似考题
参考答案和解析
正确答案: C,D
解析: 暂无解析
更多“多选题You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream.  Which twoHttpServletResponse methods will you use to provide this in”相关问题
  • 第1题:

    You want to use the Web to let Eternal users or your customers look at corporate information. But you want to keep installation at the user end(66)and you don't want just anyone to get(67)your databases.

    That may be where an application server enters the picture. For more user machine independent, these t software packages, typically written in the(68)programming language.

    for use on Windows NT-based systems, act as go-betweens linking browser-equipped end users to the databases that(69)the information they need to(70)。

    A.simple

    B.simply

    C.single

    D.singly


    正确答案:A

  • 第2题:

    You are about to configure PPP n the interface of a Cisco router. Which authentication methods could you use?()

    A.SSL

    B.SLIP

    C.PAP

    D.LAPB

    E.CHAP

    F.VNP


    参考答案:C, E

  • 第3题:

    资料:Imagine you went to a restaurant with your girlfriend, had a burger, paid with a credit card, and left. The next time you go there, the waiter or waitress, armed with your profile data, greets you with, “Hey Joe, how are you? Mary is over there in the seat you sat last time. Would you like to join her for dinner again?” Then you find out that your burger has been cooked and placed on the table. Forget the fact that you are with another date and are on a diet that doesn’t include burgers.
    Sound a little bizarre? To some, this is the restaurant equivalent of the Internet. The Net’s ability to profile you through your visits to and interactions at websites provides marketers with an enormous amount of data on you——some of which you may not want them to have.
    Are you aware that almost every time you access a website you get a “cookie”? Unfortunately, it’s not the Mrs. Field’s recipe. A cookie on the Internet is a computer code sent by the site to your computer——usually without your knowledge. During the entire period of time that you are at the site, the cookie is collecting information about yourself, including where you visit, how long you stay there, and how frequently you return to certain pages.
    While this may sound scary enough, cookies aren’t even the latest in technology. A new system call I-librarian Alexa——named after the legendary third century B.C. library in Alexandria, Egypt——does even more. While cookies track what you are doing at one site. Alexa collects data on all your web activities, such as which site you visit next, how long you stay there, whether you click on advertisements, etc. All this information is available to marketers, who use it to market more effectively to you. Not only do you not get paid for providing the information, you probably don’t even know that you are giving it.

    What can be learned about “cookie”?

    A.It was created by Mrs.Field.
    B.It collects information on you usually without your knowing it.
    C.It is a hardware needed to access to your computer.
    D.It is the latest in technology.

    答案:B
    解析:
    本题考查的是细节理解。
    【关键词】learned;cookie
    【主题句】第3自然段A cookie on the Internet is a computer code sent by the site to your computer—usually without your knowledge.During the entire period of time that you are at the site, the cookie is collecting information about yourself,including where you visit,how long you stay there,and how frequently you return to certain pages.网络上的cookie是站点发送给您计算机的计算机代码,通常在您不知情的情况下。在您访问站点的整个过程中,cookie收集关于您自己的信息,包括您访问的地方、在那里停留的时间以及返回特定页面的频率。
    【解析】本题的问题是“关于cookie我们可以了解到什么?”。A选项“它由菲尔德夫人创造。”;B选项“它通常在您不知道的情况下收集您的信息。”;C选项“它是访问您计算机所需的硬件。”;D选项“它是最新的技术。”根据主题句可知,cookie在您不知情的情况下收集您的信息,故选B。

  • 第4题:

    资料:Imagine you went to a restaurant with your girlfriend, had a burger, paid with a credit card, and left. The next time you go there, the waiter or waitress, armed with your profile data, greets you with, “Hey Joe, how are you? Mary is over there in the seat you sat last time. Would you like to join her for dinner again?” Then you find out that your burger has been cooked and placed on the table. Forget the fact that you are with another date and are on a diet that doesn’t include burgers.
    Sound a little bizarre? To some, this is the restaurant equivalent of the Internet. The Net’s ability to profile you through your visits to and interactions at websites provides marketers with an enormous amount of data on you——some of which you may not want them to have.
    Are you aware that almost every time you access a website you get a “cookie”? Unfortunately, it’s not the Mrs. Field’s recipe. A cookie on the Internet is a computer code sent by the site to your computer——usually without your knowledge. During the entire period of time that you are at the site, the cookie is collecting information about yourself, including where you visit, how long you stay there, and how frequently you return to certain pages.
    While this may sound scary enough, cookies aren’t even the latest in technology. A new system call I-librarian Alexa——named after the legendary third century B.C. library in Alexandria, Egypt——does even more. While cookies track what you are doing at one site. Alexa collects data on all your web activities, such as which site you visit next, how long you stay there, whether you click on advertisements, etc. All this information is available to marketers, who use it to market more effectively to you. Not only do you not get paid for providing the information, you probably don’t even know that you are giving it.

    Which of the following can best reflect the author’s attitude towards cookies and Alexa?

    A.Doubtful.
    B.Approving.
    C.Welcoming.
    D.Optimistic.

    答案:A
    解析:
    本题考查的是细节理解。
    【关键词】attitude;cookies;Alexa
    【主题句】第4自然段Not only do you not get paid for providing the information, you probably don’t even know that you are giving it.你不仅不会因为提供这些信息而得到报酬,而且你甚至可能不知道你正在提供这些信息。
    【解析】本题的问题是“以下哪一项最能反映作者对于cookies和Alexa的态度?”。A选项“怀疑的”;B选项“赞成的”;C选项“欢迎的”;D选项“乐观的”。根据主题句可知,作者对于cookies和Alexa持怀疑的态度,故选A。

  • 第5题:

    You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You are creating an ASP.NET Web application using .NET Framework 4.0.  The application holds a Web page named MyHome.aspx.  You are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a separate request. You need to use an improved rollover button in which the button„s rolloverimage is already downloaded and stored in the browser’s cache, as a result when you hover over the button, it is instantly displayed. What will you do to accomplish this?()

    • A、Use JavaScript Object Notation.
    • B、Use the RegisterClientScriptBlock method.
    • C、Use the RegisterClientScriptlnclude method.
    • D、Build a JavaScript function.
    • E、Use the RegisterClientScriptResource method.

    正确答案:B,D

  • 第6题:

    You are about to configure PPP n the interface of a Cisco router. Which authentication methods could you use?()

    • A、SSL
    • B、SLIP
    • C、PAP
    • D、LAPB
    • E、CHAP
    • F、VNP

    正确答案:C,E

  • 第7题:

    You are maintaining the SALES database for eSoft Corporation. You have not configured ASMM on the database. You want to know what size of the SGA will provide the best performance.  Which advisor would you use to determine the suitable size of the SGA?()

    • A、 SQL Tuning Advisor
    • B、 Undo Advisor
    • C、 ADDM
    • D、 Memory Advisor

    正确答案:D

  • 第8题:

    You are creating a job class. You want access to the detailed information for all the runs of each job in the class and every operation performed on every job in the class. Which setting will you use for the LOGGING_LEVEL parameter?()

    • A、 LOGGING_OFF
    • B、 LOGGING_RUNS
    • C、 LOGGING_FULL
    • D、 LOGGING_NULL

    正确答案:C

  • 第9题:

    You are designing a Windows Azure application that will generate events for multiple clients. Client web services might be behind NAT gateways.  You need to recommend an approach that will allow you to broadcast the events to clients.  What should you recommend?()

    • A、 Use ADO.NET Data Services and provide a shared key to clients.
    • B、 Use Windows Azure Queues and provide a shared key to clients.
    • C、 Use Windows Azure Table storage and providea shared key to clients.
    • D、 Use the Windows Azure AppFabric Service Bus and provide a shared secret to clients.

    正确答案:D

  • 第10题:

    单选题
    You are maintaining the SALES database for eSoft Corporation. You have not configured ASMM on the database. You want to know what size of the SGA will provide the best performance.  Which advisor would you use to determine the suitable size of the SGA?()
    A

     SQL Tuning Advisor

    B

     Undo Advisor

    C

     ADDM

    D

     Memory Advisor


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

  • 第11题:

    单选题
    You are creating a job class. You want access to the detailed information for all the runs of each job in the class and every operation performed on every job in the class. Which setting will you use for the LOGGING_LEVEL parameter?()
    A

     LOGGING_OFF

    B

     LOGGING_RUNS

    C

     LOGGING_FULL

    D

     LOGGING_NULL


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

  • 第12题:

    多选题
    You are adatabase solutions architect.Your company plans to develop asolution by using a SQLServer 2008 instance. The solutionhas the following business requirements: Import datafromvarious datasources suchas MicrosoftOffice Excel, Microsoft SQL Server2000, Microsoft SQL Server 2005, and CSV files. Profile the source data before it is imported. Provide collaboration andoffline capabilities to mobile users. Allowmobile users to use heterogeneous data stores. You need to configure the appropriate SQL Server components to accomplish the business requirements. You want to achieve this goal by using the minimum amount of administrative effort. Which two SQL Server components should you use?()
    A

    Analysis Services

    B

    Reporting Services

    C

    Integration Services

    D

    Notification Services

    E

    Microsoft Sync Framework


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

  • 第13题:

    When you choose a command name that is followed by "..." on menu, a(13)box appears in which you provide more information.

    A.text

    B.dialog

    C.list

    D.check


    正确答案:B

  • 第14题:

    资料:Imagine you went to a restaurant with your girlfriend, had a burger, paid with a credit card, and left. The next time you go there, the waiter or waitress, armed with your profile data, greets you with, “Hey Joe, how are you? Mary is over there in the seat you sat last time. Would you like to join her for dinner again?” Then you find out that your burger has been cooked and placed on the table. Forget the fact that you are with another date and are on a diet that doesn’t include burgers.
    Sound a little bizarre? To some, this is the restaurant equivalent of the Internet. The Net’s ability to profile you through your visits to and interactions at websites provides marketers with an enormous amount of data on you——some of which you may not want them to have.
    Are you aware that almost every time you access a website you get a “cookie”? Unfortunately, it’s not the Mrs. Field’s recipe. A cookie on the Internet is a computer code sent by the site to your computer——usually without your knowledge. During the entire period of time that you are at the site, the cookie is collecting information about yourself, including where you visit, how long you stay there, and how frequently you return to certain pages.
    While this may sound scary enough, cookies aren’t even the latest in technology. A new system call I-librarian Alexa——named after the legendary third century B.C. library in Alexandria, Egypt——does even more. While cookies track what you are doing at one site. Alexa collects data on all your web activities, such as which site you visit next, how long you stay there, whether you click on advertisements, etc. All this information is available to marketers, who use it to market more effectively to you. Not only do you not get paid for providing the information, you probably don’t even know that you are giving it.

    What can be learned about “Alexa”?

    A.Alexa is named after an ancient hero in Egypt.
    B.Alexa is installed in libraries.
    C.Alexa can provide all the necessary information about history.
    D.Alexa can provide more data to marketers than a cookie.

    答案:D
    解析:
    本题考查的是细节理解。
    【关键词】learned;Alexa
    【主题句】第4自然段A new system called I-librarian Alexa—named after the legendary third century B.C.library in Alexandria,Egypt—does even more.While cookies track what you are doing at one site, Alexa collects data on all your web activities, such as which website you visit next,how long you stay there,whether you click advertisements,etc.All this information is available to marketers, who use it to market more effectively to you.一个名为“I-libra.Alexa”的新系统,以埃及亚历山大公元前3世纪的传奇图书馆命名,它做的更多。cookies跟踪你在一个网站上做什么,Alexa收集所有网络活动的数据,比如你接下来访问哪个网站,你在那里停留多久,你是否点击广告等。所有这些信息对营销人员都是可用的,他们用它来更有效地向你推销。
    【解析】本题的问题是“关于Alexa我们可以了解到什么?”。A选项“Alexa是以埃及的一位古代英雄命名的。”;B选项“Alexa被安装在图书馆里。”;C选项“Alexa可以提供所有有关历史的必要信息。”;D选项“与cookie相比,Alexa可以向营销人员提供更多的数据。”根据主题句可知,和cookie相比,Alexa能够为营销人员提供更多的数据,故选D。

  • 第15题:

    资料:Imagine you went to a restaurant with your girlfriend, had a burger, paid with a credit card, and left. The next time you go there, the waiter or waitress, armed with your profile data, greets you with, “Hey Joe, how are you? Mary is over there in the seat you sat last time. Would you like to join her for dinner again?” Then you find out that your burger has been cooked and placed on the table. Forget the fact that you are with another date and are on a diet that doesn’t include burgers.
    Sound a little bizarre? To some, this is the restaurant equivalent of the Internet. The Net’s ability to profile you through your visits to and interactions at websites provides marketers with an enormous amount of data on you——some of which you may not want them to have.
    Are you aware that almost every time you access a website you get a “cookie”? Unfortunately, it’s not the Mrs. Field’s recipe. A cookie on the Internet is a computer code sent by the site to your computer——usually without your knowledge. During the entire period of time that you are at the site, the cookie is collecting information about yourself, including where you visit, how long you stay there, and how frequently you return to certain pages.
    While this may sound scary enough, cookies aren’t even the latest in technology. A new system call I-librarian Alexa——named after the legendary third century B.C. library in Alexandria, Egypt——does even more. While cookies track what you are doing at one site. Alexa collects data on all your web activities, such as which site you visit next, how long you stay there, whether you click on advertisements, etc. All this information is available to marketers, who use it to market more effectively to you. Not only do you not get paid for providing the information, you probably don’t even know that you are giving it.

    The author makes up the restaurant story in order to_________ .

    A.show the good services offered in some web restaurants
    B.criticize some restaurants for the poor services
    C.show the Internet’s ability to collect data on you
    D.prove the incredible power of the Internet to change your diet

    答案:C
    解析:
    本题考查的是细节理解。
    【关键词】restaurant;in order to
    【主题句】第2自然段To some, this is the restaurant equivalent of the Internet.The Net’s ability to profile you through your visits to and interactions at websites provides marketers with an enormous amount of data on you —some of which you do not want them to have.对一些人来说,这里的餐馆就相当于互联网。网络有能力通过你对网站的访问和互动来为营销人员提供大量关于你的数据,从而勾勒出你的轮廓——尽管其中一些数据你并不希望他们拥有。
    【解析】本题的问题是“作者编造了餐馆里的故事目的是_____。”A选项“展示一些互联网餐厅提供的良好服务”;B选项“批评一些餐馆服务差劲”;C选项“显示互联网收集你的数据的能力”;D选项“证明互联网有不可思议的力量能改变你的饮食”。根据主题句可知,作者编造餐馆里的故事目的是为了展示互联网收集你个人信息的能力,故选C。

  • 第16题:

    You want the size of the tablespace to increase when it is full. Which option would you use?()

    • A、use automatic extent allocation
    • B、disable threshold for the tablespace
    • C、use freelists to manage the free space
    • D、use automatic segment space management
    • E、create the tablespace as a bigfile tablespace
    • F、use the RESIZE clause while creating the tablespace
    • G、enable AUTOEXTEND for at least one of the data files in the tablespace

    正确答案:G

  • 第17题:

    You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream.  Which twoHttpServletResponse methods will you use to provide this information?()

    • A、response.setLength(numberOfBytes);
    • B、response.setContentLength(numberOfBytes);
    • C、response.setHeader("Length", numberOfBytes);
    • D、response.setIntHeader("Length", numberOfBytes);
    • E、response.setHeader("Content-Length", numberOfBytes);
    • F、response.setIntHeader("Content-Length", numberOfBytes);

    正确答案:B,F

  • 第18题:

    In which case would you use a FULL OUTER JOIN?()

    • A、Both tables have NULL values.
    • B、You want all unmatched data from one table.
    • C、You want all matched data from both tables.
    • D、You want all unmatched data from both tables.
    • E、One of the tables has more data than the other.
    • F、You want all matched and unmatched data from only one table.

    正确答案:D

  • 第19题:

    You want to check all the data blocks being written to the datafiles by analyzing the data on each block every time the DBWn process writes.   Which action will you perform to check the data blocks?()

    • A、 Set the value of the DB_BLOCK_CHECKING initialization parameter to TRUE
    • B、 Use the ANALYZE utility.
    • C、 Use the DBVERIFY utility.
    • D、 Use the DBMS_REPAIR package.

    正确答案:A

  • 第20题:

    You are adatabase solutions architect.Your company plans to develop asolution by using a SQLServer 2008 instance. The solutionhas the following business requirements: Import datafromvarious datasources suchas MicrosoftOffice Excel, Microsoft SQL Server2000, Microsoft SQL Server 2005, and CSV files. Profile the source data before it is imported. Provide collaboration andoffline capabilities to mobile users. Allowmobile users to use heterogeneous data stores. You need to configure the appropriate SQL Server components to accomplish the business requirements. You want to achieve this goal by using the minimum amount of administrative effort. Which two SQL Server components should you use?()

    • A、Analysis Services
    • B、Reporting Services
    • C、Integration Services
    • D、Notification Services
    • E、Microsoft Sync Framework

    正确答案:C,E

  • 第21题:

    You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which form of authentication should you use?()

    • A、 Anonymous
    • B、 Certificate
    • C、 Forms
    • D、Microsoft Windows Integrated Security

    正确答案:D

  • 第22题:

    多选题
    You are about to configure PPP n the interface of a Cisco router. Which authentication methods could you use?()
    A

    SSL

    B

    SLIP

    C

    PAP

    D

    LAPB

    E

    CHAP

    F

    VNP


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

  • 第23题:

    多选题
    You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream.  Which twoHttpServletResponse methods will you use to provide this information?()
    A

    response.setLength(numberOfBytes);

    B

    response.setContentLength(numberOfBytes);

    C

    response.setHeader(Length, numberOfBytes);

    D

    response.setIntHeader(Length, numberOfBytes);

    E

    response.setHeader(Content-Length, numberOfBytes);

    F

    response.setIntHeader(Content-Length, numberOfBytes);


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

  • 第24题:

    单选题
    You work as an application developer at Certkiller .com. You have been given the responsibility of creating a class named CalcSalary that will determine the salaries of Certkiller .com’s staff.The CalcSalary class includes methods to increment and decrement staff salaries.You would like to invoke the IncrementSalary and  DecrementSalary methods dynamically at runtime from the sales manager application when needed. After viewing the information displayed in the exhibit, you decide to use the Salary delegate to invoke these methods.  using System;  public delegate boolSalary (Employee Emp, double Amount); public class CalcSalary {  // for promotions  public static bool IncrementSalary (Employee Emp, double Amount) {  // implementation details }  // for demotions  public static bool DecrementSalary (Employee Emp, double Amount) {  // implementation details }  What code should you use?()
    A

    A

    B

    B

    C

    C

    D

    D


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