An administrator attempts to open a web page and sees the following error: ‘Error 404: Page notfound‘. The administrator then uses the ping command and finds that the default gateway cannotbe pinged.At which of the following layers does the problem MOST l

题目

An administrator attempts to open a web page and sees the following error: ‘Error 404: Page notfound‘. The administrator then uses the ping command and finds that the default gateway cannotbe pinged.At which of the following layers does the problem MOST likely reside?()

A.Layer 1

B.Layer 4

C.Layer 5

D.Layer 7


相似考题
更多“An administrator attempts to open a web page and sees the following error: ‘Error 404: Pag ”相关问题
  • 第1题:

    下列程序的运行结果是( )。 A.error1:10.5B.error2C.error1:10.5 error2S

    下列程序的运行结果是( )。

    A.error1:10.5

    B.error2

    C.error1:10.5 error2

    D.以上都不对


    正确答案:C
    try-catoh块是可以嵌套分层的,并且通过异常对象的数据类型进行匹配,以找到正确的catchblock异常错误处理代码。以下是通过异常对象的数据类型进行匹配找到正确的catchblock的过程。①首先在抛出异常的try-catch块中查找catchblock,按顺序先与第-个catchblock块匹配,如果抛出的异常对象的数据类型与catchblockee传入的异常对象的临时变量(就是catch语句后面参数)的数据类型完全相同,或是它的子类型对象,则匹配成功,进入catchblock中执行,否则到第②步;②如果有两个或更多的catchblock,则继续查找匹配第二个、第三个,乃至最后-个catchblock,如匹配成功,则进入对应的catchblock中执行,否则到第③步;③返回到上-级的try-catch块中,按规则继续查找对应的catchblock。如果找到,进入对应的catchblock中执行,否则到第4步;④再到上上级的try-catch块中,如此不断递归,直到匹配到顶级的try-catch块中的最后-个catchblock,如果找到,进入到对应的catchblock中执行;否则程序将会执行terminate()退出。所以选C。

  • 第2题:

    What does ECC stand for?()

    A. Error-Checking Code

    B. Extended-Checking Code

    C. Error-Correction Code

    D. Enhanced-Correction Code


    参考答案:C

  • 第3题:

    如果当前JSP页面出现异常时需要转到一个异常页,需要设置page 指令的()属性。

    A.errorPage

    B.isErrorPage

    C.Exception

    D.error


    A

  • 第4题:

    下列代码的执行结果是( )。

    A.error1

    B.error2

    C.error1 error2

    D.2 error2


    正确答案:C
    当0作为除数时,会产生异常,而Arith-meticException和Exception两类异常都内部被捕捉到。

  • 第5题:

    如果当前JSP页面出现异常时需要转到一个异常页,需要设置page指令的()属性

    A.Exception

    B.isErrorPage

    C.ErrorPage

    D.error


    C