当前位置:文档之家› 2020年10月自考00342高级语言程序设计一真题

2020年10月自考00342高级语言程序设计一真题

2020年10月自考00342高级语言程序设计一真题

自考英语二历年试题真题及答案

2011年7月高等教育自学考试全国统一命题考试 英语(二)试卷 I. Vocabulary and. Structure (10 points, 1 point each) 从下列各句四个选项中选出一个最佳答案,并在答题卡上将相应的字母涂黑。 1 .Students should_____their own interests as well as do their schoolwork. A. persuade B .pursue C. persist 2. I'd like to remind you that there is no_____on the part of suspects to answer questions. A. obligation 3. He blamed his poor performance_____jet lag. B .for 4 .We_____knowledge from our families,schools,jobs,and the mass media. 5. Not until recently_____that Thompson had ben telling the truth all along. realized I realize did realize I 6. I don’t need any help at the moment,but I_____your offer. 7 .The sad condition of women working as house servants around the world received much media_____early this year. A .importance B. attention 8 .She has no hostility to us, _____can be judged from her eyes. A. that 9 .When you're_____ a crisis, it often helps to talk to someone. through in for after over on whether the message is right or wrong should at least come after _____what the message is. out out out out II. Cloze Test (10 points,1 point each) 下列短文中有十个空白,每个空白有四个选项。根据上下文要求选出最佳答案,并在答题卡上将相应的字母涂黑。 People in all parts of the world are observing "No Tobacco Day". It is the day 11 the World Health Organization (WHO) appeals to people to stop using tobacco products. WHO hopes if people stop smoking cigarettes or 12 tobacco for one day, they will stop permanently. Health experts have warned for years that smoking can lead to heart disease, cancer and other 13 .WHO says diseases linked to smoking kill 14 2,500,000 persons each year. Still, many people find it 15 stopping smoking. One reason is nicotine, a substance found in cigarettes. Nicotine is a drug. Its effects are 16 those of cocaine and heroin. "No Tobacco Day" is intended for smokers and 17 who earn money from tobacco sales. So businesses are urged to stop selling tobacco products for twenty-four hours. 18 are urged not to carry advertisements for cigarettes. WHO has approved plans to help reach its 19 of a "smoke-free" world. They urge governments to take action to help 20 make money by growing other crops. They also call for improved public information campaigns about the risks of smoking. 11. A. whether B. which C. when D. what

自考英语二历年真题及答案(2005-2014)史上最全

2005年4月高等教育自学考试全国统一命题考试 英语(二)试卷及答案 (课程代码:00015) PART ONE (50 POINTS) Ⅰ.Vocabulary and Structure (10 points, 1 point for each item) 从下列各句四个选项中选出一个最佳答案,并在答题卡上将相应的字母涂黑。 1.Would’t you rather your child ______ successful with his study and won the scholarship? A. became B. become C. would become D. becomes 2. Although Tom is satisfied with his academic achievement, he wonders _______will happen to his family life. A. it B. that C. what D. this 3. We hope that all the measures against sandstorms, ________ was put forward by the committee, will be considered seriously at the meeting . A. while B. after C. since D. as 4. We cannot leave this tough job to a person_________. A. who nobody has confidence B. in whom nobody has confidence C. for whom nobody has confidence D. who everyone has confidence of 5. You are the best for the job _____ you apply your mind to it . A. until B. if only C. in case D. unless 6.Hey, leave _____!I hate people touching my hair. A. behind B. out C. off D. over 7.I thought the problem of water shortage would ________ at the meeting but nobody mentioned it. A. come up B. come up to C. come over D. come to 8.Mr.Smith , can I ________ you for a minute? I’d like to hear your opinion on this issue. A. say a word with B. have words with C. mention a word with D. have a word with 9.There is a deadlock (僵局) in the discussion when neither side gives ________ to the over . A. a way B. way C. the way D. its way 10. This type of desk and chair can be adjusted ________ the height of students at different ages. A. with B. for C. to D. in Ⅱ.Cloze Test (10 points, 1 point for each item) 下列短文中有十个空白,每个空白有四个选项。根据上下文要求选出最佳答案,并在答题卡上将相应的字母涂黑。 For over a hundred years Japan has consistently spent large sums of money and considerable human resources in an effort to obtain technology. Her ability to negotiate __11___ by the fact most of the technology she wanted was no commercial secrets. Japan’s __12__ has also been strengthened by the fact that her internal market was large, so that __13__ to this market could be offered to multinational companies as an attraction to them to grant licenses. Besides, Japan’s work force was disciplined, so it was capable __14__ applying the information it acquired. Finally, American and European companies, who were __15__ licensers, felt that the

