下列程序执行后,其输出结果为( )。 A.1 1 1 4 1B.1 2 3 4 1C.1 2 1 4 1SX下列程序执行后,其输出结果为( )。A.1 1 1 4 1B.1 2 3 4 1C.1 2 1 4 1D.1 1 1 4 1
点击查看答案
运行下面的程序后,输出的结果为 Cls Dim t(5,5) as Integer For i=1 To 5:t(i,i)=1:Next For i=1 To 5 For j=1 To 5 Print t(i,j), Next j Print Next IA.1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 l 1 1 1 1 1 1B.1 1 l 1 1C.1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1D.1 1 1 1 1
AusernamedUser1usesasharedcomputerthatrunsWindows7.User1isamemberofgroupnamedGroup1.ThecomputercontainsafoldernamedFolder1.YouneedtoconfigurethepermissionsonFolder1tomeetthefollowingrequirements:User1mustbeallowedtodeleteallfilesinFolder1MembersofGroup1mustbeabletocreatefilesinFolder1AllothermembersofGroup1mustbepreventedfromdeletingfilestheydidnotcreateinFolder1AllusersmustbepreventedfrommodifyingthepermissionsonFolder1.Whatshouldyoudo?()A.AssignGroup1theWritepermission.AssignUser1theModifypermission.B.AssignGroup1theModifypermission.AssignUser1theWritepermission.C.DenyGroup1theWritepermission.AssignUser1theModifypermission.D.DenyGroup1theModifypermission.AssignUser1theWritepermission.
Whatisthedifferencebetween1+1and1:1protectionswitching?()A.1+1isbasedonAPS,while1:1isbasedonIPS.B.1:1isusedinSNCPswitching,while1+1isusedinMS-SPRingswitching.C.1+1sendssignalsonWorkingandProtectpaths,while1:1sendssignalsonlyonWorkingpath.D.1+1sendssignalsonWorkingpathONLY,while1:1sendssignalsonbothWorkingandProtectpaths.
阅读下列程序:采用逻辑覆盖进行测试,下列测试用例(a,b,c)的输入值,可以达到条件覆盖的是______。A.(a,b,c)=(1,1,1)、(-1,1,1)B.(a,b,c)=(1,1,1)、(-1,-1,-1)C.(a,b,c)=(1,1,-1)、(1,1,1)D.(a,b,c)=(1,1,-1)、(-1,1,1)
﹙﹙1+1/2+1/3+1/4﹚×﹙1/2+1/3+1/4+1/5﹚-﹙1+1/2+1/3+1/4+1/5)×﹙﹙1/2+1/3+1/4﹚的值是( )。 A. 1/2 B. 1/3 C. 1/4 D. 1/5
当归六黄汤中,黄芪与其余“五黄”黄芩、黄柏、黄连、生地黄、熟地黄的用量比例是 A.1:1:1:1:1:1 B.2:1:1:1:1:1 C.2:1:1:1:1:2 D.2:1:1:1:2:2