一个正确的URL是()A、 http//www.swufe.edu.cn/temp/zzz.htmB、 http:/www.swufe.edu.cn/temp/zzz.htmC、 http://www.swufe.edu.cn/temp/zzz.htmD、 http://www.swufe.edu.cn/temp/zzz.htm

题目

一个正确的URL是()

  • A、 http//www.swufe.edu.cn/temp/zzz.htm
  • B、 http:/www.swufe.edu.cn/temp/zzz.htm
  • C、 http://www.swufe.edu.cn/temp/zzz.htm
  • D、 http://www.swufe.edu.cn/temp/zzz.htm

相似考题
更多“一个正确的URL是()A、 http//www.swufe.edu.cn/temp/zzz.htmB、 http:/www.swufe.edu.cn/temp/zzz.htmC、 http://www.swufe.edu.cn/temp/zzz.htmD、 http://www.swufe.edu.cn/temp/zzz.htm”相关问题
  • 第1题:

    下列程序的执行结果是______。 include float temp; float&fn2(float r) { temp=

    下列程序的执行结果是______。

    include<iostream.h>

    float temp;

    float&fn2(float r)

    {

    temp=r*r*3.14;

    return temp;

    }

    void main( )

    {

    float a=fn2(5.0);

    float&b=fn2(5.0);

    b=20;

    cout<<temp<<endl;

    }


    正确答案:20
    20 解析:本题考察全局变量和引用的综合使用。在主函数中,b实际上是temp的一个引用。因此在给b赋值20的时候,输出的temp就是20。

  • 第2题:

    阅读以下说明及C++程序代码,将应填入(n)处的语句写在对应栏内。

    【说明】

    本程序的功能是生成螺旋方阵,用户可以输入该方阵的行列数,然后就生成对应的螺旋方阵。例如:当n=5时,对应的螺旋方阵如下:

    1 16 15 14 13

    2 17 24 23 12

    3 18 25 22 11

    4 19 20 21 10

    5 6 7 8 9

    【C++代码】

    include"stdio.h"

    include"iostream,h"

    int array[11][11];

    int temp;

    int ROW;

    void godown(int &m,int &a)

    {

    for(temp=1; temp<=ROW;temp++)

    if(array[temp][a]==0)

    array[temp][a]=(1);

    a++;

    }

    void goright(int &m,int &b)

    {

    for(temp=1;temp<=ROW;temp++)

    if(array[b][temp]==0)

    array[b][temp]=m++;

    b--;

    }

    void goup(int &m.int &c)

    {

    for(temp=ROW;temp>0;temp-)

    if(array[temp][c]==0)

    array[temp][c]=m++;

    c--;

    }

    void goleft(int &m,int &d)

    {

    for(temp=ROW;temp>0;temp--)

    if(array[d][temp]==0)

    array[d][temp]=m++;

    (2);

    }

    void main()

    {

    int a,b,c,d,max,m;

    cin>>ROW;

    cout>>end1;

    for(a=1;a<=ROW;a++)

    for(b=1;b<=ROW;b++)

    (3);

    m=1;

    a=d=1;

    b=c=ROW;

    max=(4);

    whiie(m<=max)

    {

    godown(m,a);

    (5) (m,b);

    goup(m,c);

    goleft(m,d):

    }

    for(a=1;a<=ROW;a++)

    {

    for(b=1;b<=ROW;b++)

    printf("%3d ",array[a][b]);

    cout<<end1;

    }

    }


    正确答案:(1)m++ (2)d++ (3)array[a][b]=0 (4)ROW*ROW (5)goright
    (1)m++ (2)d++ (3)array[a][b]=0 (4)ROW*ROW (5)goright 解析:本题考查C++中螺旋方阵的实现。
    题目要求在用户输入该方阵的行列数后,自动生成对应的螺旋方阵。首先我们来简单分析一下螺旋方阵的特点,顾名思义,其基本结构是成螺旋形状的,按照螺旋的方向数值逐渐增大,直到最中间的一点结束。程序中分别用4个函数来实现其螺旋方向向下、向右、向上和向左时,数组中相应元素的变化,结合程序可以发现数组的初值是全0。
    第(1)空在螺旋方向向下的实现函数中,当螺旋方向向下时,二维数组中列不变而逐行加1,从程序中可以看出此空所在行的作用就是用来改变数组中元素的值,结合整个程序知道变量m中存放的是当前位置的数值,因此,此空答案为m++。
    第(2)空在螺旋方向向左的实现函数中,当螺旋方向向左时,二维数组中行不变而随列下标temp的变化逐列加1,直到数组元素不为0,这个时候说明已经到了被螺旋线经过的列,因此,要往后退一列即列下标变量d加1,此空答案为d++。
    第(3)空在一个二重循环下面,程序声明了一个二维数组且没有初值,结合程序可以推断出此空的任务就是给数组赋初值。而根据上面的分析,数组的初值应该是全0,因此,此空答案为array[a][b]=0。
    第(4)空很明显是给变量max赋初值,这要求先去弄清楚变量max的作用。由语句while(m=max)我们可以推断出变量max中存放的是最大的数据项,而一个n阶的方阵中最多有n×n个元素,从程序中可以知道,这是一个ROW阶的方阵,因此,此空答案为ROW*ROW。
    第(5)空是调用上面的4个函数,根据螺旋方阵的生成规则,应该是先向下,接着向右,再向上,最后向左,结合程序我们知道此空是调用向右的函数。因此,此空答案为goright。

  • 第3题:

    下列不正确的URL是()。

    A、http://http://www.gztrade.com.cn

    B、teach@163.net

    C、gopher://http://gopher.tc.umn.edu

    D、ftp://http://ftp.microsoft.com


    参考答案:B

  • 第4题:

    设在SQL Server 2008中,用户U1在DB1数据库中创建T#Temp表。下列关于#Temp表的说法,正确的是( )。

    A.只有在创建#Temp表的连接中才可以查询#Temp表数据

    B.在所有用户U1发起的连接中,都可以查询#Temp表数据

    C.在创建#Temp表的连接未断开时,DB1数据库的所有用户都可以查询#Temp表数据

    D.在创建#Temp表的连接断开后,DBl数据库的所有用户仍可以查询#Temp表数据


    正确答案:A
    用户若想在SQLSenrer中访问数据库的表,必须同该表建立一个连接表示通信渠道,当连接中断时,无法对其进行访问。B中只有用户与#temp建立的连接才可以访问到表。C中不是所有用户都可以访问该表,只有U1用户和由U1授权的用户可以访问。D项很明显也不正确。故答案为A。

  • 第5题:

    ( 23 )欲执行程序 temp.prg ,应该执行的命令是

    A ) DO PRG temp.prg

    B ) DO temp.prg

    C ) DO CMD temp.prg

    D ) DO FORM. temp.prg


    正确答案:B

  • 第6题:

    Twenty database users are connected to your database. Five of the users are running long queries involving sort operations. The TEMP tablespace is the default temporary tablespace for your database. You are performing offline tablespace backups of individual tablespaces and erroneously execute the following statement:   SQL>ALTER TABLSPACE temp OFFLINE NORMAL;   What is the result of this statement?()

    • A、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected after their queries complete.
    • B、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected and must re-execute their queries.
    • C、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are not disconnected, but these users must re-execute their queries.
    • D、 The TEMP tablespace is not taken offline. The users using the TEMP tablespace for sorting are not disconnected, and their queries execute successfully.

    正确答案:D

  • 第7题:

    若ASP服务器的根目录是“C:///wwwroot”,虚拟目录别名“temp”对应的路径是“C:///wwwroot/asp/temp”,则浏览temp目录下的文件“test.asp”正确的是()。

    • A、http://localhost/temp/test.asp
    • B、http://127.0.0.1/temp/test.asp
    • C、http://localhost/asp/temp/test.asp
    • D、http://127.0.0.1/asp/test.asp

    正确答案:A,B,C

  • 第8题:

    欲执行程序temp.prg,应该执行的命令是()

    • A、DO PRG temp.prg
    • B、DO temp.prg
    • C、DO CMD temp.prg
    • D、DO FORM temp.prg

    正确答案:B

  • 第9题:

    单选题
    SQL server中()语句能将temp表中的hostname字段扩充为varchar(100)。
    A

    alter table temp alter column hostname varchar(1100)

    B

    alter table temp column hostname varchar(100)

    C

    alter table temp alter column of hostname varchar(100)

    D

    alter table temp add column hostname varchar(100)


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

  • 第10题:

    单选题
    默认WWW主目录C:///intpupb/wwwroot下建一个temp.asp文件通过Internet访问你的ASP文件时,下列说法正确的是()。
    A

    http://localhost/temp.asp

    B

    http://127.0.0.1/temp.asp

    C

    http://你的计算机名字/temp.asp

    D

    http://你的计算机的IP地址/temp.asp


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

  • 第11题:

    单选题
    Twenty database users are connected to your database. Five of the users are running long queries involving sort operations. The TEMP tablespace is the default temporary tablespace for your database. You are performing offline tablespace backups of individual tablespaces and erroneously execute the following statement:   SQL>ALTER TABLSPACE temp OFFLINE NORMAL;   What is the result of this statement?()
    A

     The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected after their queries complete.

    B

     The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected and must re-execute their queries.

    C

     The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are not disconnected, but these users must re-execute their queries.

    D

     The TEMP tablespace is not taken offline. The users using the TEMP tablespace for sorting are not disconnected, and their queries execute successfully.


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

  • 第12题:

    单选题
    Your database contains two temporary tablespaces named TEMP and TEMP1. The TEMP tablespace is the default temporary tablespace for the database, and the TEMP1 tablespace was created at database creation. You want to increase the size of the tempfile for the TEMP tablespace and drop the TEMP1 tablespace from the database. The database is not using Oracle-Managed Files (OMF). Which statement must you use to ensure that when you drop the TEMP1 tablespace from the database, its corresponding operating system file is also deleted?()
    A

     DROP TABLESPACE temp1;

    B

     DROP TABLESPACE temp1 INCLUDING CONTENTS;

    C

     DROP TABLESPACE temp1 INCLUDING CONTENTS AND DATAFILES;

    D

     DROP TABLESPACE temp1 INCLUDING CONTENTS CASCADE CONSTRAINTS;


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

  • 第13题:

    欲执行程序temp.prg,应该执行的命令是( )。

    A.DO PRG temp.prg

    B.DOtemp.prg

    C.DO CMD temp.prg

    D.DO FORM. temp.prg


    正确答案:B
    解析:可以通过菜单方式和命令方式执行程序文件,其中命令方式的格式为:
      DO文件名>
      该命令既可以在命令窗口发出,也可以出现在某个程序文件中。

  • 第14题:

    设在SQL Server 2008中,用户U1在DB1数据库中创建了#Temp表。下列关于#Temp表的说法中,正确的是( )。

    A.只有在创建#Temp表的连接中才可以查询#Temp表数据

    B.在所有用户U1发起的连接中,都可以查询#Temp表数据

    C.在创建#Temp表的连接未断开时,DBl数据库的所有用户都可以查询#Temp表数据

    D.在创建#Temp表的连接断开时,DBl数据库的所有用户仍可以查询#Temp表数据


    正确答案:A
    在SQLServer2008中,只有创建某个I临时表的连接中才能查询当前I临时表的数据,并当U1创建的该表的连接还未断开时,才能访问这个表的数据。

  • 第15题:

    用户在WWW浏览器的地址栏内输入了一个如下的URL: http://www.swufe.edu.cn/index.htm 其中,“www.swufe.edu.cn”代表 ______。

    A.协议类型

    B.主机名

    C.路径及文件名

    D.都不对


    正确答案:B
    解析:URL(Uniform. Resource Locators,统一资源定位器)用来寻找服务器中的网页文件。URL的格式为:协议类型://主机名/路径及文件名。其中,“http://”指协议类型,说明要访问的是WWW服务器;“www.wufe.edu.cn”指主机名;“index.hun”指路径及文件名。

  • 第16题:

    欲执行程序temp.prg,应该执行的命令是( )。

    A.DO PRG temp.prg

    B.DO temp.prg

    C.DO CMD temp.prg

    D.DO FORM. remp.prg


    正确答案:B
    B。【解析】可以通过菜单方式和命令方式执行程序文件,其中命令方式的格式为:DO<文件名>该命令既可以在命令窗口发出,也可以出现在某个程序文件中。

  • 第17题:

    在www浏览器的URL中,为非法表达式

    A.http://www.cernet.edu.cn
    B.d://\\temp\\xyz.htm
    C.file://c:\\office\\abc.doc
    D.happyuser@center.njtu.edu.cn

    答案:D
    解析:

  • 第18题:

    默认WWW主目录C:///intpupb/wwwroot下建一个temp.asp文件通过Internet访问你的ASP文件时,下列说法正确的是()。

    • A、http://localhost/temp.asp
    • B、http://127.0.0.1/temp.asp
    • C、http://你的计算机名字/temp.asp
    • D、http://你的计算机的IP地址/temp.asp

    正确答案:D

  • 第19题:

    file=open("temp.txt","w"):以写的方式打开文件“temp.txt”(如果文件不存在,则新建一个“temp.txt”)。


    正确答案:正确

  • 第20题:

    Your database contains two temporary tablespaces named TEMP and TEMP1. The TEMP tablespace is the default temporary tablespace for the database, and the TEMP1 tablespace was created at database creation. You want to increase the size of the tempfile for the TEMP tablespace and drop the TEMP1 tablespace from the database. The database is not using Oracle-Managed Files (OMF). Which statement must you use to ensure that when you drop the TEMP1 tablespace from the database, its corresponding operating system file is also deleted?()

    • A、 DROP TABLESPACE temp1;
    • B、 DROP TABLESPACE temp1 INCLUDING CONTENTS;
    • C、 DROP TABLESPACE temp1 INCLUDING CONTENTS AND DATAFILES;
    • D、 DROP TABLESPACE temp1 INCLUDING CONTENTS CASCADE CONSTRAINTS;

    正确答案:C

  • 第21题:

    多选题
    若ASP服务器的根目录是“C:///wwwroot”,虚拟目录别名“temp”对应的路径是“C:///wwwroot/asp/temp”,则浏览temp目录下的文件“test.asp”正确的是()。
    A

    http://localhost/temp/test.asp

    B

    http://127.0.0.1/temp/test.asp

    C

    http://localhost/asp/temp/test.asp

    D

    http://127.0.0.1/asp/test.asp


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

  • 第22题:

    单选题
    一个正确的URL是()
    A

     http//www.swufe.edu.cn/temp/zzz.htm

    B

     http:/www.swufe.edu.cn/temp/zzz.htm

    C

     http://www.swufe.edu.cn/temp/zzz.htm

    D

     http://www.swufe.edu.cn/temp/zzz.htm


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

  • 第23题:

    判断题
    file=open("temp.txt","w"):以写的方式打开文件“temp.txt”(如果文件不存在,则新建一个“temp.txt”)。
    A

    B


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