#1. 一 进制转换(一)

一 进制转换(一)

  1. C++ 语言中,表达式 23 | 2 ^ 5 的值是( )

{{ select(1) }}

  • 1818
  • 11
  • 2323
  • 3232
  1. C++ 语言中,判断 aa 等于 00bb 等于 00cc 等于 00 的正确的条件表达式是( )。

{{ select(2) }}

  • !((a != 0) || (b != 0) || (c != 0))
  • !((a != 0) && (b != 0) && (c != 0))
  • !(a == 0 && b == 0) || (c != 0)
  • (a = 0) && (b = 0) && (c = 0)
  1. A = B = TrueC = D = False,以下逻辑运算表达式值为假的有()

提示:¬\lnot 是非的意思,\land 是逻辑与,\lor 是逻辑或。

{{ select(3) }}

  • (¬AB)(CDA)(\lnot A \land B)\lor (C\land D\lor A)
  • ¬(((AB)C)D)\lnot (((A\land B)\lor C)\land D)
  • A(BCD)DA\land (B\lor C\lor D)\lor D
  • (A(DC))B(A\land (D\lor C))\land B
  1. C++ 程序中,表达式 200 | 10 的值是()。

{{ select(4) }}

  • 2020
  • 11
  • 220220
  • 202202
  1. 以下逻辑表达式的值恒为真的是()。

{{ select(5) }}

  • P(¬PQ)(¬P¬Q)P\lor (\lnot P\land Q)\lor (\lnot P\land \lnot Q)
  • Q(¬PQ)(P¬Q)Q\lor (\lnot P\land Q)\lor (P\land \lnot Q)
  • PQ(P¬Q)(¬PQ)P\lor Q\lor (P\land \lnot Q)\lor (\lnot P\land Q)
  • $P\lor \lnot Q\lor (P\land \lnot Q)\lor (\lnot P\land \lnot Q)$
  1. 一个字长为 88 位的整数的补码是 1111100111111001,则它的原码是()

{{ select(6) }}

  • 0000011100000111
  • 0111101101111011
  • 1111100111111001
  • 1000011110000111
  1. 逻辑表达式( )的值与变量 AA 的真假无关。

{{ select(7) }}

  • (AB)¬A(A\lor B) \land \lnot A
  • (AB)¬B(A\lor B) \land \lnot B
  • (AB)(¬AB)(A\land B) \lor (\lnot A\land B)
  • (AB)¬AB(A\lor B) \land \lnot A\land B
  1. 二进制数 00101100001011000101010101010101 异或的结果是()

{{ select(8) }}

  • 0010100000101000
  • 0111100101111001
  • 0100010001000100
  • 0011100000111000
  1. 88 位二进制补码中,1010101110101011 表示的数是十进制下的()

{{ select(9) }}

  • 4343
  • 85-85
  • 43-43
  • 84-84
  1. 二进制数 11 1011 1001 011111\ 1011\ 1001\ 011101 0110 1110 101101\ 0110\ 1110\ 1011 进行按位与运算的结果是()。

{{ select(10) }}

  • 01 0010 1000 101101\ 0010\ 1000\ 1011
  • 01 0010 1001 001101\ 0010\ 1001\ 0011
  • 01 0010 1000 000101\ 0010\ 1000\ 0001
  • 01 0010 1000 001101\ 0010\ 1000\ 0011
  1. x = true, y = true, z = false,以下逻辑运算表达式值为真的是()

{{ select(11) }}

  • (yz)xz(y\lor z)\land x\land z
  • x(zy)zx\land (z\lor y)\land z
  • (xy)z(x\land y)\land z
  • (xy)(zx)(x\land y)\lor (z\land x)
  1. 十六进制数 9A9A 在( )进制下是 232232

{{ select(12) }}

  • 十二
  1. 二进制数 11.0111.01 在十进制下是( )。

{{ select(13) }}

  • 3.253.25
  • 4.1254.125
  • 6.256.25
  • 11.12511.125
  1. 在十六进制表示法中,字母 AA 相当于十进制中的().

{{ select(14) }}

  • 99
  • 1010
  • 1515
  • 1616