以下字符串函数的实例中,错误的是_________。
A: InStr("NOPAINSNOGAINS","AIN")=2
B: Microsoft.VisualBasic.Left("NOPAINSNOGAINS",2)="NO"
C: Len("我爱TongJi")=8
D: Mid("NOPAINSNOGAINS",8,2)="NO"
A: InStr("NOPAINSNOGAINS","AIN")=2
B: Microsoft.VisualBasic.Left("NOPAINSNOGAINS",2)="NO"
C: Len("我爱TongJi")=8
D: Mid("NOPAINSNOGAINS",8,2)="NO"
举一反三
- 下列字符串函数的案例中,错误的是_______。 A: Right("Tongji",2)="ji" B: StrDup(4,"T")="TTTT" C: Left("Tongji",2)="To" D: Mid("Tongji",2,2)="ng"
- 以下哪句不能编译? A: if ( a==b ) else printf("no"); B: if ( a==b ); else printf("no"); C: if ( a==b ) {} else printf("no"); D: if ( a==b ) printf("no");
- 以下哪个选项是正确的json数据格式: A: { "id": 2, "userName": admin, "passWord": 12345, "email": admin@qq.com} B: { id: 2, userName: "admin", passWord: "12345", email: "admin@qq.com"} C: { "id": 2, "userName": "admin", "passWord": "12345", "email": "admin@qq.com",} D: { "id": 2, "userName": "admin", "passWord": "12345", "email": "admin@qq.com"}
- Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"
- 定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };