【单选题】【消耗次数:1】
假定要访问一个结构x中的由a指针成员所指向的对象,则表示方法为( )。
x-a
x.a
*(a.x)
*(x.a)
参考答案:
复制
纠错
相关题目
【单选题】 假定要访问一个结构x中的由a指针成员所指向的对象,则表示方法为( )。
①  x->a
②  x.a
③  *(a.x)
④  *(x.a)
【单选题】 假定要访问一个结构指针p所指对象中的b指针成员所指向的对象,则表示方法为( )。
①  p-b
②  p.b
③  *(p-b)
④  *(b-p)
【单选题】 假定要访问一个结构指针p所指对象中的b指针成员所指向的对象,则表示方法为( )。
①  p->b
②  p.b
③  *(p->b)
④  *(b->p)
【单选题】 p是一个指向数据对象x的指针,则与x表达等价的是?
①  p
②  p
③  *p
④  p
【单选题】 假定x是一个逻辑量,则x!x和x||!x的值分别为( )。
①  1和1
②  0和0
③  0和1
④  1和0
【单选题】 假定x是一个逻辑量,则x&&!x和x||!x的值分别为( )。
①  1和1
②  0和0
③  0和1
④  1和0
【单选题】 若p指向x,则( )与x的表示是等价的。
①  p
②  *p
③  *x
④  D、x
【单选题】 若p指向x,则( )与x的表示是等价的。
①  p
②  *p
③  *x
④  D、&x
【多选题】 设: F(x):x 能表示成分数, G(x):x 为无理数, H(x)为有理数,令前提: x(G(x) ??F(x)), x(H(x) ?F(x)),则下面是其有效结论的有:
①  x(H(x) ??G(x))
②  ?$x(H(x) ùG(x))
③  $x(H(x) ??G(x))
④  ?x(H(x) ?G(x))
【判断题】 假定在一个关系中存在X→Y并且X?Y,则称X→Y为非平凡函数依赖。
①  正确
②  错误
随机题目
【单选题】 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.
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案: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.3. According to the passage, __________.
①  A. the sheepherder offered to do the job for $50,000
②  B. the lowest bid to remove the bushes was $50,000
③  C. the sheepherder and the goat-keeper were both addicted to surfing the Internet
④  D. hiring goats todo the job saved the city government lots of money
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案: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.4.What are the “two birds” that the city government kills with only one stone?
①  A. Both the sheepherder and goat-keeper will work for the city for $25,000.
②  B. The danger of fire and providing breakfast and lunch for the work crews.
③  C. The danger of fire and the overflowing dump.
④  D. The city government can save some money and the goat-keeper has a new job.
【单选题】 阅读理解:阅读下列短文,回答文后问题,选择最佳答案: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.5.What can be inferred from the passage?
①  A. The city will remove the bushes in this area regularly.
②  B. The goat-keeper asked for $50,000 to kill the birds with stones.
③  C. The goat-keeper was invited to San Diego to do some sightseeing.
④  D. The city government was not kind to the people who worked for it.
【判断题】 阅读课文II. Television and Children,判断正误4. The negative influence of television can be avoided.
①  正确
②  错误
【判断题】 阅读课文II. Television and Children,判断正误1. Television is an excellent invention that may help with education
①  正确
②  错误
【判断题】 阅读课文II. Television and Children,判断正误2. Television companies show only educational programs for children.
①  正确
②  错误
【判断题】 阅读课文II. Television and Children,判断正误3.When a program attracts moderate audiences, it is discountinued.
①  正确
②  错误