设数组data[0…m]作为循环队列sq的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为()。 A: sq↑.front:=sq↑.front+1; B: sq↑.front:=(sq↑.front+1)%maxsize; C: sq↑.rear:=(sq↑.rear+1)%maxsize; D: sq↑.front:=(sq↑.front+1)%(maxsize+1);
设数组data[0…m]作为循环队列sq的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为()。 A: sq↑.front:=sq↑.front+1; B: sq↑.front:=(sq↑.front+1)%maxsize; C: sq↑.rear:=(sq↑.rear+1)%maxsize; D: sq↑.front:=(sq↑.front+1)%(maxsize+1);
写出下列程序片段的运行结果_________。 int sq(int i) { int a; a=i*i; return(a); } int main() { int n; n=2; printf("%d\n",sq(n)); }
写出下列程序片段的运行结果_________。 int sq(int i) { int a; a=i*i; return(a); } int main() { int n; n=2; printf("%d\n",sq(n)); }
调用fun函数,求长方体的表面积。按照要求补充完整以下程序。 #include int fun(int x,int y) { int z; z=x*y; _____①_____; } void main() { int sq,a,b,c; //sq表示长方体的表面积,a为长,b为宽,c为高 scanf("%d,%d,%d",&a,&b,&c); sq=(fun(a,b)+_____②_____)*2; //调用fun()函数,按照(长*宽+长*高+宽*高)*2求表面积,否则不得分! printf("%d ",sq); }
调用fun函数,求长方体的表面积。按照要求补充完整以下程序。 #include int fun(int x,int y) { int z; z=x*y; _____①_____; } void main() { int sq,a,b,c; //sq表示长方体的表面积,a为长,b为宽,c为高 scanf("%d,%d,%d",&a,&b,&c); sq=(fun(a,b)+_____②_____)*2; //调用fun()函数,按照(长*宽+长*高+宽*高)*2求表面积,否则不得分! printf("%d ",sq); }
It was () who first introduced the sonnet into English literature. A: Thomas Loge B: Thomas Wyatt C: Thomas Campion D: Thomas Kyd
It was () who first introduced the sonnet into English literature. A: Thomas Loge B: Thomas Wyatt C: Thomas Campion D: Thomas Kyd
() made blank verse the principal vehicle of expression in drama. A: Thomas Kyd B: Christopher Marlowe C: Philip Sidney D: Robert Greene
() made blank verse the principal vehicle of expression in drama. A: Thomas Kyd B: Christopher Marlowe C: Philip Sidney D: Robert Greene
The Tragic History of Doctor Faustus is one of ______ ‘s best plays. A: Shakespeare B: Thomas Kyd C: Ben Jonson D: Christopher Marlowe
The Tragic History of Doctor Faustus is one of ______ ‘s best plays. A: Shakespeare B: Thomas Kyd C: Ben Jonson D: Christopher Marlowe
【单选题】列双音节词语注明声调: (1)阴平(2)阳平(3)上声(4)去声(5)轻声 道德朋友礼貌局面篱笆 A. (5)(4)(2)(2)(3)(4)(2)(4)(2)(5) B. (4)(2)(2)(5)(3)(4)(2)(4)(2)(5) C. (4)(2)(2)(5)(3)(4)(4)(2)(5)(2) D. (5)(4)(2)(2)(4)(3)(2)(4)(2)(5)
【单选题】列双音节词语注明声调: (1)阴平(2)阳平(3)上声(4)去声(5)轻声 道德朋友礼貌局面篱笆 A. (5)(4)(2)(2)(3)(4)(2)(4)(2)(5) B. (4)(2)(2)(5)(3)(4)(2)(4)(2)(5) C. (4)(2)(2)(5)(3)(4)(4)(2)(5)(2) D. (5)(4)(2)(2)(4)(3)(2)(4)(2)(5)
”sq m”is the abbreviation of square meter(s).( )
”sq m”is the abbreviation of square meter(s).( )
It was _______ who made blank verse the principle vehicle of expression in drama. A: John Lyly B: Thomas Kyd C: Christopher Marlowe D: George Peele
It was _______ who made blank verse the principle vehicle of expression in drama. A: John Lyly B: Thomas Kyd C: Christopher Marlowe D: George Peele
【单选题】A=[3 4 5;4 2 6];B=[4 2 7];C=[A;B] 运行的结果为 A. [3 4 5 4 2 6 4 2 7] B. [3 4 4;4 2 2;5 6 7] C. [3 4 5;4 2 6;4 2 7] D. [4 2 7;3 4 5;4 2 6]
【单选题】A=[3 4 5;4 2 6];B=[4 2 7];C=[A;B] 运行的结果为 A. [3 4 5 4 2 6 4 2 7] B. [3 4 4;4 2 2;5 6 7] C. [3 4 5;4 2 6;4 2 7] D. [4 2 7;3 4 5;4 2 6]