【单选题】【消耗次数:1】
若SUBSTR(S,i,k)表示求S中从第i个字符开始的连续k个字符组成的子串的操作,则对于S=“Beijing&Nanjing”,SUBSTR(S,4,5)=( )。
“ijing”
“jing&”
“ingNa”
“ing&N”
参考答案:
复制
纠错
相关题目
【单选题】 若INDEX(S,T)表示求T在S中的位置的操作,则对于S=“Beijing&Nanjing”,T=“jing”,INDEX(S,T)=( )。
①  2
②  3
③  4
④  5
【单选题】 若REPLACE(S,S1,S2)表示用字符串S2替换字符串S中的子串S1的操作,则对于S=“Beijing&Nanjing”,S1=“Beijing”,S2=“Shanghai”,REPLACE(S,S1,S2)=( )。
①  “Nanjing&Shanghai”
②  “Nanjing&Nanjing”
③  “ShanghaiNanjing”
④  “Shanghai&Nanjing”
【单选题】 字符串It\s\40an\40apple.\n中包含有( )个字符。
①  21
②  18
③  16
④  15
【单选题】 字符串It\s\40an\40apple.\n中包含有( )个字符。
①  21
②  18
③  16
④  15
【单选题】 在长度为n的字符串S的第i个位置插入另外一个字符串,i的合法值应该是( )。
①  i>0
②  i≤n
③  1≤i≤n
④  1≤i≤n+1
【单选题】 从一个字符串中的第3个字符开始,获取5个字符,应使用()。
①  Len函数
②  .Mid函数
③  Left函数
④  Right函数
【单选题】 设有一个字符串S=Welcome to Shenyang!,问该串的长度为( )。
①  18
②  19
③  20
④  21
【判断题】 串中任意个字符组成的子序列称为该串的子串
①  正确
②  错误
【单选题】 设有一个字符串S=abcdefgh,问该串的最大子串个数为( )。
①  8
②  36
③  37
④  9
【单选题】 设有以下字符串定义,则数组s1和s2( )。char s1[]={ S ,t, r ,i,n, gchar s2[]= String
①  长度相同,但内容不同
②  长度相同,内容也相同
③  长度不同,但内容相同
④  长度不同,内容也不同
随机题目
【单选题】 在乙烯直接氧化过程中,加入( )的主要作用是缩小原料混合气的爆炸范围,同时可以移走部分反应热。
①  抑制剂
②  阻聚剂
③  致稳剂
④  防腐剂
【单选题】 在碳四抽提生产丁二烯的萃取精馏操作过程中,溶剂进料温度一般比塔顶温度高( )。
①  3-5℃
②  2-8℃
③  2-5℃
④  5-10℃
【单选题】 在工业生产中乙腈法生产丁二烯时,加水量以( )为宜。
①  5%-10%
②  5%-8%
③  6%-10%
④  8%-12%
【单选题】 工业上获取丁二烯的主要方法有:从烃类裂解制乙烯的联产物碳四馏分分离得到、由丁烷或丁烯催化脱氢法制取和( )氧化脱氢法制取三种。
①  二丁烯
②  乙烯
③  丁烯
④  戊烷
【多选题】 辅助视图包括
①  后视图
②  向视图
③  局部视图
④  斜视图
【多选题】 斜视图为物体倾斜部分向辅助投影面投射所得到的图形,辅助投影面建立的原则
①  平行于物体倾斜部分
②  垂直于某一投影面
③  平行于某一基本投影面
④  垂直于物体倾斜部分
【多选题】 物体的视图有基本视图与辅助视图,基本视图除主视图、俯视图、左视图外还包括
①  右视图
②  向视图
③  仰视图
④  后视图
【单选题】 mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:minor-fareast; mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Times New Roman mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language: ZH-CN;mso-bidi-language:AR-SA;mso-bidi-font-weight:bold">画局部视图时,应在基本视图上标注出
①  投射方向
②  名称
③  投射方向和相应字母
④  不标注
【单选题】 化工制图中图线宽度分粗、中粗、细三种,若粗实线的宽度为d,则细实线的宽度为( )。
①  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} 2d
②  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} d
③  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} 1/2d
④  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} 1/4d
【单选题】 细点划线和双点划线的首末两端应是 而不是 。请选择以下选项的正确顺序:1、短画 2、长画 3、实画 4、空档
①  3,4
②  2,1
③  1,3
④  1,4