下列叙述中正确的是( )。A.计算机能直接识别并执行用高级程序语言编写的程序 B.

题型:单项选择题

问题:

下列叙述中正确的是( )。

A.计算机能直接识别并执行用高级程序语言编写的程序

B.用机器语言编写的程序可读性最差

C.机器语言就是汇编语言

D.高级语言的编译系统是应用程序

考点:计算机等级考试MSOffice一级MSOffice笔试375
题型:单项选择题

双层筛成品筛网目数为()。

A、1200um

B、200um

C、250um

D、1000um

题型:单项选择题

历史上未被列为天下第一泉的是( )。

A.中泠泉

B.玉泉

C.谷帘泉

D.金山泉

题型:单项选择题

下列各项中哪一项用pKb表示

A.酸的pH值

B.酸的电离常数

C.酸式盐的水解平衡常数的负对数

D.碱的pH值

E.碱的电离常数

题型:单项选择题

对于一组呈正态分布的数值变量资料,若对每一个个体同减去一个不为零的数,则()。

A.均数、标准差均不变

B.均数变、标准差不变

C.均数不变、标准差变

D.均数、标准差均变

E.以上均不对

题型:单项选择题

【说明】 本程序通过移动滑动条修改颜色RGB值,从而控制颜色。程序中有一个面板、3个标签和3个滑动条,标签和滑动条一一对应,分别对应三原色红、绿、蓝,任意拖动其中的一个滑动条,所对应的颜色值就会发生变化,面板的颜色也会发生对应的变化,如下图所示,滑动条值的范围是0~255。

【Java代码】 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class simple extends JFrame implements AdjustmentListener{ public simple(){ setTitle("simple"); setSize(300, 200); addWindowListener(new WindowAdapter(){ public void windowClosing( (1) ){ System.exit(0); } }); Container contentPane=getContentPane(); JPanel p= (2) ; p.setLayout(new GridLayout(3, 2)); p.add(redLabel=new JLabel("Red 0")); p.add(red=new JScrollBar(Adjustable. HORIZONTAL, 0, 0, 0, 255)); red.setBlocklncrement(16); red.addAdjustmentListener(this); p.add(greenLabel= (3) ("Green 0")); p.add(green=new JScrollBar(Adjustable.HORIZONTAL 0, 0, 0, 255)); green setBIocklncrement(16); green.addAdjustmentListener(this); p.add(blueLabel=new JLabel("Blue 0")); p.add(btue=new JScrollBar(Adjustable. HORIZONTAL, 0, 0, 0, 255)); blue,setBIocklncrement(16); blue.addAdjustmentListener(this); contentPane.add(p, "South"); colorPanet=new JPanel(); colorPanet.setBackground(new Color(0, 0, 0)); contentPane.add( (4) ,"Center"); }public void adjustmentValueChanged(AdjustmentEvent evt){ redLabel.setText("Red"+red.getValue()); greenLabel.setText("Green"+green.getValue()); blueLabel.setText("Blue"+blue.getValue()); coiorPanel.setBackground(new Color(red.getValue(), green.getValue(), blue.getValue())); colorPanel.repaint(); } public static void main(String[] args){ JFrame f= (5) ; f.show(); } private JLabel redLabel; private JLabel greenLabel; private JLabel blueLabel; private JScrollBar red; private JScroilBar green; private JScrollBar blue; private JPanel colorPanel;

更多题库