全国高等教育自学考试高级语言程序设计

全国高等教育自学考试高级语言程序设计 Document serial number【NL89WT-NY98YT-NC8CB-NNUUT-NUT108】

2001年10月全国高等教育自学考试高级语言程序设计(一) 试卷 第一部分选择题 一、单项选择题 (本大题共20小题,每小题1分,共20分) 在每小题列出的四个选项中只有一个选项是符合题目要求的,请将正确选项前的字母填在题后的括号内。 1. C语言程序编译时,程序中的注释部分【】 A. 参加编译,并会出现在目标程序中 B. 参加编译,但不会出现在目标程序中 C. 不参加编译,但会出现在目标程序中 D. 不参加编译,也不会出现在目标程序中 2. 下列表达式的值为0的是【】 A. 3﹪5 B. 3/ C. 3/5 D. 3<5 3. 正确的C语言用户自定义标识符是【】 A. print B. float C. when?

D. random﹪2 4. 设int a = 3;则表达式a<1&& - - a>1的运算结果和a的值分别是【】 A. 0和2 B. 0和3 C. 1和2 D. 1和3 5. 下列叙述中,正确的是【】 A. 引用带参的宏时,实际参数的类型应与宏定义时的形式参数类型相一致 B. 宏名必须用大写字母表示 C. 宏替换不占用运行时间,只占编译时间 D. 在程序的一行上可以出现多个有效的宏定义 6. 下列保留字中用于构成循环结构的是【】 A. if B. while C. switch D. default 7. 与语句if(a>b)if(c>d)x = 1;else x = 2;等价的是【】 A. if(a>b){if(c>d) x = 1;else x = 2;} B. if(a>b){if(c>d) x = 1;} else x = 2;

(完整版)历年真题2014年10月自考英语(二)试题和标准答案

2014年10月高等教育自学考试英语(二)试卷 (课程代码00015) 本试卷满分100分,考试时间150分钟。 考生答题注意事项: 1.本卷所有试卷必须在答题卡上作答。答在试卷上无效,试卷空白处和背面均可作草稿纸。 2.第一部分为选择题。必须对应试卷上的题号使用2B铅笔将“答题卡”的相应代码涂黑。 3.第二部分为非选择题。必须注明大、小题号,使用0.5毫M黑色字迹签字笔作答。 4.合理安排答题空间,超出答题区域无效。 第一部分选择题 一、阅读判断(第1—10题,每题1分,共10分) 下面的短文后列出了10个句子,请根据短文的内容对每个句子作出判断:如果该句提供的是正确信息,选择A;如果该句提供的是错误信息,选择B;如果该句的信息文中没有提及,选择C。在答题纸相应位置上将答案选项涂黑。 The Stranger Who Changed My Life It was a sunny morning in the spring of 1966. I was driving a taxi, looking for a customer. While passing New York Hospital, I found a man running down the hospital steps, waving at me. I stopped. The man reached the taxi and jumped in. “The Airport, please,”he said. As always, I wondered about my passenger. Was this man a talker? After a few moments, he started saying, “How do you like driving a taxi?” “It’s OK” I said. “I make a living and meet interesting people sometimes.” “What do you do?” I asked. “I am a doctor at New York Hospital.” Many times during long rides, I’d developed a good relationship with my passengers and received very good advice from them. This time I decided to ask for his help. “Could I ask a favor of you?” He didn’t answer. “I have a son, 15, a good kid. He wants a job this summer. Is it possible that you get one for him?” He still wasn’t talking, and I was starting to feel foolish. Finally, he said, “Well, my students have a summer research project. Maybe he could join in. Have him send me his school record.” He left his address and paid me. It was the last time I ever saw him.

