问题 阅读理解

阅读理解

     A group of graduates, successful in their careers, got together to visit their old university professor.

Conversation soon turned into complaints about stress in work and life.  

Before offering his guests coffee, the professor went to the kitchen and returned with a large pot of

coffee and a variety of cups-porcelain, plastic, glass, crystal, some plain looking and cheap, some

exquisite and expensive-telling them to help themselves to the coffee.

     When all the students had a cup of coffee in hand, the professor said: "If you noticed, all the nice

looking expensive cups were taken up, leaving behind the plain and cheap ones. While it is normal for

you to want only the best for yourselves, that is the source of your problems and stress. Be assured

that the cup itself adds no quality to the coffee. In most cases it is just more expensive and in some

cases even hides what we drink. What all of you really wanted was coffee, not the cup, but you

consciously went for the best cups. . And then you began eyeing each other's cups.

     Now consider this: Life is the coffee; the jobs, money and position in society are the cups. They

are just tools to hold and contain Life, and the type of cup we have does not define, nor change the

quality of life we live. Sometimes, by concentrating only on the cup, we fail to enjoy the coffee God

has provided us. "

      God brews the coffee, not the cups. Enjoy your coffee!

     "The happiest people don't have the best of everything. They just make the best of everything. "

     Live simply. Love generously. Care deeply. Speak kindly. Leave the rest to God.

1. Why did the professor offer his students coffee with varieties of cups?

A. To give his students many more choices.

B. To teach his students how to enjoy coffee.

C. To show the students his collection of cups.    

D. To tell his students the right attitude to life

2. According to the professor, the happiest people are the ones who _____.

A. get the best type of coffee cups      

B. make the best of what they have

C. have a wide range of coffee cups    

D. care about social status and wealth

3. The best title for the passage would be _____.

A. God's Coffee                    

B. The Pressure of Life

C. The Happiest People              

D. Professor's Coffee Cups

答案

1-3: DBA

填空题
多项选择题

简单应用题请完成下列Java程序:用swing实现一个简单的学生成绩管理器,显示出学生的姓名,java成绩,c++成绩和这两门课的平均成绩,学生一共有4个人(Mike, Jack等)。要求可以修改学生的姓名和成绩,并且能够直接计算出平均成绩,如改变Mike的java成绩后,在平均成绩栏会自动更新为新的平均成绩。注意:请勿改动main( )主方法和其他已有语句内容,仅在下划线处填入适当的语句。程序运行结果如下:

import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.*;import javax.swing.table.TableModel;public class ex13_2 extends JFrame{ private JTable jt; private String[][] strData; public static void main(String[] args){ ex13_2 obj13_2=new ex13_2(); obj13_2.pack(); obj13_2.setVisible(true); } public ex13_2(){ String[] columnNames={"name","java","c++","average"}; strData=new String[][]{{"Mike","70.0","80.0","75.0"},{"Jack","70.0","100.0","85.0"},{"David","75.0","95.0","85.0"},{"Tom","60.0","80.0","70.0"}}; jt=new JTable(strData,columnNames); jt.setPreferredScrollableViewportSize(new Dimension(400,200)); JScrollPane tp=new JScrollPane(jt); setTitle("ex13_2"); Container cp=getContentPane(); cp.add(tp,BorderLayout.CENTER); addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent we) { System.exit(0);} }); jt.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); TableModel tm=jt.getModel(); tm.addTableModelListener(new TableModelListener(){ public void tableChanged(TableModelEvent tme){ int nRow=tme.getFirstRow();float fNum;float fSum=0;for(int i=1;i<=2;i++){ fNum=Float.parseFloat( ); fSum+=fNum;}float fAverage=fSum/2; ; } }); } }