An administrator is having a hard time adding a new switch to the network. After verifying that allthe ports are configured correctly on each switch, which of the following should the administratorverily NEXT?()
A. Straight-through cable is used to connect both switches
B. Loopback plug is connected
C. Crossover cable is used to connect both switches
D. Cable is a rollover cable
第1题:
Youupdatedtheresourceplandirectivefortheresourceconsumergroup,DSS_USERS.TheresourceplandirectiveisassignedtotheDSS_PLANbyusingthefollowingstatement:
SQL>EXECDBMS_RESOURCE_MANAGER.UPDATE_PLAN_DIRECTIVE(PLAN=>’DSS_PLAN’,
GROUP_OR_SUBPLAN=>’DSS_USERS’,
NEW_CPU_P1=>80,
NEW_SWITCH_GROUP=>’CANCEL_SQL’,
NEW_SWITCH_ESTIMATE=>TRUE,
NEW_SWITCH_TIME=>600);
Auserconnectstothedatabaseandstartsanoperation.WhatistheoutcomeifOracleestimatesthattheexecutiontimeforthisoperationwillexceed600seconds?()
第2题:
使用VC6打开考生文件夹下的工程test15_3。此工程包含一个test15_3.cpp,其中定义了类Time和Timex,Timex公有继承Time,但定义并不完整。请按要求完成下列操作,将程序补充完整。
(1)完成类Time构造函数的定义,将数据成员hours和minutes分别初始化为参数new_hours和new_minutes的值。请在注释“//**1**”之后添加适当的语句。
(2)完成类Timex的构造函数的定义,注意参数的传递。请在注释“//**2**”之后添加适当的语句。
(3)请按时间格式“hour:minute”和“hour:minute:second”分别输出对象time1和time2所表示的时间,注意必须使用已经定义的成员函数。请在注释“//**3**”之后添加适当的语句。
输出结果如下:
20:30
10:45:34
注意:除在指定的位置添加语句外,请不要改动程序中的其他语句。
源程序文件test15_3.cpp清单如下:
include<iostream.h>
class Time
{
public:
Time(int new hours,int new_minutes)
{
// ** 1 **
}
int get_hours();
int get_minutes();
protected:
int hours,minutes;
};
int Time::get_hours()
{
return hours;
}
int Time::get_minutes()
{
return minutes;
}
class Timex:public Time
{
public:
Timex(int new hours,int new_minutes,int new_seconds);
int get_seconds();
protected:
int seconds;
};
// ** 2 **
{
seconds=new_seconds;
}
int Timex::get_seconds()
{
return seconds;
}
void main()
{
Time time1(20,30);
Timex time2(10,45,34);
// ** 3 **
}
第3题:
第4题:
YouareusingtheDatabaseResourceManagertomanagedatabaseresources.YoucreatedaresourceplandirectivefortheMANAGERSresourceconsumergroupundertheSALES_PLANbyusingthefollowingstatement:
SQL>EXECDBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE
(PLAN=>’SALES_PLAN’,
GROUP_OR_SUBPLAN=>’MANAGERS’,
CPU_P1=>100,CPU_P2=>0,
SWITCH_GROUP=>’CLERKS’,
SWITCH_TIME_IN_CALL=>600);
Auser,SCOTT,whoisassignedtotheMANAGERSgroup,startsadatabasesessionandexecutesaqueryonthedatabase.Whatistheoutcomeifthequerytakesapproximately15minutestocomplete?()
第5题:
【问题3】(8分)
企业员工访问互联网时,为了财务部门的安全,必须限制财务部门的互联网访问请求;要求员工只能在周一至周五08:00~18:00和周末08:00~12:00这两个时间段访问互联网。根据需求,完成(或解释)核心交换机Route-Switch的部分配置命令。
Route-Switch(config)time-range telnettime //定义时间范围
Route-Switch(config-time-range)periodic weekday (7)
//定制周期性执行时间为工作日的08:00~18:00
Route-Switch(config-time-range)periodic weekend 08:00 to 12:00
//(8)
Route-Switch(config-time-range)exit
Route-Switch(config)access-list 104 deny ip 192.168.3.0 0.0.0.255 any
//(9)
Route-Switch(config)access-list 104 permit ip any any time-range telnettime
//应用访问控制时间,定义流量筛选条件
Route-Switch(config)int f0/6
Route-Switch(config-if)(10)
//在接口F0/6的出方向应用acl 104规则
第6题:
使用哪个函数可插入当前日期?
A.today()
B.now()
C.time()
D.new()