#include<iostream.h>template<class T>class

题型:填空题

问题:

#include<iostream.h>
template<class T>
class f
private:
T x,y;
public:
void f1(T a,T b)x=a;y=b;
T max()return(x>y) x:y;

void main()
f<int>a;
a.f1(3.5,3.8);
cout<<a.max()<<endl;

考点:自学考试工学自考C++程序设计真题2011年10月
题型:填空题

情景对话。

M:Excuse me.Can you give me some information about active holidays?

W:__1__Would you please tell me exactly what you mean?

M:OK.When I go on holidays,I'd like to take exercise.__2__What I mean is that I'm the sort of

man who enjoys swimming,skiing and choose sorts of things.

W:__3__Um...active holidays,let me see.What about diving,sir?We can offer you two weeks off

the coast:one week diving and one week fishing with the local fishermen.But you only need to pay

$800 for it.__4__

M:Fishing?Is there any chance of getting in a bit of sailing?

W:__5__They are mostly organized by the sailing school.But rowing,yes.Are you interested in

rowing,sir?

M:Well,I did a lot of rowing when I was at university.

A.I hate sitting around and doing nothing.

B.No problem.

C.Active holidays,sir?

D.It's a very good bargain.

E.It's a bit difficult.

F.I'm sorry we don't do many sailing holidays,sir.

G.Oh,sir,sounds very interesting.

题型:填空题
矩形两边长分别为a、b,且a+2b=6,则矩形面积的最大值是(  )
A.4B.
9
2
C.
3
2
2
D.2
题型:填空题

用于鉴别血尿与血红蛋白尿的主要方法是()

A.尿潜血检查

B.尿三杯试验

C.尿沉渣检查

D.血尿颜色

E.尿胆原

题型:填空题

生产实践证明,烧结生产必须有圆盘造球机。()

题型:填空题

过滤是为了除掉水中存在的一小部分()。

A、细小的悬浮杂质

B、大矾花

C、混凝剂

D、助凝剂

更多题库