【单选题】【消耗次数:1】
把数值型转换为字符串型需要使用的函数是()。
Val
.Str
Asc
Chr
参考答案:
复制
纠错
相关题目
【单选题】 把数值型转换为字符串型需要使用的函数是()。
①  Val
②  Str
③  Asc
④  Chr
【多选题】 实现数值、字符串相互转换的函数是?
①  STR()
②  VAL()
③  ABS()
④  LOG()
【判断题】 可使用toString()把基本数据类型转换为字符串类型?
①  正确
②  错误
【单选题】 在JavaScript中,把字符串“123”转换为整型值123的正确方法是( )。
①  var str=123; var num=(int)str;
②  var str=123; var num=str.parseInt(str);
③  var str=123; var num=parseInt(str);
④  var str=123; var num=Integer.parseInt(str);
【判断题】 C语言中没有字符串类型,也没有字符串变量,字符串是存放在字符型数组中的。
①  正确
②  错误
【单选题】 把字符串"abcdef"右边的空格去掉应使用()函数。
①  trim
②  rtrim
③  right
④  mid
【单选题】 在JavaScript中,把字符串“123”转换为整型值123的正确方法是( )。(选择一项)
①  var str=123 var num=(int)str;
②  var str=123 var num=str.parseInt(str);
③  var str=123 var num=parseInt(str);
④  var str=123 var num=Integer.parseInt(str);
【判断题】 字符处理函数strcpy(s1,s2)的功能是把字符串1接到字符串2的后面。
①  正确
②  错误
【单选题】 字符串输出函数是
①  getchar()
②  putchar()
③  getchars()
④  putchars()
【判断题】 在SQL语言中,字符型和日期型常量需要使用单引号括起来。
①  正确
②  错误
随机题目
【单选题】 Which of the following is the advantage of pair work?
①  It is an ideal way to show materials and do presentations together
②  It allows students to work together rather than under teacher’s guidance
③  It reinforces a sense of belonging among a group of members
④  It is very stressful.
【单选题】 Which of the following is the time when students work in a pair?
①  When all the students are under the control of the teacher
②  When students work in pairs on an exercise or a task
③  When students work in small groups
④  When students are expected to work on their own at their own speed.
【单选题】 What role does a teacher play in the following activity? The teacher writes one of five numbers (1-5) on a number of cards (the same number as the students). Each student draws one card. Those who have drawn number 1 will form group1, and those who have drawn number 2 will form group 2. Thus the students are put into five groups in a random way.
①  Controller
②  Assessor
③  Organizer
④  Prompter.
【单选题】 What are language contents?
①  Structures, vocabulary, functions and topics
②  Pictures, vocabulary, communication and topics
③  PPT, structures, aims and summary
④  Structures, aims, functions and topics.
【单选题】 Which part is to be finished after a lesson in a lesson plan?
①  Teaching aids
②  End of a lesson summary
③  Optional activities and assignment
④  After lesson reflection.
【单选题】 What are the principles for good lesson planning?
①  Aim, variety, flexibility, learnability and linkage
②  Aim, preparation flexibility and linkage
③  Aim, micro-planning, macro-planning and flexibility
④  Aim, micro-planning, macro-planning and variety.
【单选题】 What is the function of optional activities?
①  Backups in case the lesson goes too fast and there are a few minutes left
②  Prepared for good students
③  Prepared for bad students
④  Used for emergency.
【单选题】 What are very commonly used teaching procedures and stages?
①  Presentation, practice and production
②  Pre-reading, while-reading and post-reading
③  Mechanical practice and meaningful practice
④  Both A and B.
【单选题】 What are the guidelines for writing teaching aims in a lesson plan?
①  Clear, brief
②  Specific, students-oriented
③  Specific, teacher-oriented
④  Both A and B.
【单选题】 What is discourse competence concerned with?
①  Appropriate use of the language in social context
②  Ability to create coherent written text or conversation and the ability to understand them
③  Strategies one employs when there is communication breakdown due to lack of resources
④  Knowledge of language itself, its form and meaning.