《高级语言程序设计》复习题及答案

一、选择题 1.以下叙述正确的是( ): A)在C程序中,main函数必须位于程序的最前面 B) C程序的每行只能写一条语句 C) C语言使用库函数实现输入输出操作 D)注释中的拼写错误会影响编译结果 2、以下说法中正确的是() A) C语言程序总是从第一个的函数开始执行 B) C语言程序总是从main()函数开始执行 C)在C语言程序中,要调用的函数必须在main()函数中定义 D)C语言程序中的main()函数必须放在程序的开始部分 3、下列选项种说法正确的是( ) A)函数由声明部分和执行部分两部分组成 B)语言中main函数一定在程序的开始部分 C)C语言程序总是从第一个定义的函数开始执行 D)C程序的每行中只能写一条语句 4、设有说明:int a;float b; char c; double d; 则表达式1.3*a+2*b*c+d*(int) 2.6 值的类型为( )。 A)doubleB) char C) floatD) int 5、C语言的标识符只能由字母、数字和下划线三种字符组成,且第一个字符( ) A)必须为字母 B)必须为下划线 C)必须为字母或下划线 D)可以是字母、数字和下划线中任一种字符 6、以下不正确的C语言标识符是( )。 A) ABC B) abc C)a_bc D) void 7、下列运算符中优先级最高的是( ) A)< B)+ C)&& D)!= 8、以下选项中属于C语言中合法关键字的是( ) A)Float B)abc C)int D)CASE 9、若x、i、j和k都是int型变量,计算下面表达式后,x的值为( ) x=(i=4,j=16,k=32) A)4 B)16 C)32 D)52 10、在C语言中,要求数据必须是整型的运算符是( ) A)/ B)+ + C)!=D) % 11、若整型变量x的值为8,则下列表达式中值为1的表达式是 A)x+=x-=x B) x%=x-1 C) x%=x%=3 D) x/=x+x 12、若w=1,x=2,y=3,z=4,则条件表达式“w > x? w : y< z ? y : z”的值是( ) A)4 B)3 C)2 D)1 13、有以下程序,程序运行后的输出结果是。 main() {inti=1,j=2,k=3; if(i++==1&&(++j==3||k++==3)) printf("%d %d %d\n",i,j,k); }

2014-2017自学考试英语二(00015)历年真题及答案汇总

2014年4月高等教育自学考试全国统一命题考试 英语(二)标准试题 (课程代码:00015) 第一部分:阅读判断题(每题1分,共10分) 下面的短文后列出了10个句子,请根据短文的容对每个句子做出判断:如果该句提供 的是正确信息,选择A;如果该句提供的是错误信息,选择B;如果该句的信息文中没有提及,选择C。 Running: Sport or Way of Life? You go through the channels several times and find that once again there's nothing on TV that interests you. Not a problem! Just put on some running shoes and comfortable clothes and go for a run. One of the best things about the sport of running is that you don't need expensive equipment. All you need is a good pair of running shoes and a safe environment. But don't be fooled into thinking the sport of running is easy It requires discipline and concentration. Running is good for you both physically and mentally. It strengthens your heart lungs and muscles? It makes you more aware of your body. Running also improves your body so that you don't get sick as easily. It can even help you to stay more focused in school because exercise helps you to think more clearly. How do you get engaged in the sport if you don't know much about it? Most schools offer running programs. A simple internet search can help some in your find area. Then programs show you how running can offer competition or just be for fun. They also teach runners to set practical goals and take care of their bodies. Runners have great respect for each other because they know how difficult the sport can be. If you go to a race you'll see people cheering for all the runners. Running isn't always about how fast you are or how far you're going. It's about getting out there and doing it. Participation is more important than competition and effort is recognized over talent. If you're looking for more than just a sport running may be the perfect choice for you 1. You may find it interesting in go for A run. A. True B. False C. Not Given 2. The sport of running is easy. A True B. False C. Not Given 3. It is hard to End n safe environment for running.

