阅读以下说明和C++程序,将应填入 (n) 处的字句写在对应栏内。 [说明]

题型:填空题

问题:

阅读以下说明和C++程序,将应填入 (n) 处的字句写在对应栏内。
[说明]
下面程序输出一个矩形面积,以及矩形区域上的假想的作物产量。
[C++程序]
#include <iostream.h>
class crop_assessment

int actual_crop;
int ideal_crop;
public:
void set(int in_actual,int in_ideal)

actual crop=in_actual;
ideal_crop=in_ideal;

int get_actual_crop(void) (1) ;
int get_ideal_crop(void) (2) ;)
;
Class lot_size

int length;
int width;
(3) crop;
public:
void set(int 1,int w,int a,int i)

length=1;
width=w;
crop.set(a,i);

int get_area(void)return length*width;
int get_data(void)return (4) ;
int get_data2(void)freturn (5) ;

int main()

Los_size small,medium;
small.set(5,5,5,25);
medium.set(10,10,10,50);
cout<<"For a small lot of area"<<smallget_area()<<“\n”;
cout<<"the actual crops are$"<<small.get_data2()<<"\n";
cout<<"and ideal crops are$”<<small.get_data()<<"\n";
cout<<"For a medium Lot of area"<<medium.get area()<<:\n”;
cout<<"the actual crops are$"<<medium.get_data2()<<"\n";
cout<<"and ideal crops are$"<<medium.get_data()<<"\n";
return 0;

考点:计算机软件水平考试初级程序员初级程序员下午试题
题型:填空题

根据《统计法实施细则》规定:各地方、各部门、各单位应当健全统计资料的审核制度,保障统计资料的准确性和()。

A.有效性

B.合法性

C.及时性

D.可靠性

题型:填空题

应用胰岛素的注意事项中,下列哪项错误()。

A.胰岛素宜冰冻保存

B.抽吸药液时避免振荡

C.皮下注射部位经常更换

D.混合注射时先抽吸短效胰岛素

E.应用时注意药物有效期

题型:填空题

全口义齿的支持形式为()

A.牙支持式

B.粘膜支持式

C.混合支持式

D.卡环支持式

E.支托支持式

题型:填空题

我国国债利率主要是以( )为基准。

A.金融市场利率
B.银行利率
C.政府信用状况
D.社会资金供给量

题型:填空题

新中国建立的人民代表大会制度是中国人民的选择。它在长期实践中不断得到巩固和完善,显示出强大的生命力和无比的优越性。请写出人民代表大会制度的基本内容。

更多题库