【单选题】【消耗次数:1】
在JavaScript中,对字符串str=welcome to my home进行以下操作,描述正确的是( )。(选择一项)
str.substring(1,6)返回值是welco
str.length返回值为18
str.indexOf(come)返回值为4
str.toUpperCase( )的值为“Welcome To My Home”。
参考答案:
复制
纠错
相关题目
【单选题】 在JavaScript中,对字符串str=welcome to my home进行以下操作,描述正确的是( )。
①  str.substring(1,6)返回值是welco
②  str.length返回值为18
③  str.indexOf(come)返回值为4
④  str.toUpperCase( )的值为“Welcome To My Home”。
【单选题】 对字符串str = welcome to china进行下列操作处理时,描述结果正确的是()(选择一项)
①  str.substring(1,5)返回值是elcom
②  str.length的返回值是16
③  str.indexOf(come,4)的返回值为4
④  str.toUpperCase( )的返回值是welcome to china
【单选题】 对字符串str = welcome to china进行下列操作处理时,描述结果正确的是()
①  str.substring(1,5)返回值是elcom
②  str.length的返回值是16
③  str.indexOf(come,4)的返回值为4
④  str.toUpperCase( )的返回值是welcome to china
【判断题】 String str=abcedf; int length=str.length;
①  正确
②  错误
【单选题】 下列关于Date对象的getMonth( )方法的返回值描述,正确的是( )。(选择一项)
①  返回系统时间的当前月
②  返回值的范围介于1~12之间
③  返回系统时间的当前月+1
④  返回值的范围介于0~11之间
【多选题】 函数Len(Str(Val(123.4)))的值为?
①  int(7.1)
②  int(6.2)
③  int(6.4)
④  int(123.4)
【单选题】 MsgBox 函数返回值的类型是?
①  数值或字符串
②  字符串
③  变体
④  整型数值
【单选题】 下列关于Date对象的getMonth( )方法的返回值描述,正确的是( )。
①  返回系统时间的当前月
②  返回值的范围介于1~12之间
③  返回系统时间的当前月+1
④  返回值的范围介于0~11之间
【单选题】 函数返回值类型是由()
①  return语句的表达式类型决定
②  则主调函数接收变量类型决定
③  调用函数时系统随机分配决定
④  定义函数时所指定的函数类型决定
【单选题】 以下函数fun的返回值类型为( )。fun(double x){ ……}
①  int
②  void
③  无法确认类型
④  double
随机题目
【判断题】 Halloween is Britain holiday.
①  正确
②  错误
【单选题】 I’d like a ( )to Beijing on the 20th
①  sleeping
②  sleep
③  sleeps
④  sleeper
【单选题】 The ( )tour will include historical and cultural sites as well as visit to universities in Sydney.
①  15 day
②  15-days
③  15 days
④  15-day
【单选题】 I’d like to ( )2 tickets to Sanya , please.
①  reserve
②  booking
③  reservation
④  bought
【单选题】 The travel agent may help you with travel ( ) such as passport and visa.
①  documents
②  materials
③  procedure
④  paper
【单选题】 They will engage in a ( ) of cultural activities, including organized excursion to important historical sites.
①  various
②  vary
③  variety
④  variation
【单选题】 which the following choice is right about the meaning of budget?
①  预算
②  价格
③  计划
④  还价
【单选题】 A travel agency ( )schedules, routing , lodging, prices,destination and all other aspects of travel.
①  is knowledge at
②  is acknowledge at
③  is knowledgeable in
④  is knowledge in
【单选题】 When you read about your destination, you will learn more about the world and get ideas for places to visit and things to see. By ( ) prices and offers , you can also make your travel budget last longer.
①  compare
②  compatible
③  comparable
④  comparing
【单选题】 I’m interested in one-week Japanese package tour. 下列翻译正确的是?
①  我对为期一周的赴日本跟团旅行很有兴趣
②  我对为期一周的赴日本包价团很有兴趣
③  我对为期一周的赴日本包价团很熟悉
④  我对为期一周的赴日本跟团旅行很熟悉