自考高级语言程序设计复习题

2013年海南省衔接课程考试 高级语言程序设计复习题 一、单项选择题(在每小题列出的四个选项中只有一个是符合题目要求的,请将其代码填在题后的括号内。错选或未选均无分。) 1、在以下给出的表达式中,与while E中的E不等价的表达式是()。 A)(!E=0) B)(E>0||E<0) C)(E==0) D)(E!=0) 2、若x和y是代表整型数,以下表达式中不能正确表示数学关系|x-y|<10的是()。 A)abs(x-y)<10 B)x-y>-10&&x-y<10 C) @(x-y)<-10||!(y-x)>10 D)(x-y)*(x-y)<100 3、以下能够正确判断char型变量c是否为大写字母的表达式是()。 A) (‘A’<=c)AND (‘Z’>=c) B)(‘A’<=c)& (‘Z’>=c) C)(‘A’<=c) && (‘Z’>=c) D)以上答案都不对 4、下列叙述正确的是()。 A) break语句只能用于switch语句 B)在switch语句中必须使用default C) break语句必须与switch语句中的case配对 D)在switch语句中,不一定使用break语句 5、以下选项中,不能看作一条语句的是()。 A){ ;} B)a=0,b=0,c=0; C) if(a>0); D)if(b==0) m=1;n=2; 6、以下程序段中与语句k=a>b?(b>c?1:0):0)功能等价的是()。 A) if(a>b&&(b>c)) k=1; B) if(((a>b)||(b>c)) k=1; else k=0; else k=0; C)if(a<=b) k=0; D)if(a>b) k=1; else if(b<=c) k=1; else if(b>c) k=1; else k=0; 7、若有以下程序: main() { int y=10; while(y--); printf(“y=%d\n”,y); }

2019年自考英语二历年试题(真题)及答案

2019年10月髙等教育自学考试全国统一命题考试 英语(二)试卷(课程代码:00015) 本试卷共8页,满分100分,考试时间150分钟。 考生答卷前必须将自己的姓名和准考证号写在答题卡上。 必须在答题卡上答题,写在试卷上的答案无效。 第一部分:阅读判断(第1?10题,每题1分,共10分) 下面的短文后列出了10个句子,请根据短文的内容对每个句子作出判断:如果该句提供的是正确信息,选择A;如果该句提供的是错误信息,选择B;如果该句的信息文中没有提及,选择C。在答题卡相应位置上将答案选项涂黑。 To Lease(租赁) or Not to Lease Planning to lease a car because you don't think you can afford to buy? Think again. Leasing can end up being just as expensive as buying. Most people think about leasing because they believe it will cost them less money. They're right-it is cheaper, but only in the short term. For example, if you were to lease anew Subaru Forester, you might pay $300 per month for the car. If you were to buy the same car, you would pay about $400 per month. Over a three-year, you would save $3600-a big savings. But after your lease is over, you have to give the car back. Many people want to lease because they can drive a more expensive car than they might otherwise be able to afford. For example, if you spend $300 monthly on a car, you might be able to lease a new Ford Explorer. For the same price, you might have to buy a used Explorer, or buy a new but much less expensive model. A lease,therefore,allows you to drive the latest models of more expensive cars. However, whatever car you can afford to buy you get to keep it, and it will always have a resell or trade-in(以新旧换)value if you want to upgrade to a new car later. Furthermore, people who lease cars are often shocked by how much they must pay when the lease is over . Most leases limit you to a certain number of miles. If you go over that, you must pay for each mile. As a result, you may end up paying thousands of dollars in mileage(里程) fees. In addition, when you lease ,you have to pay for regular maintenance and repairs to the vehicle. Since you must return the car finally, you are paying to repair someone else's car.

《高级语言程序设计》答案

