itgle.com

The policy action of color is used for congestion control under which circumstance?()A.congestion in an upstream routerB.congestion in a downstream routerC.contention for queue space on an egress interfaceD.contention for queue space on an ingress interfa

题目
The policy action of color is used for congestion control under which circumstance?()

A.congestion in an upstream router

B.congestion in a downstream router

C.contention for queue space on an egress interface

D.contention for queue space on an ingress interface


相似考题
更多“The policy action of color is used for congestion control under which circumstance?() ”相关问题
  • 第1题:

    ABGProuterhasthefollowingconfiguration:

    protocols{

    bgp{

    export[policy-1policy-2policy-3];

    }}

    policy-options{

    policy-statementpolicy-2{

    termget-statics{

    fromprotocolstatic;

    thenaccept;

    }

    termreject-all{

    thenreject;

    }

    }

    policy-statementpolicy-1{

    termget-aggregate{

    fromprotocolaggregate;

    thenaccept;

    }

    termreject-all{

    thenreject;

    }

    }

    policy-statementpolicy-3{

    termget-ospf{

    fromprotocolospf;

    thenaccept;

    }

    termreject-all{

    thenreject;

    }

    }

    }

    Whichpolicytermisevaluatedfirstwhenexportingroutes?()


    参考答案:D

  • 第2题:

    9. —Where is my football?

    —It's ______the table ________ the floor.

    A, on; under

    B. on ; on

    C, under ;under

    D. under; on


    正确答案:D
    9.D【解析】under the table意为“在桌子下面”; on the floor意为“在地板上”。

  • 第3题:

    浏览网页使用的Intent的Action是什么?

    A.ACTION_CALL

    B.ACTION_EDIT

    C.ACTION_SEND

    D.ACTION_VIEW


    ACTION_VIEW

  • 第4题:

    本题的功能是监听对于菜单项和工具条的操作。窗口中有一个菜单“Color”和一个工具体,菜单“Color”中有菜单项“Yellow”、“Blue”、“Red”和“Exit”,每个菜单项都有对应的图形,单击前三个颜色菜单项,主窗口就变成对应的颜色,单击“Exit”则退出程序。工具条上有4个按钮,分别为三个颜色按钮和一个退出程序的按钮,单击任意一个颜色按钮,主窗口将变成按钮对应的颜色,单击退出程序按钮,则退出程序。

    import java.awt.*;

    import java.awt.event.*;

    import java.beans.*;

    import javax.swin9.*;

    public class java3

    {

    public static void main(String[]args)

    {

    ToolBarFrame. frame=new ToolBarFrame();

    frame.setDefaultCloseOperation(JFrame.EXIT_

    ON_CLOSE);

    frame.show();

    }

    }

    class ToolBarFrame. extends JFrame

    {

    public ToolBarFrame()

    {

    setTitle("java3");

    setSize(DEFAULT_WIDTH,DEFAUlT_

    HElGHT);

    Container contentPane=getContentPane();

    panel=new JPanel();

    contentPane.add(panel,BorderLayout.CEN-

    TER);

    Action blueAction=new ColorAction("Blue".

    new ImageIcon("java3-blue-ball.gif"),Color.

    BLUE);

    Action yellowAction=new ColorAction("

    Yellow",

    new Imagelcon("java3-yellow-ball.gif"),Col-

    or.YELLOW);

    Action redAction=new ColorAction("Red".

    new Imagelcon("java3-red-ball.gif"),Color.

    RED);

    Action exitAction=new

    AbstractAction("Exit".new Imagelcon("java3-

    exit.gif"))

    {

    public void actionPerformed(ActionEvent event)

    {

    System.exit(0);

    }

    };

    exitAction.putValue(Action.SH()RT_DESCRIP-

    TIoN,"Exit");

    JToolBar bar=new JToolBar();

    bar.add(blueAction);

    bar.add(yellowAction);

    bar.add(redAction);

    bar.addSeparator();

    bar.add(exitAction);

    contentPane.addToolBar(bar,BorderLayout.

    NoRTH);

    JMenu menu=new JMenu("Color"):

    menu.add(yellowAction);

    menu.add(blueAction);

    menu.add(redAction);

    menu.add(exitAction);

    JMenuBar menuBar=new JMenuBar():

    menuBar.add(menu);

    SetJ Menu(menuBar);

    }

    public static final int DEFAULT_WIDTH=300;

    public static final int DEFAULT_HEIGHT

    =200;

    private JPanel panel;

    class ColorAction extends AbstractAction

    {

    public ColorAction(String name,Icon icon,Color

    c)

    {

    putValue(Action.NAME,name);

    putValue(Action.SMALL_ICON,icon);

    putValue(Action.SHORT_DESCRIPTION,

    name+"background");

    putValue("Color",c);

    }

    public void actionPerformed(ActionEvent evt)

    {

    Color C=(Color)getValue("Color");

    panel.setBackcolor(c);

    }

    }

    }


    正确答案:
    第1处:contentPane.add(bar,BorderLayout.NORTH)第2处:setJMenuBar(menuBar)第3处:panel.setBackgroud(c)【解析】第1处将工具条添加到容器内使用的方法应为add;第2处的上一步为将menu添加到menuBar中,从这一步的参数为menuBar可看出应为setJMenuBar;第3处设置面板的背景颜色应使用的方法为setBackgroud()。

  • 第5题:

    under-s__________ 人员配备不足的 under-f__________ 资金不足的


    增加社会税收

  • 第6题:

    实现分享功能时,Intent的Action应该为哪种?

    A.action.DIAL

    B.action.SEND

    C.action.CALL

    D.action.PICK


    action.SEND