在运算指令中,形式为#i=#jOR#k代表的意义是()。A、对数 B、平均值 C、逻

题型:单项选择题

问题:

在运算指令中,形式为#i=#jOR#k代表的意义是()。

A、对数

B、平均值

C、逻辑和

D、反正弦

考点:铣工考试数控铣工考试数控铣工考试题库
题型:单项选择题

在世界货币流通史上,()都发生过严重货币恐慌一一也就是通货紧缩。而不得不通过法律程序扩大银行券的信用发行量,来解决通货紧缩对经济的不良影响。

A.英国、美国

B.英国、德国

C.美国、法国

D.英国、法国

题型:单项选择题

某公司2009年度有关财务资料如下:

指标 年初数(万元) 年末数(万元) 指标 上年数(万元) 本年数(万元)
流动资产 7200 8000 销售收入 18000 20000
其中:存货 3000 4500 销售成本 12000 15000
流动负债 4000 5000 净利润 2500 3000

该公司2009年的净利增长率为( )。

A.5%

B.10%

C.12%

D.20%

题型:单项选择题

下列句子中,标点符号使用正确的一句是

A.什么是社会主义?怎样建设社会主义?是夺取 * * 之后,中 * * 党人着力破解的一道历史命题。

B.李肇星指出:中国的和平发展是对全世界和平与发展的最大贡献;一个和平崛起的中国带给全世界的不是障碍,不是威胁,而是机遇。

C.我喜欢平淡,因为平淡中蕴含着深沉。正如平淡的香水,在似有似无之间,给人一种飘逸,正如平淡的画,在简简疏疏之中,予人一种幽远。

D.科学家预测,由于气候变化、环境污染、以及厄尔尼诺等现象的影响,与水有关的灾害发生的频率和强度都将持续增强。

题型:单项选择题

在大腿部位没有经穴的经脉是().

A.胃经

B.胆经

C.肾经

D.脾经

E.肝经

题型:单项选择题

本题中,通过菜单“Connect”显示一个对话框,单击“ok”按钮后,所填写的内容就会传回到主窗口并显示出来。
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class java3 extends JFrame implements ActionListener
public java3()
setTitle("java3");
setSize(300,300);
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);

);
JMenuBar mbar=new JMenuBar();
setJMenuBar(bar);
JMenu fileMenu=new JMenu("File");
mbar.add(fileMenu);
connectItem=new JMenuItem("Connect");
connectItem.addActionListener(this);
fileMenu.add(connectItem);
exitItem=new JMenuItem("Exit");
exitItem.addActionListener(this);
fileMenu.add(exitItem);

public void actionPerformed(ActionEvent evt)
Object source=evt.getSource();
if(source==connectItem)
ConnectInfo transfer=new ConnectInfo("yourname","pw");
if(dialog==null)
dialog=new ConnectDialog(this);
if(dialog.showDialog(transfer))
String uname=transfer.username;
String pwd=transfer.password;
Container contentPane=getContentPane();
contentPane.add(new JLabel("username="+uname+",password="+pwd),"South");
validate();

else if(source==exitItem)
System.exit(0);

public static void main(String[]args)
JFrame f=new java3();
f.show();

private ConnectDialog dialog=null;
private JMenuItem connectItem;
private JMenuItem exitItem;

class ConnectInfo
public String username;
public String password;
public Connectfnfo(String u,String p)
username=u;password=p;


class ConnectDialog extends JDialog implements ActionListener
public ConnectDialog()
super(parent,"Connect",true);
Container contentPane=getContentPane();
JPanel p1=new JPanel();
p1.setLayout(new GridLayout(2,2));
p1.add(new JLabel("User name:"));
p1.add(username=new JTextField(""));
p1.add(new JLabel("Password:"));
p1.add(password=new JPasswordField(""));
contentPane.add("Center",p1);
Panel p2=new Panel();
okButton=addButton(p2,"Ok");
cancelButton=addButton(p2,"Cancel");
contentPane.add("South",p2);
setSize(240,120);

JButton addButton(Container c,String name)
JButton button=new JButton(name);
button.addActionListener(this);
c.add(button);
return button;

public void actionPerformed(ActionEvent evt)
Object source=evt.getSource();
if(source==okButton)
ok=true;
setVisible(false);

else if(source==cancelButton)
setVisible(false);

public void showDialog(ConnectInfo transfer)
username.setText(transfer.username);
password.setText(transfer.password);
ok=false;
show();
if(ok)
transfer.username=username.getText();
transfer.password=new String(password.getPassword());

return ok;

private JTextField username;
private JPasswordField password;
private boolean ok;
private JButton okButton;
private JButton cancelButton;

更多题库