问题 单项选择题

假定在图片框控件Picture1中装入了一个图形,为了在程序运行时清除该图形,则应使用下列哪种方法( )。

A.选择图片框控件,然后按<Del>键

B.执行语句Picture1.Picture=LoadPicture("")

C.执行语句Picture1.Picture=""

D.选择图片框控件,在属性窗口中选择Picture属性,然后按删除该属性的值

答案

参考答案:B

解析: 选项A)的方法是在设计程序时删除图片框控件的方法;选项B)是给在运行时给图片框控件加载一个空图片,替换图片框中历有的图片,即清除了图片框中的图片;选项C)有语法错误;选项 D)的方法是在程序设计时清除图片框控件中的图形的。

阅读理解

根据短文内容,回答下列问题。

     What would you do if you had a ticket for an exciting movie which you want to see very much?

Maybe you would say'' I would like to go to movies." But unluckily,  you will have to get ready for the

math exam tomorrow. What would you do this time? Go to movies or get ready for the exam? If your

answer is giving up seeing movies and working hard for the exam~ we say you have strong self-control.

Self-control is not anything you have with your birth, it needs to be cultivated in your mind.  Sometimes

you are attracted by one of the stories that is not worth reading.  You shouldn't waste your time reading

such a story, or you will feel sorry later.

     Don't go to bed late because of a nice TV movie, or you will go to school late. Neither should you

stay in bed too late on cold mornings, for it is a waste of time. Every one of us has some habits,  a few

of which might keep us from making progress in life. Then we must use our self-control to become free

of them.

     Remember it is necessary for you to cultivate strong self-control.

1. What do most people do if they get a ticket for an exciting movie which they want to see?

                                                                                    

2.  If one has strong self-control, does he go to movies or get ready for the exam?

                                                                                    

3.  Is self-control anything you have with your birth?

                                                                                    

4.  What kind of stories can attract you sometimes?

                                                                                    

5.  What's the main idea of this passage?

                                                                                    

填空题