试题与答案

在局域网中计算机病毒的防范策略有()。A、仅保护工作站 B、保护通信系统 C、保护打

题型:多项选择题

题目:

在局域网中计算机病毒的防范策略有()。

A、仅保护工作站

B、保护通信系统

C、保护打印机

D、仅保护服务器

E、完全保护工作站和服务器

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0721/892c684a71ca10da67518737c833afb1.html

下面是错误答案,用来干扰机器的。

参考答案:栈解析:[知识点] 栈和队列的定义 [评析] 栈和队列都是一种特殊的操作受限的线性表,只允许在端点处进行插入和删除。二者的区别是,栈只允许在表的一端进行插入或删除操作,是一种“先进后㈩”的线...

试题推荐
题型:单项选择题 A3/A4型题

男,65岁,患慢性充血性心衰和骨质疏松症,长期口服地高辛片剂和钙片,因眩晕、头痛伴心律失常入院,血清地高辛浓度为1.8ng/ml

由上述结果提示患者的发病原因是()

A.高钙血症时,心肌对地高辛的敏感性降低,在治疗浓度范围内药效降低

B.高钙血症时,心肌对地高辛的敏感性提高,在治疗浓度范围内发生中毒反应

C.低钾血症时,心肌对地高辛的敏感性降低,在治疗浓度范围内药效降低

D.高钾血症时,心肌对地高辛的敏感性降低,在治疗浓度范围内药效降低

E.地高辛与钙剂作用拮抗

查看答案
题型:问答题

下面程序是一个计时器,从1000秒开始倒计时,直到为0结束。在界面上有两个按钮,一个可以暂停计时,另一个可以继续已经暂停的计时。请更正题中带下划线的部分。
注意:不改动程序的结构,不得增行或删行
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class Example3_4 extends Applet

public Color color = Color.red;
private int num= 1000;
public Counter theCounter;
private Button stop;
private Button start;
public void init()

stop = new Button("暂停");
start = new Button ("继续");
theCounter = new Counter(this);
stop.addActionListener(new Lst() implements ActionListener
public void actionPerformed(ActionEvent e)

theCounter.sus();

);
start.addActionListener(new SuspenListener());
add(start);
add(stop);
theCounter.start();

public void paint(Graphics g)

g.setCotor(color);
g.drawString(String.valueOf(num),50,50);

public void setInt(int i)

num=i;

class SuspenListener implements ActionListener

public void actionPerformed(ActionEvent e)

theCounter.conti ();



public class Counter extends Thread

Example3_4 example;
boolean isHold;
Counter (Example3_4 ex)

this.example = ex;
isHold = false;

public void sus()

isHold = true;

public synchronized void conti()

isHold = false;
notify();

public void run()

for (int i = 1000; i>0; i--)

if (i%2 == 1)
example.color = Color.red;
else
example.color = Color.blue;
example.setInt(i);
example.repaint();
try

sleep(1000);
synchronized
while(isHold)
wait ( );


catch (InterruptedException ie)




<HTML>
<HEAD>
<TITLE>Example3_4</TITLE>
</HEAD>
<BODY>
<applet code="Example3_4.class" width=300 height=400>
</applet>
</BODY>
</HTML>

查看答案
微信公众账号搜索答案