题目

某对分查找算法的VB程序段如下: Key = Val(Text1.Text): s = i = 1: j = 10 Do While i <= jm = (i + j) \ 2If a(m) <= Key Then i = m + 1 s = s + RElse j = m - 1 s = s + LEnd If Loop Text2.Text = s 数组元素 a(1)到 a(10)的值依次为“1,4,6,10,16,16,16,18,21,33”。在文本框 Text1中输入 16 后,该程序段的输出结果与输入下列值的输出结果相同的是( )。 A . 10 B . 12 C . 17 D . 18It is common and usual to see people freak out when they face challenges in their life. We all pass in different life problems and challenges. No one is free of life problems. Only a dead man faces no problem. As long as you are alive, challenges are everywhere. How do you face problems and challenges in your life? Problems and challenges are the building blocks of your personality. They make you who you are. Besides, whether what happened in your life builds or destructs you depends on how you look at it. If you take your problems as troubles, they will be troubles and may cause destruction. If you take them as constructive tools, you are going to be built up on them. Problems are everywhere. No one can avoid them. And they are good too. They open up a different look and opportunity if you are willing to see. When you face troubles, do not frustrate or freak out. Just cool yourself to think in a different direction. Think in a positive way. Every problem has its own good as well as bad sides. Focus on the good one. Look at the bright side. Besides, there is always a good person, perhaps your mom or dad, or one of your friends, right beside you who can turn everything into your best if you are willing to turn to them. No matter what happens, they will be there to help you. Trust them and they will never let you down. All you need to know is that you are loved wherever you are. 67.  What’s the meaning of the underlined phrase “freak out” in Paragraph 1? A. Feel shy.        B. Stay calm.            C. Keep silent.      D. Feel upset. 68. In Paragraph 2, the writer implies that ______. A. problems cause troubles                   B. attitude is everything C. challenges can be avoided                  D. personalities are built on failures 69. What’s the writer’s purpose to write the passage? A. To encourage.     B. To compare.          C. To prove.     D. To explain. 70. What can be the best title of the passage? A. How to Avoid Problems B. Challenges Are Everywhere  C. Face Your Challenges Bravely             D. You Are Loved Wherever You Are
信息技术 试题推荐