在”人事档案”表文件中,”婚否”是逻辑型字段(已婚为逻辑真值),“性别”为字符型字段,如果查询“已婚女同志”,应该使用的条件表达式是(32)。
A.婚否.OR.(性别=“女”)
B.婚否.AND.(性别=女)
C.(婚否=.T.).AND.(性别=“女”)
D.已婚.OR.(性别=“女”)
在图8-11拓扑结构图中,按照理想情况下的速率标准,用户小郭从MPEG视频服务器中下载一个1.5GB的DVD视频文件需要多少秒时间?请简要列出计算过程。
若一个栈以向量V[1..n]存储,且空栈的栈顶指针top为n+1,则将元素x入栈的正确操作是______。
A.top=top+1;V[top]=x;
B.V[top]=x;top=top+1;
C.top=top-1;V[top]=x;
D.V[top]=x;top=top-1;
A.
B.
C.
D.
Switch0、Switchl、Switch2和Switch3均为二层交换机。总部拥有的IP地址块为202.114.12.0/24。Switch0的端口e0/24与路由器R2的端口eO/O相连,请根据图完成路由器R2及Switch0的配置。
R2(config)interface fastethernet 0/0.1
R2(config—subif)encapsulation dotl q(3)
R2(config—subif)ip address 202.1 14.12.1 255.255.255.192
R2 f config—subif)no shutdown
R2(config—subif)exit
R2(config)interface fastethemet 0/0.2
R2(config—subif)encapsulation dotlq(4)
R2(config—subif)ip address 202.1 14.12.65 255.255.255.192
R2(config—subif)no shutdown
R2(eonfig—subif)exit
R2(config)interface fastethernet 0/0.3
R2(config—subif)encapsulation dotl q(5)
R2(eonfig—subif)ip address 202.1 14.12.129 255.255.255.192
R2(eonfig—subif)no shutdown
R2(config—subif)exit
R2(eonfig)interface fastether0/0
R2(config—if)no shutdown
Switch0(~onfig)interface f0/24
Switch0(config—if)switchport mode(6)
Switch0(config—if)switchport trunk encapsulation(7)
Switch0(config—if)switehpoa trunk allowed all
Switch0(config—if)exit
下列各数中最大的是(1)。
A.11010110.0101(二进制)
B.D6.53(十六进制)
C.214.32(十进制)
D.326.25(八进制)
阅读以下说明和C++程序,将应填入(n)处的字句写在对应栏内。
[说明]
下面程序输出一个矩形面积,以及矩形区域上的假想的作物产量。
[C++程序]
include <iostream.h>
class crop_assessment
{
int actual_crop;
int ideal_crop;
public:
void set(int in_actual,int in_ideal)
{
actual crop=in_actual;
ideal_crop=in_ideal;
}
int get_actual_crop(void){ (1) ;}
int get_ideal_crop(void){ (2) ;)
};
Class lot_size
{
int length;
int width;
(3) crop;
public:
void set(int 1,int w,int a,int i)
{
length=1;
width=w;
crop.set(a,i);
}
int get_area(void){return length*width;}
int get_data(void){return (4) ;}
int get_data2(void)freturn (5) ;}
}
int main()
{
Los_size small,medium;
small.set(5,5,5,25);
medium.set(10,10,10,50);
cout<<"For a small lot of area"<<smallget_area()<<“\n”;
cout<<"the actual crops are$"<<small.get_data2()<<"\n";
cout<<"and ideal crops are$”<<small.get_data()<<"\n";
cout<<"For a medium Lot of area"<<medium.get area()<<:\n”;
cout<<"the actual crops are$"<<medium.get_data2()<<"\n";
cout<<"and ideal crops are$"<<medium.get_data()<<"\n";
return 0;
}