1. 输入两个整数,要求用两个函数求出其最大公约数和最小公倍数,最大公约数和最小公倍数都在主函数中输出。#include int main() { int i,j,t; int max(int,int); int min(int,int); scanf("%d%d",&i,&j); if(i int main() { int max4(int,int,int,int); //对max4的函数声明 int a,b,c,d; scanf("%d%d%d%d",&a,&b,&c,&d); //输入4个数 printf("max=%d\n",max4(a,b,c,d));//调用4个数中的最大者 return 0; } int max4(int a,int b,int c,int d) //定义max4函数 { int max2(int,int); //对max2的函数声明 return max2(max2(max2(a,b),c),d); //调用max2把作为函数值带回main函数} int max2(int a,int b) { return(a>b?a:b); //返回条件表达式的值,即a和b中的大者 } 3. 用递归调用的方法求5!。 #include int main() { int fac(int); int n; scanf("%d",&n);

高等教育自学考试英语 真题

2016年10月高等教育自学考试英语(二)真题 第一部分:阅读判断(第1~10题,每题1分,共10分)下面的短文后列出了10个句子,请根据短文的内容对每个句子作出判断:如果该句提供的是正确信息,选择A;如果该句提供的是错误信息,选择B;如果该句的信息文中没有提及,选择C。在答题卡相应位置上将答案选项涂黑。 Being ”Cool” in Middle School A new study shows that gentle and quiet kids in middle school will grow up to rule. Or, they’ll live healthier and more productive lives than the “cool” kids will. The study looked at 13-year-olds who acted old for their age by having “cool”behavior, such as early romantic relationships. They were seen as “cool” and popular kids. But as they grew up, things changed. The study found that these kids tended to have problems with drugs and relationships by their 20s. Their behavior was no longer linked with popularity. Instead, they were thought to be less socially skilled by their peers. Besides, the average “cool”kids, by age 22, did more poorly than the average kids in the study. They had a 45 percent greater rate of problems due to drugs and alcohol. They also had a 22 percent greater rate of criminal behavior. The study also found that these kids failed to develop important life skills. They spent so much time trying to seem cool. They didn’t

2020年10月全国高级语言程序设计(一)自考试题及答案解析.docx

??????????????????????精品自学考料推荐?????????????????? 全国 2018 年 10 月高等教育自学考试 高级语言程序设计(一)试题 课程代码: 00342 一、单项选择题(本大题共20 小题,每小题 1 分,共 20 分) 在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在题后的括 号内。错选、多选或未选均无分。 1.下列不正确的转义字符是() . A. ′ ′ B. ′ ″ C. ′ \086′ D. ′ \0′ 2.下列运算符中,优先级最高的是() A. [] B.++ C.% D.&& 是 C 语言保留字的是 () 3.下列标识符中,不. A. char B. while C. min D. default 4.下列数据中,不.是 C 语言常量的是 () A. ′ \n′ B. ″ a″ C. e-2 D. 012 5.若定义了 int a; char b; float c ;,则表达式a*b-c 的类型是 () A. float B. int C. char D. double 6.若定义了 int a, x,y;,则下列语句中不.正确的是 () A. x=3 ,y=5 ; B. ++x ; C. x=y+=x*30 ; D. a=y+x=30 ; 7.调用函数时,若实参是一个数组名,则向函数对应的形参传送的是() A. 数组的长度 B.数组的首地址 C. 数组第一个元素的值 D. 整个数组元素的值 8.在 C 语言中,函数返回值的类型是由() A. 定义的函数类型决定 B.return 语句中表达式的类型决定 C.调用该函数的主调函数类型决定 D. 调用该函数时系统状态决定 9.若定义了 int b [][ 3]={ 1,2, 3,4, 5, 6, 7};,则 b 数组第一维的长度是 () A. 2 B. 3 C. 4 D.无确定值 1

2018年4月自考 英语(一) 试题

