【简答题】阅读下列程序说明和C程序,已知其输出为“1 2 3 4 5 6 7 8 9 10”。将应填入(n)处的字句写在对应栏内。 [说明] 本程序包含的函数及其功能说明如下: (1)函数first_insert()的功能是在已知链表的首表元之前插入一个指定值的表元; (2)函数reverse_copy()的功能是按已知链表复制出一个新链表,但新链表的表元链接顺序与 已知链表的表元链接顺序相反; (3)函数...
【单选题】以下程序执行时,从键盘获得1,2,3,输出结果是: 提示:reverse() 函数用于反向列表中元素 try: num = eval(input("请输入一个列表:")) num.reverse() print(num) except: print("输入的不是列表")
【单选题】How do you interpret the sentence 'her airplane Electra is not pressurized' (Para. 4)?
A.
The plane exerts pressure on the pilot.
B.
The plane is not installed with a piece of equipment to pump in outside air.
C.
The plane cannot keep stable in the storms because the air pressure is not high enough.
D.
The pilot does not feel comfortable under pressure.
【单选题】What does the author mean by 'But my son is eleven years old now' (Line 4, Para. 1)?
A.
He is a bit too young to go out alone.
B.
He has reached the legal age for riding a bicycle.
C.
He can't protect himself from road hazards.
D.
He is old enough to be given some now.
【单选题】The underlined word' that' (Line 4, Para. 2 ) means ______.
A.
a dam will be built across the river
B.
a dam will store water for dry seasons
C.
in wet seasons a dam will pr the flooding of the land
D.
houses and fields will be covered with water
【单选题】下列程序中函数reverse()的功能是将a所指数组中的内容进行逆置。 #include<stdio.h> void reverse(int a[],int n) { int i,t; for(i=0i<n/2,i++) { t=a[i]a[i]=a[n-1-i]a[n-1-i]=t} } main() { int b[10]={1,2,3,4,5,6,7,8,9,10}int i,s=0; re...
C.
ptr是指向函数的指针,该函数返回一个int型数据
D.
ptr是一个函数名,该函数的返回值是指向血型数据的指针
【单选题】下列程序中函数reverse()的功能是将a所指数组中的内容进行逆置。 #include<stdio.h> void reverse(int a[],int n) { int i,t; for(i=0;i<n/2;i++) { t=a[i];a[i]=a[n-1-i];a[n-1-i]=t;) } main() { int b[10]={1,2,3,4,5,6,7,8,9,10};int i,s=...
【单选题】Now listen to Para. 4: Para.4.mp4 What is the main idea?
A.
At this point, you feel that you are coping fine alone, so you do not try to ask for help.
B.
Four types of defense mechanisms could be employed to help you adapt to a new culture.
C.
You'd devise some defense mechanisms to protect yourself from the effects of culture shock.
【单选题】The word 'subjects' (line 1, Para. 4 ) refers to ______.
A.
the performance tests used in the study of sleep deficit
B.
special branches of knowledge that are being studied
C.
people whose behaviors or reactions are being studied
D.
the psychological consequences of sleep deficit
【单选题】下列程序中函数reverse()的功能是将a所指数组中的内容进行逆置。 #include<stdio.h> void reverse(int a[], int n) { int i,t; for(i=0;i<n/2;i++) { t=a[i];a[i]=a[a-1-i];a[n-1-i]=t;} main() { int b[10]={1,2,3,4,5,6,7,8,9,10};int i,s=0...