更多“单选题_____A includesB includingC inclusiveD include”相关问题
  • 第1题:

    以下程序的执行结果是【】。 include include include int ma

    以下程序的执行结果是【 】。

    include <iostream.h>

    include <fstream.h>

    include <stdlib.h>

    int main()

    {

    fstream outfile, infile;

    outfile.open("D:\\text.dat",ios::out);

    if(!outfile)

    {

    cout<<"text.dat can't open"<<end1


    正确答案:1:1234567890/2:abcdfghij
    1:1234567890/2:abcdfghij 解析:本题考核文件的I/O操作。先来了解eof()成员函数,该函数返回非0值表示已到文件结尾。程序首先定义fstream类的2个对象 outfile和infile。然后在文件text.dat写入两行字符串“1234567890”和“abcdefghii”。最后用getline()函数读取出来存入字符数组textline[40]中,并按行显示出来。程序中的两个if语句是用于打开文件失败的异常处理。

  • 第2题:

    下列include命令中,正确的是()

    A.#inclue[string.h]

    B.#include{string.h}

    C.#include(string.h)

    D.#include


    参考答案:D

  • 第3题:

    在下列# include命令中,正确的一条是 ( )

    A.# include [string.h]

    B.# include {math.h}

    C.# include(stdio.h)

    D.# include<stdio.h>


    正确答案:D

  • 第4题:

    简述include指令标识和〈jsp:include〉动作标识的差异。


    正确答案: (1)inlcude指令通过file属性来确定被包含的页面,将file属性值看做一个实际存在的文件路径,所以该指令不支持任何表达式;〈jsp:include〉动作标识通过page属性确定被包含的页面,支持JSP表达式
    (2)include指令包含的文件,内容会原封不动的插入到该指令的位置,与该指令合成进行编译,若改变了被包含文件,主文件要重新编译;〈jsp:include〉动作标识包含文件时,当该标识被执行时,程序会将请求转发到被包含的文件,并将执行结果输出到浏览器中,然后返回到包含文件继续执行后面的代码,JSP编译器对两个文件分别进行编译,被包含文件改动不会影响源文件。

  • 第5题:

    When you write, () all the necessary information.

    • A、remembering to include
    • B、remember including
    • C、remember and include
    • D、remember to include

    正确答案:D

  • 第6题:

    如果在用户的程序中要使用C库函数中的数学函数时,应在该源文件中使用的include命令是()

    • A、#include〈string.h〉
    • B、#include〈math.h〉
    • C、#include〈stdio.h〉
    • D、#include〈ctype.h〉

    正确答案:B

  • 第7题:

    假设在服务器根目录下有文件index.htm与include.htm,则希望从index.htm连接到include.htm正确的路径是:()

    • A、include.htm
    • B、/index.htm
    • C、include.htm
    • D、/include.htm

    正确答案:A

  • 第8题:

    JSP中动态INCLUDE与静态INCLUDE的区别是什么?


    正确答案:如果文件仅仅是静态文件,那么这种包含仅仅是把包含文件的内容加到JSP文件中去,但这个被包含文件不会被JSP编译器执行。相反,如果这个被包含文件是动态的文件,那么他将被JSP编译器执行。如果是动态文件还可以用〈jsp:param〉传递参数。

  • 第9题:

    单选题
    下列#include命令中,正确的是()
    A

    #inclue[string.h]

    B

    #include{string.h}

    C

    #include(string.h)

    D

    #include


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    JSP的编译指令标记通常是指()。
    A

    Page指令、Include指令和Taglib指令

    B

    Page指令、Include指令和Plugin指令

    C

    Forward指令、Include指令和Taglib指令

    D

    Page指令、Param指令和Taglib指令


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    在当前页面中包含a.htm的正确语句是()
    A

     <%@ include=”a.htm”%>

    B

     <jsp:include file=”a.htm”/> 

    C

     <%@ include page=”a.htm”%> 

    D

     <%@ include file=”a.htm”%> 


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    下列语句正确的有()
    A

    <%@ include file=”head.jsp”%> 

    B

    <% String url=”head.jsp”;%><%@ include file=”url”%> 

    C

    <%@ include file=”head.jsp”?name=”lovo”%> 

    D

    <%String companyName=”lovo”;%>%@include file”head.jsp”?name=‟companyName”% 


    正确答案: A
    解析: 暂无解析

  • 第13题:

    JSP中动态INCLUDE 与静态INCLUDE 的区别?


    正确答案:

     

    动态INCLUDE 用jsp:include 动作实现

    <jsp:include page=included.jsp flush=true />它总是会检查所含文件中的变化,适合用于包含动

    态页面,并且可以带参数静态INCLUDE 用include 伪码实现,定不会检查所含文件的变化,

    适用于包含静态页面 <%@ include file=included.htm %>

  • 第14题:

    11 动态include()和静态include()的区别?


    正确答案:
           

  • 第15题:

    7. Six people,_________ a baby,were injured in the accident.

    A.included

    B.including

    C.includes

    D.include


    正确答案:B
    7.B【解析】including为介词,意为“(其中)包括”。

  • 第16题:

    下列#include命令中,正确的是()

    • A、#inclue[string.h]
    • B、#include{string.h}
    • C、#include(string.h)
    • D、#include

    正确答案:D

  • 第17题:

    在当前页面中包含a.htm的正确语句是() 

    • A、 <%@ include=”a.htm”%>
    • B、 <jsp:include file=”a.htm”/> 
    • C、 <%@ include page=”a.htm”%> 
    • D、 <%@ include file=”a.htm”%> 

    正确答案:D

  • 第18题:

    在J2EE中,对于以下的include指令和include动作,书写正确的是() 

    • A、<jsp:include page=http://localhost:/8080/my.jsp/> 
    • B、<%@ include file=http://localhost:/8080/my.jsp/>
    • C、<jsp:include file=http://localhost:/8080/my.jsp/> 
    • D、<%@ include page=http://localhost:/8080/my.jsp/>

    正确答案:A,B

  • 第19题:

    #include< iostream.h >命令中,include的意义是:()。


    正确答案:包含头文件

  • 第20题:

    单选题
    How can a developer ensure that a fault will occur if the service does not recognize a SOAP header entry containing a transaction number?()
    A

     Set the faultCode value to soap:Transaction

    B

     Include a Fault element in the SOAP message

    C

     Include a mustUnderstand attribute in the header entry

    D

     Include a detail element containing application-specific elements according to the XML Schema


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    A backup is taken using the following command:tar -cvf abcdef.tar /usr/local/include/tcpd.h The operator is in the directory /usr/local/restores and runs the following command: tar -xvf abcdef.tar. Where will the file be restored?()
    A

    /usr/local/include/tcpd.h

    B

    /usr/local/restores/tcpd.h

    C

    /usr/local/restores/include/tcpd.h

    D

    /usr/local/restores/usr/local/include/tcpd.h


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    以下四个程序中,完全正确的是(  )。
    A



    #include <stdio.h>
    main()
    {
     /*/programming/*/
     printf(programming!);
    }

    B



    #include <stdio.h>
    main()
    {
     /*programming*/
     printf(programming!);
    }

    C



    #include <stdio.h>
    main()
    {
     /*/*programming*/*/
     printf(programming!);
    }

    D



    include <stdio.h>
    main()
    {
     /*programming*/
     printf(programming!);
    }


    正确答案: A
    解析:
    A项中,“main()”函数后面不能加分号;C语言中注释语句的注释方法是:/*注释内容*/或//注释一行,且“/*”和“*/”不能嵌套使用,C项错误;D选项中预编译命令“include <stdio.h>”前缺少“#”号。答案选择B选项。

  • 第23题:

    单选题
    下面关于#import和#include的描述正确的是()
    A

    #import是#include的替代指令,防止重复引用

    B

    #import和#include不可以混合使用

    C

    #import只用于引用Objective-C的文件,#include只用于引用C和C++的文件

    D

    #import和#include的使用效果完全相同


    正确答案: A
    解析: 暂无解析

  • 第24题:

    单选题
    You completed your Java procedure for your external Java function activity, and you now want todeploy this to your server. What would you do to deploy the Java procedure?()
    A

    take the Java sources (.java) files and include them in your $APPL_TOP

    B

    take the Java sources (.java) files and include them in your CLASSPATH

    C

    take the Java classes (.class) files and include them in your $APPL_TOP

    D

    take the Java classes (.class) files and include them in your CLASSPATH


    正确答案: B
    解析: 暂无解析