过度控制
控制不足
第1题:
A. var fragment Fragment = new(GetPodAction)
B. var fragment Fragment = GetPodAction
C. var fragment Fragment = &GetPodAction{}
D. var fragment Fragment = GetPodAction{}
第2题:
A.Type I
B.Type II
C.Type III
D.Type II和Type III
第3题:
A.Type1
B.Type3
C.Type5
D.Type7
第4题:
普通Ethernet_II型MAC帧变成VLAN帧后,原来帧中的Type域变成0x8100
第5题:
A. store and forward
B. fragment-free
C. adaptive cut-through
D. fast-forward
第6题:
GiventhisfragmentfromaJavaEEdeploymentdescriptor:341.<error-page>342.<exception-type>java.lang.Throwable</exception-type>343.<location>/mainError.jsp</location>344.</error-page>345.<error-page>346.<exception-type>java.lang.ClassCastException</exception-type>347.<location>/castError.jsp</location>348.</error-page>IfthewebapplicationassociatedwiththefragmentabovethrowsaClassCastException.Whichstatementistrue?()
A.Thedeploymentdescriptorisinvalid.
B.ThecontainerinvokesmainError.jsp.
C.ThecontainerinvokescastError.jsp.
D.NeithermainError.jspnorcastError.jspisinvoked.
第7题:
A.CLEAN
B.CODE
C.AND
D.ERROR.TYPE
第8题:
清使用VC6或使用【答题】菜单打开考生文件夹projl下的工程projl,此工程中包含了类Pets(“宠物”) 和主函数main的定义。程序中位于每个“//ERROR****found ****”之后的一行语句有错误,请加以改 正。改正后程序的输出结果应为: Name:sonny Type:dog Name:John Type:dog Name:Danny Typc:cat Name:John Type:dog 注意:只修改每个“//ERROR ****found ****”下的那一行,不要改动程序中的其他内容。 include<iostream> using namespace sm; enum Pets_type{d09,cat,bird,fish}; class Pets{ private: char *name; Pets_type type; public: Pets(const char *name=”sonny”,Pets_type type=dog); Pets&operator=(const Pets&s); ~Pets; void showeonst;}; Pets::Pets(eonst char$naIne,Pets_type type) //构造函数 { This ->name=new char[strlen(name)+1]; strcpy(this一>name,name); //ERROR *********found********* type=type; }{ Pets::~Pets//析构函数,释放name所指向的字符串 { //ERROR *********found********* name=’/0‘; } Pets&Pets::0perator=(const Pets&s){ if(&s==this)//确保不要向自身赋值 return *this; delete[]name; name=new char[strlen(S.name)+1];//ERROR *********found********* strcpy(this一>nmne,name); type=S.type: return *this;} void Pets::showconst cout<<“Name:”<<name<<”Type:”: Pets mypetl,mypet2(’’John”,dog);
第9题:
什么是“第二类错误(Type Ⅱ error)”?
第10题:
HARQ会根据信道质量动态的选择重传策略来实现尽可能大的传输速度,它的重传合并方案为HARQ-Type-I和HARQ-Type-II,而在实际中采用的是两种方案混合的方式。