参考答案和解析
正确答案:A
16.主句的谓语动词是过去时,从句的谓语动词应与其一致。排除选项 C和 D。Who强调的是个人,政府中的成员,应用复数。选项 A是正确的。
更多“The government who ______ responsible for this event attempted to find a solution. A ”相关问题
  • 第1题:

    Whichbuilt-indoyouusetodeterminewhichtimerinformmodulehasexpired?()

    A.FIND_TIMER

    B.GET_TIMER_PROPERTY

    C.GET_APPLICATION_PROPERTY

    D.GET_CUSTOM_ITEM_EVENT_PROPERTY


    参考答案:C

  • 第2题:

    Jean has made up her mind not to go to the meeting.

    A:tried
    B:promised
    C:decided
    D:attempted

    答案:C
    解析:
    make up one's mind“下决心”, decide也有此意。例如:Mary has decided not to go with us.玛丽已经决定不跟我们去。try“试图”,例如:Mary will try to work harder.玛丽会更努力。attempt“试图”,例如:This paper attempts to solve the problem from a different per-spective.此论文试图从一个不同的角度解决这个问题。

  • 第3题:

    The authorities approved the new round of local infrastructure development.

    A:author
    B:authentication
    C:authorizer
    D:government

    答案:D
    解析:
    当局批准了新一轮地方基础设施建设。author“作者”,如:Hemingway is the author of many great books.海明威著有很多经典作品。authentication“鉴定,认证”,如:All the antiques have gone through authentication.所有的古董都已通过鉴定。authorizer“授权人”,如: The authorizer of this document is Chairman of the company.这个文件的授权人是公司董事长。 government“政府,当局”,如:Government announced a new policy on real estate development.政府公布了关于房地产开发的一项新政策。只有government意思上和authorities最接近。

  • 第4题:

    本题的功能是监听鼠标的操作。鼠标置于窗口中单击时(左键或右键),在单击的地方会画一个小矩形,如果将鼠标置于小矩形上,则鼠标光标状态改为小十字,按下鼠标左键可拖曳,双击鼠标左键(或右键)时,小矩形消失。 import java.awt.*; import java.awt.event.*; import java.util.*; import java.awt.geom.*; import javax.swing.*; public class java3 { public static void main(String[]args) { MouseFrame. frame=new MouseFrame: frame.setDefaultCloseOperation(JFrame.EXIT_ oN_CLOSE); frame.show; } } class MouseFrame. extends JFrame { public MouseFrame { setTitle("java3"); setSize(DEFAULT WIDTH, DEFAULT HEIGHT): MousePanel panel=new MousePanel; Container contentPane=getContentPane; contentPane.add(panel); } public static final int DEFAULT_WIDTH=300; public static final int DEFAULT_HEIGHT=200; } class MousePanel extends JPanel { public MousePanel { squares=new ArrayList; current=null: addMouseListener(new MouseHandler); addMouseMotionListener(new MouseMotionHan- dler); } public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2=(Graphics2D)g; for(int i=0;i<squares.size;i++) g2.draw((Rectangle2D)squares.get(i)); } public void find(Point2D p) { for(int i=0;i<squares.size;i++) { Rectangle2D r=(Rectangle2D)squares.get(i); if(r.contains(p))return r; } return null: } public void add(Point2D p) { double x=P.getX; double Y=P.getY: current=new Rectangle2D.Double( x-SIDELENGTH/2. y-SlDELENGTH/2. S1DELENGTH, SIDELENGTH); squares.add(current); repaint; } public void remove(Rectangle2D s) { if(S= =null)return: if(S= =current)current=null; squares.remove(s): repaint; } private static final int SIDELENGTH=10: private ArrayList squares; private Rectangle2D current; private class MouseHandter extends MouseAction- Listener { public void mousePressed(MouseEvent event) { current=find(event.getPoint); if(current= =null) add(event.getPoint); } public void mouseClicked(MouseEvent event) { current=find(event.getPoint); if(current!=nullevent.getClickCount >=2) remove(current); } } private class MouseMotionHandler implements Mouse- MotionListener { public void mouseMoved(MouseEvent event) { if(find(event.getPoint)= =null) setCursor(Cursor.getDefaultCursor); else setCursor(Cursor.getPredefinedCursor (Cursor.CROSSHAIR_CURSOR)); } public void mouseDragged(MouseEvent event) { if(current!=null) { int x=event.getX: int Y=event.getY; 、 current.setFrame( x-SIDELENGTH/2, Y-SlDELENGTH/2. SIDELENGTH, SIDELENGTH); repaint; } } } }


    正确答案:
    第1处:public Rectangle2D find(Point2D p)
    第2处:private class MouseHandler extends MouseAdaopter
    第3处:find(event.getPoint)= =null
    【解析】第1处定义一个返回类型为Rectangle2D的find函数且有一个Point2D型的形参;第2处定义了继承鼠标适配器MouseAdapt的MouseHandler;第3处判断find函数的返回值是否为空。

  • 第5题:

    Mary has made up her mind not to go to the meeting.

    A:tried
    B:promised
    C:decided
    D:attempted

    答案:C
    解析:

  • 第6题:

    测试QUIT是否被事件队列所禁止的命令为:

    A.pygame.event.set_blocked(pygame.event.QUIT)

    B.pygame.event.set_allowed(pygame.event.QUIT)

    C.pygame.event.get_blocked(pygame.event.QUIT)

    D.pygame.event.get_allowed(pygame.event.QUIT)