第1题: [单项选择]下列程序的输出结果是( )。 #include<iostream> using namespace std; int main( ) { char a[]="Hello,Test"; char *p=a; while(*p) { if(*p>='a'&&*p<='’z') cout<<char(*p+'A'-'a'); else cout<<*p; p++; } return 0; } A. hello,test B. Hello,Test C. HELLO,TEST D. hELLO,tEST 参考答案:C 答案解析:[解析] 用一个指针变量p指向字符数组a,在while循环中,当不指向数组尾时,将小写字母转换为大写字母,然后将其输出。
第2题: [单项选择]The room was full of people and smoke. She started to feel ______ with the heat inside A. oppressed B. congested C. confronted D. craned 参考答案:A 答案解析:oppressed压抑,压迫;congested拥挤的;confronted面临,对抗;crane起重机。
第15题: [单项选择]ARTLESS: GUILE : : A. moribund: amicability B. philistine: sophistication C. invincible: enmity D. dedicated: cunning E. mighty: weakness 参考答案:B
第20题: [多项选择]下列各项经济业务中,会引起会计恒等式两边同时发生增减变动的有( )。 A. 用银行存款偿还前欠应付货款 B. 购进材料未付款 C. 从银行提取现金 D. 向银行借款存入银行 参考答案:A,B,D 答案解析:[解析] A资产和负债同时减少,B资产和负债同时增加,C资产内部结构的变化,D资产和负债同时增加。所以答案为ABD。