网友您好, 请在下方输入框内输入要搜索的题目:
有 以下程序
void f(int b[])
{ int i;
for(i=2;i<6;i++) b[i]*=2;
}
main( )
{ int a[10]={1,2,3,4,5,6,7,8,9,10},i;
f(a);
for(i=0;i<10;i++) printf("%d",a[i]);
}
程序运行后的输出结果是
A)1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ,
B)1 , 2 , 6 , 8 , 10 , 12 , 7 , 8 , 9,10
C)1 , 2 , 3 , 4 , 10 , 12 , 14 , 16 , 9 , 10 ,
D)1 , 2 , 6 , 8 , 10 , 12 , 14 , 16 , 9 , 10 ,
有以下程序
struct S{ int n; int a[20]; };
void f(int *a,int n)
{ int i;
for(i=0;i<n-1;i++) a[i]+=i;
}
main( )
{ int i; struct S s={10,{2,3,1,6,8,7,5,4,10,9}};
f(s.a,s.n);
for(i=0;i<s.n;i++) printf("%d",s.a[i]);
}
程序运行后的输出结果是
A)2,4,3,9,12,12,11,11,18,9,
B)3,4,2,7,9,8,6,5,11,10,
C)2,3,1,6,8,7,5,4,10,9,
D)1,2,3,6,8,7,5,4,10,9,
计算。
1/9+5/9+2/9= 6/11+3/11+1/11=
1/4+1/4+3/4= 7/10-1/10-3/10=
11/6-7/6-1/6= 1-2/3-1/3=
1/9+5/9+2/9=8/9 6/11+3/11+1/11=10/11
1/4+1/4+3/4=5/4 7/10-1/10-3/10=3/10
11/6-7/6-1/6=1/2 1-2/3-1/3=0
在○中填入“<”“>”“=”。
4/5-2/5○9/10-7/10 5/8-3/8○3/4-1/4
3/12+5/12○1/6+3/6 3/7+4/7○4/11+7/11
4/5-2/5>9/10-7/10 5/8-3/8<3/4-1/4
3/12+5/12=1/6+3/6 3/7+4/7=4/11+7/11
(1)0×(-2012); (2)(-8)×1.25 ;
(3)7/10×(-3/14)
(4)(-3/16)×(-8/9)
(5)7.5×(-8.2)×0×(-19.1)
(6)(-14/3)×5/7
(7)(-0.12)×1/12×(-100)
(8)7×(-1+3/14)
(1)0 (2)-10 (3) -3/20 (4)1/6
(5) 0 (6)-10/3 (7) 1 (8)-11/2
课标高一化学必修 1 第三章单元测试题(B)(金属及其化合物)班别 学号 姓名 评分_ _相对原子质量:3 7 6 O 16 l 择题:(本题包括 10 小题,共 50 分。)题号 1 2 3 4 5 6 7 8 9 10 11 12 13答案二 下列各组溶液,不另加其他试剂就可以将它们分别开的是A, , , , e,g 四种金属中的两种组成的混合物 10g,与足量的盐酸反应产生的氢气在标况下为 ,则混合物中一定含有的金属是A B C D等质量的金属镁分别放在(1)氧气, (2)空气, (3)二氧化碳气体中完全燃烧,得到的固体质量分别是 2,W 3,三者的大小关系是AW 13 B 2= CW 32 DW 314钠与水反应的现象和钠的下列性质无关的是A钠的熔点较低 B钠的密度小于水 C钠的硬度较小 D钠的还原性强5下列灭火剂能用于扑灭金属钠着火的是A干冰灭火剂 B黄沙 C干粉灭火剂 D泡沫灭火剂6把等量金属钠进行下列实验,其中生成氢气最多的是A把钠放入足量稀盐酸中 B把钠放入足量水中C把钠放入硫酸铜溶液中 D将钠用铝箔包好并刺些小孔,再放入水中7某无色溶液能与镁反应放出氢气,此溶液中可能大量共存的离子组是AH +, BK +, +, D+, H+, 两份铝片,第一份与足量盐酸反应,第二份与足量烧碱溶液反应,同温同压下放出相同体积的气体,则两份铝片的质量之比为A1:1
计算:
(1)(-8)-(-1) (2)45+(-30)
(3)-1.5-(-11.5) (4)-1/4-(-1/2)
(5)15-[1-(-20-4)] (6)-40-28-(-19)+(-24)
(7)22.54+(-4.4)+(-12.54)+4.4
(8) (2/3-1/2)-(1/3-5/6)
(9)2.4-(-3/5)+(-3.1)+4/5 (10)(-6/13)+(-7/13)-(-2)
(11)3/4-(-11/6)+(-7/3)
(12)11+(-22)-3×(-11)
(13)(-0.1)÷1/2×(-100)
(14)(-3/4)×(-2/3 - 1/3) ×0
(15)(-2)3-32
(16)23÷[(-2)3-(-4)]
(17)(3/4-7/8)÷(-7/8)
(18)(-60)×(3/4+5/6)
(1)(-8)-(-1)=-7
(2)45+(-30)=15
(3)-1.5-(-11.5)=10
(4)-1/4-(-1/2)=1/4
(5)15-[1-(-20-4)]=-10 (6)-40-28-(-19)+(-24)=-73
(7)22.54+(-4.4)+(-12.54)+4.4=10
(8) (2/3-1/2)-(1/3-5/6)=-1
(9)2.4-(-3/5)+(-3.1)+4/5=0.7 (10)(-6/13)+(-7/13)-(-2)=1
(11)3/4-(-11/6)+(-7/3)=1/4
(12)11+(-22)-3×(-11)=22
(13)(-0.1) ÷1/2×(-100)=20
(14)(-3/4) ×(-2/3 - 1/3) ×0=0
(15)(-2)3-32=-17
(16)23÷[(-2)3-(-4)]=-23/4
(17)(3/4-7/8) ÷(-7/8)=1/7
(18)(-60) ×(3/4+5/6)=-95
下面程序段是计算()公式的。s=0:t=1Fori=1To10t=t*is=s+tNexti
A.s=1+2+3+4+5+6+7+8+9+10
B.s=1*2*3*4*5*6*7*8*9*10
C.s=1!+2!+3!+4!+5!+6!+7!+8!+9!+10!
D.s=1+2*3+3*4+4*5+5*6+6*7+7*8+8*9+9*10
当执行下面的语句定义一维数组a后,此数组的所有元素为 ( ) inta[10];
A.a[1],a[2],a[3],a[4],a[5],a[6],a[8],a[9],a[10],a[10]
B.a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9]
C.a[0],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10]
D.a[1],a[2],a [3],a[4],a [5],a [9],a [7],a [8],a [9],a [10],a [11]
A.1、2、3、4、5、6、7、8、9、12、13、14
B.1、2、3、4、5、6、7、8、9、10、11、12、13、14
C.1、2、7、8、9、10、11、12、13、14
D.1、2、3、4、5、10、11、12、13、14
E.1、2、3、4、5、6、7、8、9、10、11
有以下程序:
程序运行后的输出结果是( )。
A.2,3,1,6,8,7,5,4,10,9,
B.3,4,2,7,9,8,6,5,11,10,
C.2,4,3,9,12,12,11,11,18,9,
D.1,2,3,6,8,7,5,4,10,9,
题目中定义了一个结构体类型s,然后定义了一个结构体变量s并初始化,执行f函数后,将s中元素a的每个元素都加上i,这里需要注意最后一个元素没有加i,所以最终答案为C选项。
更多 “新课标高一化学必修1第三章单元测试题(B)【景云】” 相关考题
- 单选题Which statement is true about using Microsoft Windows Cluster as a platform for Mysql?()A It implements High Availability by using the .NET Connector's' load balancing capabilitiesB It is shared-nothing architectureC It is provided by means of IP- level disk replicationD It relies on the shared disk architecture being visible to both servers
- 心血虚证与心阴虚证的相同表现有()A、心悸B、心烦C、多梦D、面色萎黄E、脉细
- 单选题You want to use RMAN to create compressed backups.Which statement is true about the compression algorithms that RMAN can use?()A The BZIP2 compression algorithm consumes more CPU resources than the ZLIB compression algorithm.B The ZLIB compression algorithm consumes more CPU resources than the BZIP2 compression algorithm.C The ZLIB compression algorithm provides maximum compression and produces smaller backups than the BZIP2 compression algorithm.D Only the BZIP2 compression algorithm can be used to make compressed backups to disk.
- 多选题You want to perform an RMAN backup of database as a copy. Which two factors will you consider while performing the backup operation?()AThe backup as copy can only be taken to diskBThe backup as copy can only be taken to tapeCBackup can be performed only when the instance is shutdownDBackup will constitute all used and unused blocks in the database
- 治肝郁气滞所致胸闷胁胀的药物是()A、紫苏B、荆芥C、薄荷D、防风E、升麻
- 多选题Which three methods will show the storage engine for the Country table?()AABBCCDDEE
- 下列哪一项不会出现便秘()A、热结肠道,腑气不通B、大肠湿热,传导不利C、阴血不足,肠失濡润D、阳虚寒凝,肠道气滞
- 在十二经脉走向中,足之三阴是()A、从脏走手B、从头走足C、从足走胸D、从足走腹E、从手走头
- 直接从事中药饮片技术工作的应当是()A、临床药学专业技术人员B、中医学专业技术人员C、药学专业技术人员D、医学专业技术人员E、中药学专业技术人员
- 少阳病证的临床表现有()A、口苦咽干B、往来寒热C、胸胁苦满D、心烦喜呕E、脉紧