以下程序代码能执行的是()
A: ifa=1thenb=0elsec=0endif
B: ifa=1then:b=0:elseifc=0then:d=0
C: ifa=1thenb=0elseifc=0thend=0endif
D: ifa=1thenb=0elseifc=0d=0endif
A: ifa=1thenb=0elsec=0endif
B: ifa=1then:b=0:elseifc=0then:d=0
C: ifa=1thenb=0elseifc=0thend=0endif
D: ifa=1thenb=0elseifc=0d=0endif
举一反三
- 补全下面的程序,使程序满足:输入正整数a,判断,如果能被9整除,打印a,否则,打印错误!() A: ifa%9==0 B: ifa%9==0: C: ifa%9=0 D: ifa%9=0:
- Ifa>0andb>0,isa/b>b/a?<br/>(1)a=b-2<br/>(2)a/4b=1/5
- 以下程序代码能执行的是()。 A: If a=1 Then b=0 Else c=0 End If B: If a=1 Then B=0ElseIf C=0 Then D=0 C: If a = 1 Then b = 0 Else If c = 0 Then d = 0 End If D: If a = 1 Then b = 0ElseIf c = 0 Then d = 0End If
- 以下HDB3码中,哪些可以确定其中有误码 A: +1 0 0 0 -1 0 +1 -1 +1 0 0 +1 0 -1 +1 -1 0 0 -1 +1…… B: +1 0 0 -1 +1 0 0 0 +1 -1 0 0 -1 0 0 0 +1 0 0 +1 -1…… C: -1 0 0 0 -1 0 +1 0 0 0 +1 -1 +1 0 0 +1 0 0 -1 +1…… D: -1 0 +1 0 0 0 -1 +1 0 0 0 +1 -1 +1 -1 0 0 -1 +1 0 -1……
- 对HDB3码-1000+100-1000-1+1000+1-1+1-100-1+1-1进行译码,结果是( )。 A: 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 B: 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 1 C: 1 0 1 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 1 0 0 0 0 1 1 D: 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 1