2018年4月高等教育自学考试《英语(一)》试题 课程代码:00012 一、阅读判断 Finding Paradise (天堂) and Success in Retirement Ivy Singh and her husband had their retirement all planned out. They wanted to have a place with enough land to grow plants. The couple successfully found a proper place and turned it into a farm called Bollywood Veggies. "We came and had a look and we found paradise. We started Bollywood Veggies there and then," she says. The basic idea of starting the farm was to keep themselves busy in retirement. Mrs. Singh says it was never begun as a business. "We started this as a lifestyle project for retirement." The farm's produce includes beans, cabbage and other crops. Soon, more people found out about the farm. Visitors often asked whether the farm offered any food or drinks. So the couple started a restaurant and a food museum on the farm. As the farm changed from a retirement to a commercial project, Mrs. Singh sought new business opportunities. A key area was growing bananas. Given the popularity of bananas and their use in a range of food products, she saw great potential. The farm uses its crop to make products such as banana chips and bread. Mrs. Singh, driven by the success of the project, now wants to open a retirement home on the farm. She says the farm is a nice place for people who have retired. Mrs. Singh says she does not care much about the profit, because she is getting to live her dream while making a difference to society. 1. Ivy and her husband made a careful plan for retirement. A. True B. False C. Not Given 2. Before retirement, the couple were doing business on plants. A. True B. False C. Not Given 3. The couple started Bollywood Veggies for business purposes. A. True B. False C. Not Given 4. Cabbage was the first vegetable planted on the farm. A. True B. False C. Not Given 5. The couple opened a restaurant close to the farm. A. True B. False C. Not Given 6. Mrs. Singh planted bananas because they were very popular. A. True B. False C. Not Given 7. Visitors to the farm like its banana chips the best. A. True B. False C. Not Given 8. Mrs. Singh built a retirement home on the farm. A. True B. False C. Not Given 9. Mrs. Singh thinks the farm is a good place for retired people.

高级语言程序设计自考模拟10

[模拟] 高级语言程序设计自考模拟10 单项选择题在每小题列出的四个备选项中只有一个是符合题目要求的。 第1题: 下列不属于面向机器语言的是( ) A.符号语言 B.二进制语言 C.汇编语言 D.C语言 参考答案:D 答案解析: 第2题: 设int b=2;表达式(b<<2)/(b>>1)的值是( ) A.2 B.4 C.6 D.8 参考答案:D 答案解析: 左移位运算移一位相当于乘2,右移位运算右移一位相当于除2。 第3题: 设置变量定义为:int a=0x53;int b=6;,求表达式~a|b的值(假定现有计算机字长为16)( ) A.82 B.-82 C.72 D.-72 参考答案:B 答案解析: 因计算机字长为16.故a的二制表示是0000000001010011,b的二进制表示是0000000000000110。运算符"~"自右向左结合,运算符"|"是自左向右结合;且运算符"~"的优先级高于运算符"|"的优先级,则进行计算的顺序是"(~a)|b"。最终计算结果是1111111101010010(十进制值为-82)。 第4题:

为了判定两个字符串是否相等应当使用( ) A.if(s1==s2) B.if(s1=s2) C.if(strcmp(s1,s2)==0) D.if(strcmp(s1,s2)=0) 参考答案:C 答案解析: 第5题: 设char c[5]={'a','b','\0','C','\0');则printf("%s",c);的输出是( ) A.'a''b' B.ab C.abc D."ab\0c" 参考答案:B 答案解析: 第6题: 以下程序的运行结果是( ) #include<stdio.h>main() { int a[]={1,2,3,4,5,6,7,8,9,10,11,12};int *p=&a[5],*q=NULL;printf("%d%d\n",*p,*q);} A.运行后报错 B.6 0 C.6 12 D.5 5 参考答案:A 答案解析: #include<stdio.h> main() { int a[]={1,2.3.4,5,6,7,8,9,10,11,12}; int*p=&a[5],*q=NULL; printf("%d%d\n",*P,*q);/*被置空的指针不能参与"*"运算*/ } 第7题: 当执行以下程序段时( ) do{y--;}while(--y) printf("%d\n",y--); A.循环体将执行一次 B.循环体将执行两次 C.循环体将执行无限次 D.系统将提示有语法错误

相关主题
文本预览
相关文档 最新文档