思科认证考试

A default Frame Relay WAN is classified as what type of physical network?()A、point-to-point  B、broadcast multi-access  C、nonbroadcast multi-access  D、nonbroadcast multipoint E、broadcast point-to-multipoint 

题目

A default Frame Relay WAN is classified as what type of physical network?()

  • A、point-to-point  
  • B、broadcast multi-access  
  • C、nonbroadcast multi-access  
  • D、nonbroadcast multipoint 
  • E、broadcast point-to-multipoint 
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下列哪一个方法是自动调整窗口的大小?

A.frame.setSize()

B.frame.setDefaultClose()

C.frame.pack()

D.frame.setVisible()


正确答案:C
解析:frame.pack()方法能自动调节窗口的大小,而不是用程序员给的参数去设置窗口的大小。选项A)frame.setSize()来设置窗口的大小,其中的参数都是窗口的大小,是确定的。选项D)frame.setVisible()是来设置窗口是不是可见的,参数是布尔型的。

第2题:

When configuring a serial interface on a router, what is the default encapsulation?()

A. atm-dxi

B. frame-relay

C. hdlc

D. lapb

E. ppp


参考答案:C

第3题:

请完善程序(程序文件名:Java_2.java)并进行调试。请在下画线处填入正确内容,然后删除下画线。请勿删除注释行和其他已有的语句内容。

[题目要求]

在JFrame窗口中,显示一个字符串并保证窗口正常关闭和退出,使程序运行结果如下图所示。

源程序:

import javax.swing.*:

import java.awt.*;

public class Java_2 {

public static void main(String[] args) {

WelcomFrame. frame=new WelcomFrame();

frame.setDefaultCloseOperation(JFrame. (1) );

frame.show();

}

}

class WelcomFrame. extends (2) {

public WelcomFrame() {

setTitle("Java等级考试");

(3) (DEFAULT_WIDTH,DEFAULT_HEIGHT);

WelcomPanel panel=new WelcomPanel();

Container contentPane=getContentPane();

contentPane.add(panel);

}

public static final int DEFAULT_WIDTH=250;

public static final int DEFAULT_HEIGHT=100;

}

class WelcomPanel extends (4) {

public void paintComponent(Graphics g) {

super.paintComponent(g);

g.drawString("欢迎参加Java等级考试!",MESSAGE_X,MESSAGE_Y);

}

public static final int MESSAGE_X=60:

public static final int MESSAGE_Y=50:

}


正确答案:(1)EXIT_ON_CLOSE (2)JFrame (3)setSize (4)Jpanel
(1)EXIT_ON_CLOSE (2)JFrame. (3)setSize (4)Jpanel 解析:JFrame类的方法public void setDefaultCloseOperation(int operation)——设置用户在此窗体上发起“close”时默认执行的操作。必须指定以下选项之一:
?DO_NOTHING_ON_CLOSE(在WindowConstants中定义):不执行任何操作;要求程序在已注册的WindowListener对象的windowClosing方法中处理该操作。
?HIDE_ON_CLOSE(在WindowConstants中定义):调用任意已注册的WindowListener对象后自动隐藏该窗体。
?DISPOSE_ON_CLOSE(在WindowConstants中定义):调用任意已注册WindowListener的对象后自动隐藏并释放该窗体。
?EXIT_ON_CLOSE(在JFrame中定义):使用System exit方法退出应用程序。仅在应用程序中使用。
由程序以及题目要求可以看出,程序是要创建一个JFrame类的对象,所以WelcomFrame应该是JFrame类的子类。
通过参数可以看出是JFrame对象的大小,所以应该使用方法setSize。
由程序以及题目要求可以看出,程序是要创建一个JPanel类的对象,所以WelcomPanel应该是JPanel类的子类。
[程序解析] 本程序考查JFrame和JPanel的使用。对JFrame设置标题、大小,显示一个字符串并正常关闭。

第4题:

A new frame-relay network is being implemented and inverse ARP does not appear to be operating correctly. Which alternative command can be used to provide connectivity?()

  • A、frame-relay arp
  • B、frame-relay map
  • C、frame-relay interface-dlci
  • D、frame-relay lmi-type
  • E、frame-relay pvc

正确答案:B

第5题:

Select the 3 best answers describing operation and configuration of Frame-Relay Inverse ARP.()

  • A、Dynamic address mapping uses Frame Relay Inverse ARP to request the next-hop protocol address for a specific connection on its known DLCI
  • B、Responses to Inverse ARP requests are entered in an address-to-DLCI mapping table on the router or access server which is used to supply the next-hop protoco address or the DLCI for outgoing traffic
  • C、Inverse ARP is enabled by default for all protocols enabled on the physical interface
  • D、Inverse ARP is configured using the following command under the Interface configuration ’frame-relaymap dlci (dlci number) protocol protocol-address’
  • E、Inverse ARP in Frame-Relay is synonymous of ARP in Ethernet

正确答案:A,B,C

第6题:

Which command is required for connectivity in a Frame Relay network if Inverse ARP is not operational? ()

A. frame-relay arp

B. frame-relay map

C. frame-relay interface-dlci

D. frame-relay lmi-type


参考答案:B

第7题:

Which command can be used to verify the DLCI destination address in a Frame Relay static configuration?()

A.show frame-relay end-to-end

B.show frame-relay map

C.show frame-relay lmi

D.show frame-relay pvc


参考答案:B

第8题:

下列语句中所使用的布局管理器,当改变容器大小,组件大小不会随着一起改变的是

A.Frame. frame1=new Frame("FlowLayout");

B.Frame. frame1=new Frame("BorderLayout");

C.frame1=new Frame("example"); frame1.setLayout(new BorderLayout());

D.frame1.setLayout(new GridLayout(2,3));


正确答案:A
解析:本题考查java中各种布局管理器的布局特点。在FlowLayout中所有组件都被压缩至最小,当容器大小变化时,上面的组件保持最小状态,大小不变;在BorderLayout中任何组件都尽量伸展,使它与容器的边缘对齐,当容器大小变化时,组件将随之变化;GridLayout将容器等分为几个格子,每个组件占一个格子,当容器大小变化,格子大小也变化,组件大小也变化。

第9题:

Which statement about Frame Relay is not true?()

  • A、Static mapping is used when the remote router does not support Inverse ARP.
  • B、Frame Relay Inverse ARP requires LMI capability to construct an address to the DLCI mapping tableon the router.
  • C、Frame Relay Inverse ARP is disabled by default in Cisco IOS Software for all protocols that areenabled on the physical interface.
  • D、Inverse ARP does not work when LMI is disabled.
  • E、Frame Relay provides forward and backward congestion notification messages

正确答案:C

第10题:

When configuring a serial interface on a router, what is the default encapsulation?()

  • A、atm-dxi
  • B、frame-relay
  • C、hdlc
  • D、lapb
  • E、ppp

正确答案:C

更多相关问题