关于tail和head命令,下面哪些描述是正确的()。
A.head默认情况下显示文件的头5行
B.tail只能同时查看一个文本文件
C.这一对命令经常被用来查看日志文件
D.可以用-n选项(n为一个自然数)来指定tail和head要显示的行数
A.head默认情况下显示文件的头5行
B.tail只能同时查看一个文本文件
C.这一对命令经常被用来查看日志文件
D.可以用-n选项(n为一个自然数)来指定tail和head要显示的行数
第1题
已知广义表A===(((),(a,(b),c))),则laead(tail(head(tail(head(A))))等于_________。
第2题
已知广义表L=((a,b,c),a,(x,y,z)),从L表中取出原子项y的运算是_________。
A.head(tail(head(tail(L))))
B.tail(head(head(tail(L))))
C.head(tail(head(tail(tail(L)))))
D.head(tail(tail(L)))
第3题
求下列广义表运算的结果: (1)head((i,i,k)); (2)tail((k,m,n)); (3)head(tail(((a,b,c),(d))));
第4题
The seahorse swims with ______.
A.its tail up high
B.its head up high
C.its body up high
第5题
已知广义表L=((),()),求head(L),tail(L),L的长度,深度各为多少?
第6题
The electric plates on the electric eel______.
A.run along the length of its body
B.are found on sides of its head
C.are located in its head
D.are in its tail
第7题
A.[a,b]b,a]
B.[[b,a],[a][b]]
C.[[a],[a,b][b]]
D.[[b],[b,a],[a]]
第8题
第10题
设广义表L=((),()),则Head(L)是______;Tail(L)是______;L的长度是______;深度是______。
第11题
The electric catfish has a different electric system in that ______.
A.current moves from the head to the tail
B.current moves from the tail to the head
C.current moves from the left to the right
D.current moves from the right to the left