Givenacorrectlycompiledclasswhosesourcecodeis:packagecom.sun.sjcp;publicclassCommander{publicstaticvoidmain(String[]args){//morecodehere}}Assumethattheclassfileislocatedin/foo/com/sun/sjcp/,thecurrentdirectoryis/foo/,andthattheclasspathcontains.(currentdirectory).WhichcommandlinecorrectlyrunsCommander?()
A.javaCommander
B.javacom.sim.sjcp.Commander
C.javacom/sun/sjcp/Commander
D.java-cpcom.sun.sjcpCommander
E.java-cpcom/sun/sjcpCommander
第1题:
Youhavebeenaskedtocreatethreeusers,PUB1,PUB2andPUB3,forthreenewlyhiredemployeesandtoallocateunlimitedquotaontheirdefaulttablespacePUBLISHER_TBSwithnootherprivileges.Aftercreatingtheusers,whichmethodcanyouuseforgrantingtherequiredprivileges?()
A.grantCONNECTroletoallofthethreeusers
B.grantRESOURCEroletoallofthethreeusers
C.grantbothCONNECTandRESOURCEroletoallofthethreeusers
D.executeALTERUSER..QUOTAUNLIMITEDONpublisher_tbscommandforallofthethreeusers
E.createrolewithUNLIMITEDTABLESPACEsystemprivilegeandassigntheroletoallofthethreeusers
第2题:
Cisco路由器上使用团体字pub向管理站pub.abc.edu.an发送自陷消息,正确的snmp配置语句是( )。
A.
B.
C.
D.
A.A
B.B
C.C
D.D
第3题:
用rospy创建一个Publisher,话题是'chatter',消息类型为字符串,消息队列长度为10, 正确的语句是:
A.pub = rospy.Publisher('chatter', String, queue_size=10)
B.nh = rospy.NodeHandle() pub = nh.Publisher('chatter', String, queue_size=10)
C.pub = rospy.advertise('chatter', String, queue_size=10)
D.nh = rospy.NodeHandle() pub = nh.advertise('chatter', String, queue_size=10)
第4题:
若想访问北京大学(pku)FTP服务器pub目录下的一个文件index.txt,应该在浏览器地址栏内输入( )。
A.ftp://ftp.pku.edu.cn/pub/index.txt
B.http://ftp.pku.edu.cn/pub/index.txt
C.ftp://http.pku.edu.cn/pub/index.txt
D.ftp://pku.edu.ca/pub/index.txt
第5题:
数据应用属于PUB模块。