【单选题】【消耗次数:1】
设intx=10,a=0,b=25;,条件表达式x1?a+10︰b的值是(   )
0
1
10
25
参考答案:
复制
纠错
相关题目
【单选题】 已知x=10,ch=’A’,y=0;,则表达式“x>=y&&ch<’B’&&!y”的值是()。
①  0
②  1
③ 
④ 
【单选题】 逻辑表达式(x0 x=10)的相反表达式为?
①  x=0|| x=10
②  x=0 x=10
③  x=0 || x=10
④  x0 x10
【单选题】 x>0 && x<=10的相反表达式为( )。
①  x10
②  x10
③  x0 && x>10
【单选题】 x>0 && x<=10的相反表达式为(????)
①  x10
②  x10
③  x0 && x>10
【单选题】 x0 x=10的相反表达式为( )。
①  x=0 x=10
②  x=0 x=,10
③  x=0 || x=10
④  x0 x10
【单选题】 x>0&&x<=10的相反表达式为()。
①  x10
②  x10
③  x0 && x>10
【单选题】 若x=25,y=10,则计算y=x++表达式后,x和y的值分别为( )。
①  26和25
②  25和26
③  25和25
④  26和26
【单选题】 若x=25,y=10,则计算y=x++表达式后,x和y的值分别为( )。
①  26和25
②  25和26
③  25和25
④  26和26
【单选题】 已知int a[]={ 0,2,4,6,8,10 },*p=a+1;其值等于0的表达式是()
①  *(p++)
②  *(++p)
③  *(p--)
④  *(--p)
【单选题】 已知:inti;fori=0;i<=10;i++);如果表达式1即i=0缺省那么完成表达式1功能的语句可以)
①  放在for语句的前面
②  放在循环体中
③  放在for语句的后面
④  放在程序的任何地方
随机题目
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案Robert had just moved into the street and he felt strange that he was not wanted. He knew that perhaps the other boys were trying to get an idea of what kind of a boy he was. This did not help him to make himself less lonely. He was new and he had to be tested. Still, proving himself would not be all that easy. He did not want to run with the boys or get into something against the law to prove that he was strong. No! He must show what he was made of in a more helpful way. That’s when he got the idea.The next day was Saturday. He knew that most of the boys would be down on the playground and choose up sides for the Saturday game. Robert knew he could play well and that just might be enough to prove he was strong, and to make friends with them. He arrived early and did his step exercises. He shot the ball several times and did some other exercises—the most difficult and most wonderful in basketball. Then the boys came. Robert went through what he had done before the game and showed what he could do. No one said a word. The boys just looked at each other and thought about it. In the end, when it was all over, the biggest of the group just smiled and shook his head. Robert knew he had made it.1.What does “This did not help to make him less lonely” mean?
①  Robert felt more lonely because the other boys wanted to test him.
②  Robert did not want himself to be less lonely.
③  Robert felt as lonely as before when the other boys tried to find out what kind of a boy he was.
④  The other boys did not want to make Robert feel less lonely.
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案Robert had just moved into the street and he felt strange that he was not wanted. He knew that perhaps the other boys were trying to get an idea of what kind of a boy he was. This did not help him to make himself less lonely. He was new and he had to be tested. Still, proving himself would not be all that easy. He did not want to run with the boys or get into something against the law to prove that he was strong. No! He must show what he was made of in a more helpful way. That’s when he got the idea.The next day was Saturday. He knew that most of the boys would be down on the playground and choose up sides for the Saturday game. Robert knew he could play well and that just might be enough to prove he was strong, and to make friends with them. He arrived early and did his step exercises. He shot the ball several times and did some other exercises—the most difficult and most wonderful in basketball. Then the boys came. Robert went through what he had done before the game and showed what he could do. No one said a word. The boys just looked at each other and thought about it. In the end, when it was all over, the biggest of the group just smiled and shook his head. Robert knew he had made it.Which of the following is the best title for this passage?
①  Ways to Prove Oneself.
②  Robert Is Lonely.
③  Just One of the Boys. D.
④  A Saturday Basketball
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案Robert had just moved into the street and he felt strange that he was not wanted. He knew that perhaps the other boys were trying to get an idea of what kind of a boy he was. This did not help him to make himself less lonely. He was new and he had to be tested. Still, proving himself would not be all that easy. He did not want to run with the boys or get into something against the law to prove that he was strong. No! He must show what he was made of in a more helpful way. That’s when he got the idea.The next day was Saturday. He knew that most of the boys would be down on the playground and choose up sides for the Saturday game. Robert knew he could play well and that just might be enough to prove he was strong, and to make friends with them. He arrived early and did his step exercises. He shot the ball several times and did some other exercises—the most difficult and most wonderful in basketball. Then the boys came. Robert went through what he had done before the game and showed what he could do. No one said a word. The boys just looked at each other and thought about it. In the end, when it was all over, the biggest of the group just smiled and shook his head. Robert knew he had made it.3.When did Robert decide to prove himself by playing basketball?
①  After he had thought about the other two ways mentioned in paragraph one.
②  Long before he moved into the street.
③  When the other boys came down to the playground.
④  As soon as he showed what he was made of in front of the other boys.
【单选题】 Do you know the man _______?
①  whom I spoke
②  to who spoke
③  I spoke to
④  that I spoke
【单选题】 The place _______interested me most was the Childrens Palace.
①  which
②  where
③  what
④  in which
【单选题】 That is the day ______Ill never forget.
①  which
②  on which
③  in which
④  when
【单选题】 This is the hotel _______last month.
①  which they stayed
②  at that they stayed
③  where they stayed at
④  where they stayed
【单选题】 Do you know the year ______the Chinese Communist Party was founded?
①  which
②  that
③  when
④  on which
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案:Goats are being hired to do the work of people near San Diego. The fires that occurred in Hillborbough four years ago destroyed thirty homes, most of which have been rebuilt. While people were rebuilding the homes, the grasses and bushes were growing back. The area is now so overgrown in bushes that there is again a major danger of fire.The city government put up bids to remove the bushes. The lowest bid they received was $50,000—and that was if the city provided breakfast and lunch for the workers for the six weeks it would take to clear the overgrown area. The city only wanted to give unlimited coffee and a piece of bread a day for each person. When that offer was rejected, the city asked for help on its website.A sheepherder in Montanta and a goat-keeper in San Bernardino read about the city’s plight(困境)while surfing the Web. They both offered to do the job for $25,000. The city government chose the goat-keeper because he lived closer. When he was told that the city dump(垃圾场)was overflowing , the goat-keeper said, “No problem. My goats will eat everything in your dump, except the car engines, of course.” So, for another $5,000, the city killed two birds with one stone. If all goes well, they will invite the goat-keeper and his “family” back every three years. The goat-keeper said that he would probably visit San Diego while his goats were in the dump. 1. The city government faces a serious problem because __________.
①  A. fires destroyed thirty homes in a neighborhood four years ago
②  B. the speed of rebuilding the houses is really too slow
③  C. the overgrowing plants in this area have made the city look terrible
④  D. the overgrowing plants in this area have become a big danger of fire
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案:Goats are being hired to do the work of people near San Diego. The fires that occurred in Hillborbough four years ago destroyed thirty homes, most of which have been rebuilt. While people were rebuilding the homes, the grasses and bushes were growing back. The area is now so overgrown in bushes that there is again a major danger of fire.The city government put up bids to remove the bushes. The lowest bid they received was $50,000—and that was if the city provided breakfast and lunch for the workers for the six weeks it would take to clear the overgrown area. The city only wanted to give unlimited coffee and a piece of bread a day for each person. When that offer was rejected, the city asked for help on its website.A sheepherder in Montanta and a goat-keeper in San Bernardino read about the city’s plight(困境)while surfing the Web. They both offered to do the job for $25,000. The city government chose the goat-keeper because he lived closer. When he was told that the city dump(垃圾场)was overflowing , the goat-keeper said, “No problem. My goats will eat everything in your dump, except the car engines, of course.” So, for another $5,000, the city killed two birds with one stone. If all goes well, they will invite the goat-keeper and his “family” back every three years. The goat-keeper said that he would probably visit San Diego while his goats were in the dump.2. Why was the goat-keeper chosen to remove the bushes?
①  A. Because he offered to do it for the lower price.
②  B. Because it was easier to transport his goats.
③  C. Because his goats can do the job better.
④  D. Because the city wanted to raise more goats.