OCP-1Z0-051-2015-26题
2015-06-28 18:49
369 查看
QUESTION NO: 26
Which two statements are true regarding single row functions? (Choose two.)
A. They can be nested only to two levels
B. They always return a single result row for every row of a queried table
C. Arguments can only be column values or constant
D. They can return a data type value different from the one that is referenced
E. They accept only a single argument
Answer: B,D
Explanation:关于函数解释
A function is a program written to optionally accept input parameters, perform an operation, or return a single value.
函数可以随意写,接收输入参数,展示表达式,或者返回单个值
A function returns only one value per execution.一个函数每次执行能返回单个值
Three important components form the basis of defining a function. The first is the input parameterlist. 三个重要的关于函数组成部分定义。第一,输入参数列表
It specifies zero or more arguments that may be passed to a function as input for processing.
These arguments or parameters may be of differing data types, and some are mandatory whileothers may be optional. 返回的数据类型值可以与之前引用的数据类型不同
The second component is the data type of its resultant value. Upon execution, only one value is returned by the function.第二个 每行总是返回一个结果行
The third encapsulates the details of the processing performed by the function and contains the program code that optionally manipulates
the input parameters, performs calculations and operations, and generates a return value.
A. 只可以被嵌套两级,错误,可以被全套多级
B. 对于查询表的每一行总是返回一个结果行.正确。
C. 参数arguments只能是列值或者常量constant.,参数还可以是变量和表达式
D. 返回的数据类型值可以与之前引用的数据类型不同,正确。
E. 只接受一个参数,错误,可以接受一个或多个参数
Which two statements are true regarding single row functions? (Choose two.)
A. They can be nested only to two levels
B. They always return a single result row for every row of a queried table
C. Arguments can only be column values or constant
D. They can return a data type value different from the one that is referenced
E. They accept only a single argument
Answer: B,D
Explanation:关于函数解释
A function is a program written to optionally accept input parameters, perform an operation, or return a single value.
函数可以随意写,接收输入参数,展示表达式,或者返回单个值
A function returns only one value per execution.一个函数每次执行能返回单个值
Three important components form the basis of defining a function. The first is the input parameterlist. 三个重要的关于函数组成部分定义。第一,输入参数列表
It specifies zero or more arguments that may be passed to a function as input for processing.
These arguments or parameters may be of differing data types, and some are mandatory whileothers may be optional. 返回的数据类型值可以与之前引用的数据类型不同
The second component is the data type of its resultant value. Upon execution, only one value is returned by the function.第二个 每行总是返回一个结果行
The third encapsulates the details of the processing performed by the function and contains the program code that optionally manipulates
the input parameters, performs calculations and operations, and generates a return value.
A. 只可以被嵌套两级,错误,可以被全套多级
B. 对于查询表的每一行总是返回一个结果行.正确。
C. 参数arguments只能是列值或者常量constant.,参数还可以是变量和表达式
D. 返回的数据类型值可以与之前引用的数据类型不同,正确。
E. 只接受一个参数,错误,可以接受一个或多个参数
相关文章推荐
- java像素级碰撞检测代码
- Using Bounded Wildcards in Methods : Generic Parameters
- Java中如何克隆集合——ArrayList和HashSet深拷贝
- Android适应方案汇总(三)
- AutoResetEvent实现生产者消费者
- Thinkphp url 除去index.php
- android 中 任务、进程和线程的区别
- Oracle表、列、约束的操作
- Java JProfiler教程
- 使用R的igraph,竟然能大致模拟展现人脑思维
- 双击jar不能运行的解决方法
- 将博客搬至CSDN
- 教程:在ZYBO中增加串口情况时如何用printf函数打印
- 优秀简历要遵循哪些规则
- winform datagridview 打印
- 串口通讯—异步通信方式
- PLY格式文件详解
- 当你学不进去的时候,试试“普瑞马法则”
- [工具推荐]003.Tortoisegit使用教程
- Solr游标