有以下程序:#include [stdio.h] main() { FILE *fp; int a[10]={1,2,3}, i, n; fp = fopen("d1.dat", "w"); for (i=0; i<3; i++) fprintf(fp, "%d", a[i]); fprintf(fp, "\n"); fclose(fp); fp = fopen("d1.dat", "r"); fscanf(fp, "%d", &n); fclose(fp); printf("%d\n", n); }程序的运行结果是()。[/i] A: 321 B: 12300 C: 1 D: 123
有以下程序:#include [stdio.h] main() { FILE *fp; int a[10]={1,2,3}, i, n; fp = fopen("d1.dat", "w"); for (i=0; i<3; i++) fprintf(fp, "%d", a[i]); fprintf(fp, "\n"); fclose(fp); fp = fopen("d1.dat", "r"); fscanf(fp, "%d", &n); fclose(fp); printf("%d\n", n); }程序的运行结果是()。[/i] A: 321 B: 12300 C: 1 D: 123
有以下程序:#include [stdio.h]main(){ FILE *fp; int a[10]={1,2,3}, i, n;fp = fopen("d1.dat", "w");for (i=0; i<3; i++) fprintf(fp, "%d", a[i]);fprintf(fp, "\n");fclose(fp);fp = fopen("d1.dat", "r");fscanf(fp, "%d", &n);fclose(fp);printf("%d\n", n);}程序的运行结果是()。[/i] A: 321 B: 12300 C: 1 D: 123
有以下程序:#include [stdio.h]main(){ FILE *fp; int a[10]={1,2,3}, i, n;fp = fopen("d1.dat", "w");for (i=0; i<3; i++) fprintf(fp, "%d", a[i]);fprintf(fp, "\n");fclose(fp);fp = fopen("d1.dat", "r");fscanf(fp, "%d", &n);fclose(fp);printf("%d\n", n);}程序的运行结果是()。[/i] A: 321 B: 12300 C: 1 D: 123
若有定义FILE *fp; 以“只读”方式打开文件C:\test\myfile.txt的正确语句是 A: fp = fopen("C:\test\myfile.txt","r"); B: fp = fopen("C:\\test\\myfile.txt","r"); C: fp = fopen("C:\test\myfile.txt",'r'); D: fp = fopen("C:\\test\\myfile.txt",'r');
若有定义FILE *fp; 以“只读”方式打开文件C:\test\myfile.txt的正确语句是 A: fp = fopen("C:\test\myfile.txt","r"); B: fp = fopen("C:\\test\\myfile.txt","r"); C: fp = fopen("C:\test\myfile.txt",'r'); D: fp = fopen("C:\\test\\myfile.txt",'r');
【单选题】电桥平衡条件是: A. R 1 R 3 = R 2 R 4 B. R 1 R 4 = R 2 R 3 C. R 1 R 2 = R 3 R 4 D. R 1> R 4 , R 2> R 3
【单选题】电桥平衡条件是: A. R 1 R 3 = R 2 R 4 B. R 1 R 4 = R 2 R 3 C. R 1 R 2 = R 3 R 4 D. R 1> R 4 , R 2> R 3
若要用只读方式打开d:\a.txt文件,则需要执行() A: FILE *fp;fp=fopen(d:\a.txt,r); B: FILE *fp;fp=fopen(d:\\a.txt,r); C: FILE *fp;fp=fopen(d:\a.txt,r+); D: FILE *fp;*fp=fopen(d:\a.txt,w)
若要用只读方式打开d:\a.txt文件,则需要执行() A: FILE *fp;fp=fopen(d:\a.txt,r); B: FILE *fp;fp=fopen(d:\\a.txt,r); C: FILE *fp;fp=fopen(d:\a.txt,r+); D: FILE *fp;*fp=fopen(d:\a.txt,w)
混淆矩阵中的TP=16,FP=12,FN=8,TN=4,精确率是 A: 1/4 B: 1/2 C: 4/7 D: 2/3
混淆矩阵中的TP=16,FP=12,FN=8,TN=4,精确率是 A: 1/4 B: 1/2 C: 4/7 D: 2/3
以只读方式打开一个已存在的文本文件ab.txt,以下选项中正确的是______。A. FILE *fp;fp=fopen("ab.txt","a");B. FILE *fp;fp=fopen("ab.txt","w");C. FILE *fp;fp=fopen("ab.txt","r");D. FILE *fp;fp=fopen("ab.txt","rb+"); A: FILE *fp;fp=fopen("ab.txt","a"); B: FILE *fp;fp=fopen("ab.txt","w"); C: FILE *fp;fp=fopen("ab.txt","r"); D: FILE *fp;fp=fopen("ab.txt","rb+");
以只读方式打开一个已存在的文本文件ab.txt,以下选项中正确的是______。A. FILE *fp;fp=fopen("ab.txt","a");B. FILE *fp;fp=fopen("ab.txt","w");C. FILE *fp;fp=fopen("ab.txt","r");D. FILE *fp;fp=fopen("ab.txt","rb+"); A: FILE *fp;fp=fopen("ab.txt","a"); B: FILE *fp;fp=fopen("ab.txt","w"); C: FILE *fp;fp=fopen("ab.txt","r"); D: FILE *fp;fp=fopen("ab.txt","rb+");
有以下程序:#include [stdio.h] main() { FILE *fp; int a[10]={1,2,3}, i, n; fp = fopen("d1.dat", "w"); for (i=0; i<3; i++) fprintf(fp, "%d", a[i]); fprintf(fp, "\n"); fclose(fp); fp = fopen("d1.dat", "r"); fscanf(fp, "%d", &n); fclose(fp); printf("%d\n", n); }程序的运行结果是()。[/i]
有以下程序:#include [stdio.h] main() { FILE *fp; int a[10]={1,2,3}, i, n; fp = fopen("d1.dat", "w"); for (i=0; i<3; i++) fprintf(fp, "%d", a[i]); fprintf(fp, "\n"); fclose(fp); fp = fopen("d1.dat", "r"); fscanf(fp, "%d", &n); fclose(fp); printf("%d\n", n); }程序的运行结果是()。[/i]
已知x(n)={1, 2, 3},y(n)={1, 2, 1},则x(n)*y(n)=________。(下划线表示n=0) A: {1, 4, 8, 8, 3} B: {1, 4, 8, 8, 3} C: {1, 4, 8, 8, 3} D: {1, 4, 8, 8, 3}
已知x(n)={1, 2, 3},y(n)={1, 2, 1},则x(n)*y(n)=________。(下划线表示n=0) A: {1, 4, 8, 8, 3} B: {1, 4, 8, 8, 3} C: {1, 4, 8, 8, 3} D: {1, 4, 8, 8, 3}
在稳态导热中,已知三层平壁的内外表面温度差为120℃,,则各层的温度降20℃、40℃、60℃,则三层热阻之比为 。 A: Rλ1 、Rλ2、 Rλ3=1:2:2 B: Rλ1 、Rλ2、 Rλ3=1:2:3 C: Rλ1 、Rλ2、 Rλ3=1:2:4 D: Rλ1 、Rλ2、 Rλ3=1:2:5
在稳态导热中,已知三层平壁的内外表面温度差为120℃,,则各层的温度降20℃、40℃、60℃,则三层热阻之比为 。 A: Rλ1 、Rλ2、 Rλ3=1:2:2 B: Rλ1 、Rλ2、 Rλ3=1:2:3 C: Rλ1 、Rλ2、 Rλ3=1:2:4 D: Rλ1 、Rλ2、 Rλ3=1:2:5