首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
有如下程序段: Dim str As String *10 Dim i Str1="abcdefg" i=12 len1=Len(i) str2=Right(str1,4) 执行后,len1和str2的返回值分别为( )。
有如下程序段: Dim str As String *10 Dim i Str1="abcdefg" i=12 len1=Len(i) str2=Right(str1,4) 执行后,len1和str2的返回值分别为( )。
admin
2013-01-20
9
问题
有如下程序段:
Dim str As String *10
Dim i
Str1="abcdefg"
i=12
len1=Len(i)
str2=Right(str1,4)
执行后,len1和str2的返回值分别为( )。
选项
A、12,abcd
B、10,bcde
C、2,defg
D、0,cdef
答案
C
解析
Len()是计算字符表达式的字符个数,i为12,因此长度是2。Right()表示从字符串右起取所指定的字符数,本题为从右取4个字符,为"defg"。因此选项C正确。
转载请注明原文地址:https://kaotiyun.com/show/CVup777K
本试题收录于:
二级Access题库NCRE全国计算机二级分类
0
二级Access
NCRE全国计算机二级
相关试题推荐
下列有关模板的叙述中,正确的是()。
请使用VC6或使用【答题】菜单打开考生文件夹proj1下的工程proj1,该工程中包含程序文件main.cpp,其中有类Clock(“时钟”)的定义和主函数main的定义。程序中位于每个“//ERROR****found****”之后的一行语句有错误,请加
下列关于线性链表的描述中,正确的是()。I、只含有一个指针域来存放下一个元素地址II、指针域中的指针用于指向该结点的前一个或后一个结点(即前件或后件)III、结点由两部分组成:数据域和指针域。
下列关于派生类构造函数和析构函数的叙述中,错误的是
下列描述中,属于面向对象思想主要特征的是
由于常对象不能被更新,因此()。
如果一个模板声明列出了多个参数,则每个参数之间必须使用逗号隔开,每个参数都必须使用()关键字来修饰。
从上一题建立的视图中查询使用数量最多的2个零件的信息,应该使用的SQL语句是SELECT*【】 2FROMitem_view【】数量DESC。
在结构化方法中,软件功能分解属于下列软件开发中的阶段是______。
设一个学生关系为S(学生号,姓名),课程关系为C(课程号,课程名),选课关系为x(学生号,课程号,成绩),求出所有选课的学生信息的运算表达式为______与______的自然连接。
随机试题
Theautomobilehasgivenpeopleincrediblefreedomofmovement.Itenablesthemtodecidewheretheywanttogoandwhen.Theau
在环境温度低于20℃时,人体散热的方式主要有()
某市卫生局经调查取证,认定某公司实施了未经许可擅自采集血液的行为,依据有关法律和相关规定,决定取缔该公司非法采集血液的行为,同时没收5只液氮生物容器。下列哪些说法是正确的?(2008—卷二—89,多)
疏散走道防火检查主要包括对疏散走道宽度、疏散距离、疏散走道的畅通性、疏散走道与其他部位分隔以及疏散走道的装修材料进行检查。下列建筑物疏散走道畅通性设置中不符合现行国家工程消防技术标准的要求的是()。
烟胶片(简称R.S.S)()
组距数列中的上限一般是指()。
按照我国现行规定,人民币活期储蓄存款的起存金额是()元。
下列关于现代企业人力资源管理的说法,不正确的是()。[2013年11月二级真题]
根据下面材料回答问题。2014年1--5月,我国软件和信息技术服务业实现软件业务收入约13254亿元,同比增长20.9%,比去年同期回落3.3个百分点。其中,软件产品完成收入4141亿元,信息系统集成服务完成收入2649.3亿元,信息技术咨询服务
(A)条件(1)充分,但条件(2)不充分。(B)条件(2)充分,但条件(1)不充分。(C)条件(1)和(2)单独都不充分,但条件(1)和条件(2)联合起来充分。(D)条件(1)充分,条件(2)也充分。(E)条件(1)和(2)单独都不充分,条件(1)
最新回复
(
0
)