在基于VBScript脚本的asp程序中,向页面中输出变量expression内容的指令是()A、%= expression %B、Dim expressionC、Printf expressionD、Write expression

题目

在基于VBScript脚本的asp程序中,向页面中输出变量expression内容的指令是()

  • A、<%= expression %>
  • B、Dim expression
  • C、Printf expression
  • D、Write expression
参考答案和解析
正确答案:A
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下面哪些jspaction中允许使用表达式(expression)?()

A、jsp:setPropertyname=”name”value=%=expression%

B、jsp:includepage=%=expresion%

C、jsp:paranname=”name”value=%=expression%

D、jsp:getPropertyname=%expression%


参考答案:A,B,C

第2题:

You define the following regular expression of currency values:regex tx = new regex("^-?\d+(\.\d{2})?$")You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use.What should you do?()

A.The tx.Matches(Bill)

B.The tx.Equals(Bill)

C.The tx.Match(Bill)

D.The tx.IsMatch(Bill)


参考答案:D

第3题:

在switch(expression)语句中,expression的数据类型不能是

A.double

B.char

C.byte

D.short


正确答案:A
解析:本题考查考生对swithch(expression)语句的理解。表达式expression只能返回:int、byte、short和char,题目中的double是不正确的。同时还要注意,多分支结构中,case子句的值必须是常量,而且所有case子句中的值应是不同的,default子句是任选的。

第4题:

在switch(expression)语句中,expression的数据类型不能是()。

  • A、double
  • B、char
  • C、byte
  • D、short

正确答案:A

第5题:

在银行转账的Asp.Net页面中,为了实现验证用户输入的转账金额必须大于50元,最好使用下面的()控件

  • A、Regular Expression Validator
  • B、Compare Validator
  • C、Range Validator
  • D、Required Field Validator

正确答案:C

第6题:

在switch(expression)语句中,expression的数据类型不能是( )。 A.doubleB.char

在switch(expression)语句中,expression的数据类型不能是( )。

A.double

B.char

C.byte

D.short


正确答案:A
A。【解析】本题考查考生对switch(expression)语句的理解。表达式expression只能返回int、byte、short和char,题目中的double是不正确的。同时还要注意,多分支结构中,case子句的值必须是常量,而且所有case子句中的值应是不同的,default子句是任选的。

第7题:

JSP表达式语言可用于在网页上生成动态内容并代替JSP脚本元素,JSP表达式语言的语法是()。   

  • A、 {EL expression}
  • B、 ${EL expression}
  • C、 @{EL expression}
  • D、 &{EL expression}

正确答案:B

第8题:

JSP EL表达式的语法为( )

A、!JSP expression

B、@{JSP expression}

C、${JSP expression}

D、#{JSP expression}


正确答案:C

第9题:

在Hibernate的Criteria查询中,Expression对象具体描述了查询条件,其对应SQL条件中的field>=value的方法是()。

  • A、Expression.eq
  • B、Expression.gt
  • C、Expression.ge
  • D、Expression.lt

正确答案:C

第10题:

不能在基于VBScript脚本的asp程序中定义变量的是()

  • A、Dim
  • B、Var
  • C、Public
  • D、Private

正确答案:B

更多相关问题