A.very interesting
B.very interested
C.very interest
D.interests
第1题:
A.$.ajax({type:"GET",url:serviceURL,success:function(xml){$.each($(xml),function(i,item){$("").attr("value",id).text(tx).appendTo("#dropdown");});}});
B.$.ajax({type:"GET",url:serviceURL,success:function(xml){$(xml).find("user").each(function(){varid=$(this).id;vartx=$(this).name.text$("").attr("value",id).text(tx).appendTo("#dropdown");});}});
C.$.ajax({type:"GET",url:serviceURL,success:function(xml){$(xml).find("user").each(function(){varid=$(this).attr("id");vartx=$(this).find("name").text();$("").attr("value",id).text(tx).appendTo("#dropdown");});}});
D.$.ajax({type:"GET",url:serviceURL,success:function(xml){xml.find("user").each(function(node){varid=$(node).attr("id");vartx=$(node).find("name").text();$("").attr("value",id).text(tx).appendTo("#dropdown");});}});
第2题:
有如下程序段#include "stdio.h"#include "string.h"#define N 10#define M 10char *find(char(*a)[M],int n){ char *q;int i; q=a[0]; for(i=0;i<n;i++) if(strcmp(a[i],q)<0)q=a[i]; return q;}main(){ char s[N][M]={"tomeetme","you","and","he","china"}; char *p; int n=5; p=find(s,n); puts(p);}则执行后输出的结果为A.he B.and C.you D.tomeetme
第3题:
12、利用命令find查找当前目录下的以“.c”结尾的文件,并逐页显示的命令是()。
A.find . -name “?.c” | more
B.find . -name “#.c” | more
C.find . -name “!*.c” | more
D.find . -name “*.c” | more
第4题:
阅读以下说明,回答问题1~4,将解答填入对应的解答栏内。
[说明] 假设二叉树采用连接存储结构进行存储,root 指向根接点,p 所指结点为任一给定的结点,编写一个求从根结点到p所指结点之间路径的函数。
void path (root, p)
btree * root, * p;
{
Btree *stack[m0], *s;
int tag[m0], top =0, i, find =0;
s =root;
do
{
while (s ! = NULL)
{
stack [top] = s;
tag[top] =0;
((1))
}
if (top >0)
{
((2))
if (tag[top] = =1)
{
if((3))
{
for (i=1; i< =top; i+ + printf ("%d" ,stack[i]- >data);
find=1;
}
else top - -;
}
if((4))
{
p=p- >right;
((5))
}
}
} while (find || (s! = NULL && top ! =0));
}
第5题:
下面哪些命令可以查找出Linux系统中的设备文件?()
A.find / -type b
B.find / -type -
C.find / -type c
D.find / -type p
第6题:
利用命令find查找当前目录下的以“.c”结尾的文件,并逐页显示的命令是()。
A.find . -name “?.c” | more
B.find . -name “#.c” | more
C.find . -name “!*.c” | more
D.find . -name “*.c” | more