CH3CH2CH2CH2OH于140℃在浓硫酸作用下,生成()?A、CH3(CH2)3OCH3(CH2)3B、CH3CH2OCH3CH2C、CH3(CH2)2OCH3(CH2)2D、CH3OCH3
CH3CH2CH2CH2OH于140℃在浓硫酸作用下,生成()?
- A、CH3(CH2)3OCH3(CH2)3
- B、CH3CH2OCH3CH2
- C、CH3(CH2)2OCH3(CH2)2
- D、CH3OCH3
相关考题:
执行下面的程序,输出的结果是 ______ 。 Private Sub Command1_Click() ch $ = "Welcome to China!" n = Len(ch $ ) For i =1 To n-1 s$ =Mid(ch$ ,i,1) If s$ ="o" Then m=m + 1 Next i Print m End SubA.1B.2C.8D.0
( 14 )执行以下程序后输出的是Private Sub Command1_Click()Ch$= ” AABCDEFGH ”Print Mid(Righ(ch$,6),Len(left(ch$,4)),2)End SubA)CDEFGHB)ABCDC)FGD)AB
( 30 )下面程序的输出结果是Private Sub Command1_Click()ch$= ” ABCDEF ”proc chPrint chEnd SubPrivate Sub proc(ch As String)S= ””For k=Len(ch) To 1 Step-1s=sMid(ch,k,1)Next kch=sEnd SubA ) ABCDEFB ) FEDCBAC ) AD ) F
把窗体的KeyPreview属性设置为Tree,然后编写如下事件过程 Private Sub Form_KeyPress(KeyAscii As Integer) Dim ch As String ch=Chr(KeyAscii) KeyAscii=Asc(UCase(ch)) Print Chr(KeyAscii+2) End Sub 程序运行后,按键盘上的“A”键,则在窗体上显示的内容是______。A. AB.BC.CD.D
把窗体的KeyPreview属性设置为True,然后编写如下事件过程Private Sub Form_KeyPress(KeyAscii As Integer)Dim ch As Stringch = Chr(KeyAscii)KeyAscii = Asc(UCase(ch))Print Chr(KeyAscii + 2)End Sub程序运行后,按键盘上的“A”键,则在窗体上显示的内容是( )。A.AB.BC.CD.D
下列程序实现的功能是:在窗体上单击时,将在窗体上输出c:=a1.txt文件中的所有小写字母。Private Sub Form. Click()Dim Ch As String * 1Open "c:\a1.txt" For Input As 10Do While【 】Ch= Input(1, 10)If 【 】ThenPrint Ch;End IfLoop【 】End Sub
下面程序的运行结果是( )。include define SlZE 12 main() {char s[SIZE];int i;for(i=0 下面程序的运行结果是( )。include<stdio.h>define SlZE 12main(){char s[SIZE];int i;for(i=0;i<SIZE;i++) s[i]='A'+i+32;sub(s,5,SIZE-1);for(i=0;i<SIZE;i++)printf("%c",s[i]);printf("\n");}sub(char *a,int t1,int t2){ char ch;while(t1<t2){ ch=*(a+t1);*(a+t1)=*(a+t2);*(a+t2)=ch;t1++;t2--;}}
下列程序的功能是把文件C:\a1.txt复制成C:\a2.txt,请填空。Private Sub Form. C1ick()Dim ch As StringOpen "C:\a1.txt" For【 】Open "C:\a2.txt" For【 】Do While Not【 】ch=Input(1,10)Print 20,ch;LoopClose 10,20End Sub
在窗体上画一个名称为Text1的文本框,然后编写如下事件过程: Private Sub Text1_ KeyPress (KeyAscii As Integer) Dim ch As String ch = Chr (KeyAscii) KeyAscii = Asc (UCase(ch)) TextText = String(1, KeyAscii) End Sub程序运行后,使文本框拥有焦点,然后按键盘上的B键,则在文本框中显示的内容是 ______。A.bB.bbC.BBD.B
设窗体上有一个文本框Text1和一个命令按钮Command1,并有下列事件过程: Private Sub Command1_Click() Dim s As String,Ch As String s="" For k=1 To Len(Text1) ch=Mid(Text1,k,1) s=ch+s Next k Text1.Text=s End Sub 程序执行时,在文本框中输入“Basic”,然后单击命令按钮,则Text1中显示的是( )。A.BasicB.cisaBC.BASICD.CISAB
执行下面的程序,单击命令按钮后,窗体中的输出结果是 ______。 Private Sub Cotomand1_Click() Ch$="Welcome Home!" a=Len(ch$) For i= 1 To a b$ = Mid(ch$, i 1) If b$ = "m" Then m = m + 1 Next 1 Print m End SubA.2B.3C.1D.0
若有以下变量和函数说明:includecharCh='*';void sub(int x,int y,char ch,double* 若有以下变量和函数说明: #include<iostream.h> charCh='*'; void sub(int x,int y,char ch,double*Z) { switch(ch) { case'+':*Z=x+y;break; case'-':*Z=x-y;break: case'*':*Z=x*y;break; case'/':*z=x/y;break: } } 以下合法的函数调用语句是( )。A.sub(10,20,Ch,y);B.sub(1.2+3,2*2,'+',Z);C.sub(sub(1,2,'+',y),sub(3,4'+',x),'-',y);D.sub(a,b,x,ch);
窗体上画一个名称为Text1的文本框,然后编写如下事件过程: Private Sub Form. Load() Show TextSetFocus End Sub Private Sub Text1_ KeyPress (KeyAscii As Integer) Dim ch As String ch = Chr (KeyAscii) KeyAscii = Asc(UCase(ch)) Pint Chr(KeyAscii + 4) End Sub程序运行后,在文本框中输入abcde,则在窗体上显示的内容是______。A.abcdeB.efghiC.EFGHID.ABCDE
执行以下程序后输出的是。 Private Sub Commandl_Click ch$ = "ABCDEFGH": Print Mid(Right(ch$, 6), Len(Left(ch$, 4)), 2) End Sub A.CDEFGH B.ABCD C.FG D.AB
写出程序运行的结果Public class BasePublic virtual string Hello() {return “Base”;}Public class Sub:BasePublic override string Hello() {return “Sub”;}1. Base b = new Base(); b.Hello;2. Sub s = new Sub(); s.Hello;3. Base b = new Sub (); b.Hello;4. Sub s = new Base(); s.Hello;
下面程序的输出结果是。 Private Sub Commandl_Click ch$=“ABCDEF” proc ch:Print ch End Sub Private Sub proc(ch As Stnng) s=“” For k=Len(ch) TO 1 Step -1 s=sMid(ch,k,1) Next k ch=s End Sub A.ABCDEF B.FEDCBA C.A D.F
下面程序的运行结果是#include #define SIZE 12sub(char *a,int t1,int t2) { char ch; while(t1t2) { ch=*(a+t1); *(a+t1)=*(a+t2); *(a+t2)=ch; t1++;t2--; }} main() { char s[SIZE]={’A’,’B’,’C’,’D’,’E’,’F’,’G’,’H’,’I’,’J’,’K’,’L’}; int i; sub(s,7,SIZE-1); for(i=0;iSIZE;i++) printf("%c ",s[i]); printf("\n");}
单选题干熄焦循环气体的主要成分为N2,其他成分还有H2、CH4、CO等气体,其中属于不可燃组分是( )。ApNsub2/sub /pBpHsub2/sub/pCpCHsub4/sub/pDCO
单选题煤矿井下的有害气体主要是由()、CO2、H2S、NO2、H2、NH3气体组成。ACOBpCHsub4/sub、SOsub2/sub/pCpSOsub2/sub、CO/pDpCO、CHsub4/sub、SOsub2/sub/p
单选题酶促反应速度(v)达到最大反应速度(Vmax)的80%时,底物浓度[S]为Ap1Ksubm/sub/pBp2Ksubm/sub/pCp3Ksubm/sub/pDp4Ksubm/sub/pEp5Ksubm/sub/p
单选题设有函数定义:void sub(int k,char ch){…}则以下对函数sub的调用语句中,正确的是( )。Asub(1,97);Bsub(2,'97');Ch=sub(3,'a');Dsub(4,a);
单选题A pIsub2/sub=Isub3/sub/pB pIsub2/sub=4Isub3/sub/pC pIsub2/sub=2Isub3/sub/pD pIsub3/sub=4Isub2/sub/p