在VFP中,空值是一种特殊的数据,用.NULL.或NULL表示。下列关于空值的表述中正确的是()。

A:空值等价于空字符串、空格或数值0 B:函数ISNULL(.NULL.)的值与函数EMPTY(.NULL.)的值相同 C:将一个.NULL.值赋给字段或变量时,不改变该字段或变量原有的数据类型 D:变量A1的值为.F.,则表达式A1AND.NULL.的值为.NULL.

将下面Shell程序段中的空缺部分补齐,使得它可以将指定的一个或多个输入文件的内容依次添加到输出文件的末尾,如果指定的输出文件不存在,则程序应自动产生一个输出文件。
if ["$#" -lt 2 ];then
echo "usage $0 <output-file> <input file 1> [<input file 2>…]"
exit 0
fi
output="$1"
shift
for i in (61) ; do
if[-e "Si"];then # or use ’-a $i’
cat (62)
fi
done

A:"$i">$output B:"$i">>$output C:$I>$output D:$I>>$output

将下面Shell程序段中的空缺部分补齐,使得它可以将指定的一个或多个输入文件的内容依次添加到输出文件的末尾,如果指定的输出文件不存在,则程序应自动产生一个输出文件。
if ["$#”-1t 2];then
echo "usage $0<output-file><input file 1> [<input file 2>…]”
exit 0
fi
output="$1"
shift
for i in (59) ;do
if [-e"$i"];then # or use’-a $i’
cat (60)
fi
done

A:"$i">$output B:"$i">>$output C:$i>$output D:$i>>$output

将下面Shell 程序段中的空缺部分补齐,使得它可以将指定的一个或多个输入文件的内容依次添加到输出文件的末尾。如果指定的输出文件不存在,则程序应自动产生一个输出文件。
if ["$#"-It 2];then
echo "Usage $0<output-file><input file l>[<input file2>...]"
exit 0
fi
output="$1"
shift
for i in (1) ;do
if [ -e "$i"];then # or use’-a $i’
cat (2)
fi
done

2()

A:"$i">$output B:"$i">>$output C:$i>$output D:$i>>$output

表达式EMPTY(.NULL.)的值是______。

下面程序的输出为( )。
public class Test
public static void main (String args[])
int x,y;
x=1;
y=2;
System.out.println("The output is"+x+y);

A:The output is xy B:The output is 3 C:The output is 12 D:The output is x=1 y=2

若X=.NULL.,执行IS NULL(X)命令后,屏幕显示结果为.T.。

下面程序的输出为( )。 public class Test { public static void main (String args[]) { int x,y; x=1; y=2; System.out.println("The output is"+x+y); } }

A:The output is xy B:The output is 3 C:The output is 12 D:The output is x=1 y=2

表达式EMPTY(.NULL.)的值是()。

微信扫码获取答案解析
下载APP查看答案解析