A pair of spectacles()what I need at the moment.
第1题:
I don't regret ______ even if it might have upset her.
A. to tell her what I thought
B. to have told her that I thought
C. telling what I thought
D. telling her what I thought
第2题:
I went shopping_____ I needed a new pair of shoes.
A. although
B. because
C. so
第3题:
A. What are you doing?
B. What can I do for you?
C. How can I help you?
D. How can I do for you?
第4题:
A. Fiber
B. Coaxial cable
C. UTP
D. Twisted pair
第5题:
Shop-assistant: May I help you, sir?
Mr. Blair: Er…I want to buy my wife a gift for Christmas, but I don’t know what she would like.
Shop-assistant: _______________________ These are all from Paris.
Mr. Blair: No. She has very good taste in clothes. I don’t want to take the risk.
A: Do you want to buy a pair of shoes?
B: What about a gold necklace?
C: How about an evening gown?
D: Don’t you think a gold watch would be very nice?
第6题:
( 33 )有如下程序:
#include<iostream>
using namespace std;
class Pair{
int m;
int n;
public:
Pair ( int i , int j ) : m ( i ) , n ( j ) {}
boot operator > ( pair p ) const; // 须在类体外给出定义
} ;
int main () {
Pair Al ( 3,4 ) , p2 ( 4,3 ) ; p3 ( 4,5 ) ;
Cout<< ( pl>p2 ) << ( P2>P1 ) << ( p2>p3 ) << ( p3>p2 ) ;
return 0;
}
运算符函数 。 operator> 的功能是比较两个 Pair 对象的大小 , 当左边对象大时 , 返回 true , 否则返 回false 。 比较规则是首先比较两对象的 m 成员 , m 大者为大 ; 当 m 相等时比较 n , n 大者为大 。 程序输出 0101 ,下列对运算符重载函数的正确定义是
A ) bool Pair::operator> ( Pair p ) const
{if ( m!=p.m ) return m>p.m; return n>p.n;}
B ) bool Pair:;operator> ( Pair p )
{if ( m!=p.m ) return m>p.m; return n>p.n;}
C ) bool Pair::operator> ( Pair p ) const
{if ( m>p.m ) return true; return n>p.n;}
D ) bool Pair:;operator> ( Pair p )
{if ( m>p.m ) return true; return n>p.n;}
第7题:
—— ________ ?
—— I have a headache, a sore throat and I’m feeling rather weak.
A.What are you
B.What’s the matter with you
C.How are you today
D.What can I do for you
第8题:
A.Excuse me, I’d like to buy a pair of sports shoes.
B.Hi, there. I’m glad to introduce myself to you.
C.I need some information on the advertising rates of your magazines.
第9题:
-________?
-I'd like to see a pair of brown shoes.
A、What do you want
B、What do you like
C、What can I do for you
D、Do you want to buy something
第10题:
有如下程序: #include<iostream> using namespaee std; class Pair{ int m; int n; public: Pair(int i,int j):m(i),n(j){ } boot operator>(pair P)const;//需在类体外给出定义 }; int main( ){ Pair pl(3,4),p2(4,3),p3(4,5); cout<<(pl>p2)<<(p2>p1)<<(p2>p3)<<(p3>p2); retum 0; } 运算符函数operator>的功能是比较两个Pair对象的大小,当左边对象大时,返回true,否则返回false。比较规则是首先比较两对象的m成员,m大者为大;当m相等时比较n,n大者为大。程序输出0101,下列对运算符重载函数的正确定义是
A.bool Pair::operator>(Pair P)eonst
B.bool Pair::operator>(Pair P) {if(m!=P.m)return m>p.In;return n>p.n;} {if(m!=P.m)return m>p.m;return n>p.n;}
C.bool Pair::operator>(Pair P)eonst
D.bool Pair::operator>(Pair P) {if(m>p.m)return true;return n>p.n;} {if(Ul>p.m)return true;return n>p.n;}