CAO2 Flashcards
What is the smallest possible addressable unit of computer storage?
A) Bit
B) Byte
C) Word
D) Nibble
Byte
Which term describes a group of bits that a computer processes as a single unit?
A) Bit
B) Byte
C) Word
D) Nibble
Word
What is the base of the binary number system?
A) 2
B) 8
C) 10
D) 16
2
Which of the following is the hexadecimal representation of the decimal number 26?
A) 1A
B) 1B
C) 2A
D) 2B
1A
What is the binary representation of the decimal number 25?
A) 11001
B) 10110
C) 10011
D) 11100
11001
To convert a decimal number to binary, you:
A) Multiply by 2 and keep the remainders
B) Divide by 2 and keep the remainders
C) Multiply by 10 and subtract the digits
D) Divide by 10 and keep the remainders
Divide by 2 and keep the remainders
In an 8-bit signed magnitude representation, the binary form of -3 is:
A) 11111100
B) 10000011
C) 00000011
D) 11111111
10000011
What is the main advantage of using two’s complement representation for signed integers?
A) It allows two representations for zero.
B) It simplifies arithmetic operations.
C) It makes binary numbers easier to read.
D) It is faster than floating-point representation.
It simplifies arithmetic operations.
Which field in a floating-point number represents the precision of the value?
A) Sign field
B) Exponent field
C) Significand field
D) None of the above
Significand field
In the IEEE-754 single-precision standard, the exponent field is biased by:
A) 127
B) 1023
C) 128
D) 256
127
The ASCII code is based on which communication code system?
A) Telex
B) Morse code
C) Binary-Coded Decimal (BCD)
D) Unicode
Telex
Which character encoding system allows representation of all languages worldwide?
A) ASCII
B) EBCDIC
C) Unicode
D) BCD
Unicode
What type of error detection method is often used in barcodes and ISBNs?
A) CRC
B) Check digits
C) Hamming codes
D) Unicode
Check digits
Which error detection technique involves dividing a block of data by a fixed divisor and appending the remainder to the message?
A) Parity checking
B) Check digits
C) Cyclic redundancy checking (CRC)
D) Hamming code
Cyclic redundancy checking (CRC)
In Hamming code error correction, the Hamming distance must be at least:
A) k + 1 to detect k errors
B) 2k + 1 to correct k errors
C) k to correct k errors
D) 1 to detect all errors
2k + 1 to correct k errors
A bit can represent:
A) 0 or 1
B) On or Off
C) High or Low voltage
D) All of the above
All of the above
A nibble is equivalent to:
A) 2 bits
B) 4 bits
C) 8 bits
D) 16 bits
4 bits
Which base system is most commonly used as shorthand for binary values, allowing grouping of bits?
A) Decimal
B) Octal
C) Hexadecimal
D) Ternary
Hexadecimal
In a one’s complement representation, the negative of the binary number
00000011
00000011 is:
A)
11111100
B)
10000011
C)
11111101
D)
11111110
11111100
Which representation system only allows one unique form of zero?
A) Signed magnitude
B) One’s complement
C) Two’s complement
D) Decimal
Two’s complement
In two’s complement representation, to get the negative form of a binary number, you:
A) Flip all bits
B) Flip all bits and add 1
C) Add 2
D) None of the above
Flip all bits and add 1
What does the most significant bit in a signed integer represent?
A) The parity bit
B) The number’s magnitude
C) The sign of the number
D) The exponent value
The sign of the number
In an 8-bit two’s complement system, what is the largest positive number that can be represented?
A) 127
B) 128
C) 255
D) 256
127
In IEEE-754 floating-point representation, what is indicated when all bits in the exponent are set to 1 and the significand is zero?
A) Zero
B) NaN
C) Positive or negative infinity
D) Underflow
Positive or negative infinity