1 1 1 1 1 0 1 1 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 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
- 编写程序,创建下列10*10的数组,数组边界全为1,里面全为0。 [[1 1 1 1 1 1 1 1 1 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 1 1 1 1 1 1 1 1 1]]
- 1 1 1 1 1 0 1 1 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 0 1
- 对信码1000100100001000011000011进行HDB3编码,结果可能是( )。 A: -1 0 0 0 +1 0 0 -1 0 0 0 -V +1 0 0 0 +V -1 +1 -B 0 0 -V +1 -1 B: +1 0 0 0 -1 0 0 +1 0 0 0 +V -1 0 0 0 -V +1 -1 +B 0 0 +V -1 +1 C: +1 0 0 0 -1 0 0 +1 0 0 0 +1 -1 0 0 0 -1 +1 -1 +1 0 0 +1 -1 +1 D: -1 0 0 0 +1 0 0 -1 0 0 0 +V +1 0 0 0 +V -1 +1 +B 0 0 -V +1 -1
- 编写程序,创建下列10*10的数组,数组边界全为1,里面全为0。 [[1 1 1 1 1 1 1 1 1 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 1 1 1 1 1 1 1 1 1]] 提示:可以先创建全为0或者全为1的数组,再通过索引和切片机制进行修改