• 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-06-08 问题

    txt = open(""book.txt"", ""r"") print(txt)txt.close()" "文件 book.txt 在当前程序所在目录内,其内容是一段文本:book,上述代码的输出结果是( ) A: txt B: book C: 其余答案都不对 D: book.txt

    txt = open(""book.txt"", ""r"") print(txt)txt.close()" "文件 book.txt 在当前程序所在目录内,其内容是一段文本:book,上述代码的输出结果是( ) A: txt B: book C: 其余答案都不对 D: book.txt

  • 2022-05-28 问题

    下列方法中,能正确创建 JavaScript 对象的是( )。 A: var txt = new Object[name:"George",price:25] B: var txt = new Object(name:"George",price:25) C: var txt = new Object{name:"George",price:25} D: var txt = new Object({name:"George",price:25})

    下列方法中,能正确创建 JavaScript 对象的是( )。 A: var txt = new Object[name:"George",price:25] B: var txt = new Object(name:"George",price:25) C: var txt = new Object{name:"George",price:25} D: var txt = new Object({name:"George",price:25})

  • 2022-06-14 问题

    以下哪个语句中的test是数值型变量? A: var test=20181194953; B: int test=20181194953; C: var test; D: var test="20181194953";

    以下哪个语句中的test是数值型变量? A: var test=20181194953; B: int test=20181194953; C: var test; D: var test="20181194953";

  • 2022-05-27 问题

    如果要列出当前目录以及子目录下所有扩展名为 .txt的文件,可以使用命令( )。 A: find . –name ".txt" B: ls -d .txt C: . ls *.txt D: find .".txt"

    如果要列出当前目录以及子目录下所有扩展名为 .txt的文件,可以使用命令( )。 A: find . –name ".txt" B: ls -d .txt C: . ls *.txt D: find .".txt"

  • 2022-06-08 问题

    文件test.txt在当前程序所在目录中,文本内容为123,代码如下: txt=open("test.txt","r")print(txt)txt.close()输出结果是( )。 A: 123 B: ['123'] C: 出错 D: txt

    文件test.txt在当前程序所在目录中,文本内容为123,代码如下: txt=open("test.txt","r")print(txt)txt.close()输出结果是( )。 A: 123 B: ['123'] C: 出错 D: txt

  • 2022-06-08 问题

    文件 book.txt 在当前程序所在目录内,其内容是一段文本:'book',下面代码输出结果是‬( )。txt = open("book.txt", "r") print(txt) txt.close() A: book B: book.txt C: 无正确选项 D: txt

    文件 book.txt 在当前程序所在目录内,其内容是一段文本:'book',下面代码输出结果是‬( )。txt = open("book.txt", "r") print(txt) txt.close() A: book B: book.txt C: 无正确选项 D: txt

  • 2021-04-14 问题

    对于下面程序段,不正确的说法是()。 function loadXMLDoc() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("myDiv").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","/ajax/test1.txt",true); xmlhttp.send(); }

    对于下面程序段,不正确的说法是()。 function loadXMLDoc() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("myDiv").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","/ajax/test1.txt",true); xmlhttp.send(); }

  • 2022-06-03 问题

    文件book.txt在当前程序所在目录内,其内容是一段文本: book,下面代码的输出结果是()txt = open("book.txt", "r") print(txt) txt.close() A: book.txt B: book C: txt D: 以上答案都不对

    文件book.txt在当前程序所在目录内,其内容是一段文本: book,下面代码的输出结果是()txt = open("book.txt", "r") print(txt) txt.close() A: book.txt B: book C: txt D: 以上答案都不对

  • 2022-07-01 问题

    if元素测试模式的基本语法为( )。 A: <if test="测试条件"> 输出内容 </if> B: <if when="测试条件"> 输出内容 </if> C: <if test="测试条件"> 输出内容 <else> 输出内容 </else></if> D: <if when="测试条件"> 输出内容 <else> 输出内容 </else></if>

    if元素测试模式的基本语法为( )。 A: <if test="测试条件"> 输出内容 </if> B: <if when="测试条件"> 输出内容 </if> C: <if test="测试条件"> 输出内容 <else> 输出内容 </else></if> D: <if when="测试条件"> 输出内容 <else> 输出内容 </else></if>

  • 1 2 3 4 5 6 7 8 9 10