• 2022-06-09 问题

    以下操作能实现追加写入文件的是 A: echo "hello" > /tmp/test B: echo "hello" >> /tmp/test C: print "hello " >> /tmp/test D: printf "hello " >> /tmp/test

    以下操作能实现追加写入文件的是 A: echo "hello" > /tmp/test B: echo "hello" >> /tmp/test C: print "hello " >> /tmp/test D: printf "hello " >> /tmp/test

  • 2022-07-24 问题

    在使用MapReduce程序WordCount进行词频统计时,对于文本行“hello hadoop hello world”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式: A: <"hello",1,1>、<"hadoop",1>和<"world",1> B: <"hello",2>、<"hadoop",1>和<"world",1> C: <"hello",<1,1>>、<"hadoop",1>和<"world",1> D: <"hello",1>、<"hello",1>、<"hadoop",1>和<"world",1>

    在使用MapReduce程序WordCount进行词频统计时,对于文本行“hello hadoop hello world”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式: A: <"hello",1,1>、<"hadoop",1>和<"world",1> B: <"hello",2>、<"hadoop",1>和<"world",1> C: <"hello",<1,1>>、<"hadoop",1>和<"world",1> D: <"hello",1>、<"hello",1>、<"hadoop",1>和<"world",1>

  • 2022-06-27 问题

    下列定义不正确的是( )。 A: char a[10]= "hello"; B: char a[10]*p=a;P="hello"; C: char *a;a="hello"; D: char a[10],*p;p=a="hello";

    下列定义不正确的是( )。 A: char a[10]= "hello"; B: char a[10]*p=a;P="hello"; C: char *a;a="hello"; D: char a[10],*p;p=a="hello";

  • 2022-05-28 问题

    使用( )命令可以将文本内容快速追加到文档中 A: echo "hello" >>index.html B: echo "hello" >index.html C: echo "hello" <<index.html D: echo "hello" <index.html

    使用( )命令可以将文本内容快速追加到文档中 A: echo "hello" >>index.html B: echo "hello" >index.html C: echo "hello" <<index.html D: echo "hello" <index.html

  • 2022-06-26 问题

    以下Java的条件、循环结构的写法,有输出效果、且没有错误的有哪些? A: …… if(true){ System.out.println("hello"); }…… B: ……if(true); { System.out.println("hello");}…… C: ……while(1){ System.out.println("hello"); }…… D: …… if(true) System.out.println("hello"); ……

    以下Java的条件、循环结构的写法,有输出效果、且没有错误的有哪些? A: …… if(true){ System.out.println("hello"); }…… B: ……if(true); { System.out.println("hello");}…… C: ……while(1){ System.out.println("hello"); }…… D: …… if(true) System.out.println("hello"); ……

  • 2022-06-26 问题

    以下Java的条件、循环结构的写法,有输出效果、且没有错误的有哪些?( ) A: …… if(true); { System.out.println("hello"); } …… B: …… if(true) System.out.println("hello"); …… C: …… while(1){ System.out.println("hello"); } …… D: …… if(true){ System.out.println("hello"); } ……

    以下Java的条件、循环结构的写法,有输出效果、且没有错误的有哪些?( ) A: …… if(true); { System.out.println("hello"); } …… B: …… if(true) System.out.println("hello"); …… C: …… while(1){ System.out.println("hello"); } …… D: …… if(true){ System.out.println("hello"); } ……

  • 2022-07-24 问题

    在使用MapReduce程序WordCount进行词频统计时,对于文本行“hellomaphelloreduce”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式( )。 A: <"hello",1,1>、<"map",1>和<"reduce",1> B: <"hello",2>、<"map",1>和<"reduce",1> C: <"hello",<1,1>>、<"map",1>和<"reduce",1> D: <"hello",1>、<"hello",1>、<"map",1>和<"reduce",1>

    在使用MapReduce程序WordCount进行词频统计时,对于文本行“hellomaphelloreduce”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式( )。 A: <"hello",1,1>、<"map",1>和<"reduce",1> B: <"hello",2>、<"map",1>和<"reduce",1> C: <"hello",<1,1>>、<"map",1>和<"reduce",1> D: <"hello",1>、<"hello",1>、<"map",1>和<"reduce",1>

  • 2022-06-29 问题

    下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");

    下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");

  • 2022-06-15 问题

    以下程序段中能够正确实现p和q中两个字符串互换的是: A: char p[10]="hello", q[10]= "world", *t;strcpy(t,p); strcpy(p,q); strcpy(q,t); B: char p[10]= "hello", q[10]= "world", *t;t=p; p=q; q=t; C: char p[10]= "hello", q[10]= "world", t[10];strcpy(t,p); strcpy(p,q); strcpy(q,t); D: char p[10]= "hello", q[10]= "world", t[10];t=p; p=q; q=t;

    以下程序段中能够正确实现p和q中两个字符串互换的是: A: char p[10]="hello", q[10]= "world", *t;strcpy(t,p); strcpy(p,q); strcpy(q,t); B: char p[10]= "hello", q[10]= "world", *t;t=p; p=q; q=t; C: char p[10]= "hello", q[10]= "world", t[10];strcpy(t,p); strcpy(p,q); strcpy(q,t); D: char p[10]= "hello", q[10]= "world", t[10];t=p; p=q; q=t;

  • 2022-06-05 问题

    world = "world"str = 'hello'print str+world 的结果为 A: helloworld B: hello world C: hello "world" D: 语法错误

    world = "world"str = 'hello'print str+world 的结果为 A: helloworld B: hello world C: hello "world" D: 语法错误

  • 1 2 3 4 5 6 7 8 9 10