下载此beplayapp体育下载

(完整版)C语言英文试题.doc


beplayapp体育下载分类:IT计算机 | 页数:约3页 举报非法beplayapp体育下载有奖
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该beplayapp体育下载所得收入归上传者、原创者。
  • 3.下载的beplayapp体育下载,不会出现我们的网址水印。
beplayapp体育下载列表 beplayapp体育下载介绍
: .
#
2009-2010 学年丄学期 C语言程序设计(C) 课程考试试题
拟题学院(系): 信息科学与技术学院 拟题人:
适 用专业: 信息08级,通信08级 校对人:
(答案写在答题纸上,写在试题纸上无效)
I .Choose the right answer (30 marks).
1. □[p
A. 'M' - 'N'
B. 3
B) M - N
D) 1
Determi ne the output of the followi ng stateme nt: prin tf("%d", 'M' - 'N');
2. Which of following is an illegal user-define symbol?
A. scanf B) _123 C)C$ D)var
3. Which stateme nt is not a C stateme nt?
C) {int a; a++;} B) z = 20, a += c;
C) ; D) { ; }
4. Which operator can only be applied to in tegers?
A) %= B) /
C)= D) <=
5. Determi ne the output of the followi ng program.
void mai n()
{
int y=8,x=7;
prin tf("%d %d\n", ++x, y++);
}
A) 7,8 B) 9,7 C) 8,8 D) 8,9
6. Choose the wrong definition for the character strings.
A) char str[4]= QUST”; B) char str[]= QUST”;
C) char *str= QUST”; D) char str[]={ Q' U ‘‘S' :T' :\0' };
7. Determine the output of the following program.
void mai n()
{
int i, j, m = 0;
for(i=1 ; i<=15; i+=5)
for(j=3 ; j<=19 ; j+=3)
m++;
} printf("%d\n",m);
A) 12 B) 15 C) 18 D) 25
8. For the 2-dimensional array int b[][3]={{1,0,-1},{10,12},{8,3,9},{0}}; the value for the b[2][1] is .
A) 8 B) 5 C)3 D) 12
9. In the statement while(x), choose the equivalent expression for the x. A)x==0 B)x==1 C)x!=1 D) x!=0
10. For the following codes: int z=5, *p=

(完整版)C语言英文试题 来自beplayapp体育下载www.apt-nc.com转载请标明出处.

相关beplayapp体育下载 更多>>
非法内容举报中心
beplayapp体育下载信息