Copyright © 2019 Pearson Education, Ltd.Test Bank—Chapter One (Data Representation)
Multiple Choice Questions
- Which of the following Boolean operations produces the output 1 for the fewest number of input
patterns?
A. AND B. OR C. XOR
ANSWER: A
- Which of the following best describes the NOR operation?
- An XOR followed by a NOT B. An OR followed by a NOT
- A NOT followed by an OR C. An AND followed by a NOT
ANSWER: B
- Which of the following bit patterns cannot be expressed in hexadecimal notation?
A. 11111111 B. 1001 C. 110011 D. 100000000001
ANSWER: C
- Which of the following is the binary representation of 6 5/8?
A. 110.11 B. 10.011 C. 110.101 D. 100.101
ANSWER: C
- Which of the following bit patterns represents the value 9 in two’s complement notation?
A. 00011010 B. 11111011 C. 00001001 D. 11111011
ANSWER: C
- Which of the following bit patterns represents the value -9 in two’s complement notation?
A. 00011010 B. 111110111 C. 10001001 D. 11111011
ANSWER: B
- What is the result of the following addition problem (using two’s complement notation)?
00001111
+ 10101010
A. 011000101 B. 10111001 C. 01010101 D. 10110101
ANSWER: B
- What is the result of the following subtraction problem (using two’s complement notation)?
(Computer Science An Overview, (Global Edition) 13e Glenn Brookshear, Dennis Brylow) (Test Bank all Chapters) 1 / 4
Copyright © 2019 Pearson Education, Ltd.
00001111
- 10101010
A. 011000101 B. 10111001 C. 01010101 D. 10110101
ANSWER: A
- In which of the following addition problems (using two’s complement notation) does an overflow error
occur?
A. 0011 B. 1100 C. 1100 D. 0100
+ 1010 + 0100 + 1100 + 0100
ANSWER: D
- Which of the following representations in two’s complement notation represents the largest value?
A. 00000010 B. 11110000 C. 00000001 D. 11111111
ANSWER: A
- Which of the following representations in two’s complement notation represents the smallest value?
A. 00000010 B. 11110000 C. 00000001 D. 11111111
ANSWER: D
- Which of the following bit patterns (represented in hexadecimal notation) represents a negative number
in two’s complement notation?
A. 3F B. 55 C. A6 D. 7E
ANSWER: C
- Which of the following bit patterns (represented in hexadecimal notation) represents a positive number
in two’s complement notation?
A. 9F B. F7 C. A8 D. 7E
ANSWER: D
- What value is represented by the bit pattern 01011100 when interpreted using floating-point format in
which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?
A. -1 1/2 B. 1 1/2 C. -3/8 D. 3/8
ANSWER: B
- Which of the following values cannot be stored accurately using a floating-point format in which the
most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?
A. 2 1/2 B. 3/16 C. 7 D. 6 1/4
ANSWER: D 2 / 4
Copyright © 2019 Pearson Education, Ltd.
- Which of the following bit-patterns represents the smallest value using the floating-point format in
which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?
A. 01001000 B. 01011000 C. 00101000 D. 01111000
ANSWER: C
- Which of the following data storage systems provides the most efficient random access to individual
data items?
- Main memory B. Magnetic disk C. CDs/DVDs D. Flash drives
ANSWER: A
- Which of the following storage systems is best suited for storing and retrieving long strings of data
such as music that are processed in a sequential order?
- Main memory B. Magnetic disk C. CDs/DVDs D. ROM chips
ANSWER: C
- Which of the following mass storage system does not require physical motion?
- Magnetic tape B. Magnetic disk C. CDs/DVDs D. Flash drives
ANSWER: D
- Assuming that each of the following bit patterns originally had even parity, which one contains an
error?
A. 100110100 B. 110000011 C. 010011000 D. 100011001
ANSWER: C
- How many errors per pattern could be corrected when using an error-correcting code in which any two
code patterns differ by a Hamming distance of 8?
A. 3 B. 4 C. 5 D. 6
ANSWER: A
- Which of the following is a possible LZW compression of the message “xyz xyz xyz”?
A. 1234 B. 1234545 C. 232 D. 12
ANSWER: B
- Which of the following systems is least efficient when encoding numeric values?
- Two’s complement notation B. Excess notation
- ASCII D. Floating-point notation
ANSWER: C 3 / 4
Copyright © 2019 Pearson Education, Ltd.
- Which of the following is a means of encoding music?
A. ASCII B. MIDI C. JPEG D. GIF
ANSWER: B
- Which of the following provides a compressed representation of an image by limiting the number of
different pixel colors to 256, thereby enabling each pixel in an image to be represented by a single byte whose value indicates which of a palette of entries represents the pixel’s color?
A. ASCII B. MPEG C. JPEG D. GIF
ANSWER: D
26. A single bit can be used to represent two of the following:
- Grade on a test B. integer modulo 2 C. car’s speed D. light switch
ANSWER: B, D
- Hexadecimal notation is preferred to represent digital data. Choose the incorrect choice.
- it uses fewer digits than binary B. Computers can understand only hex c. it is convenient
and brief d. it is easier to read hex
ANSWER: B
- Arrange the following numbers in ascending order
- Binary 1011
- Decimal 8
- Hexadecimal F
- a, b, c B. b, a, c C. c, b, a D. All numbers are equal
ANSWER: B
- Rita was working on a solution to add two 8 bit numbers. She encounters an error when she adds
11111111 and 11111111. What type of error has occurred in this situation?
- syntax B. overflow C. no error D. logic
ANSWER: B
- Brad is driving around the city trying to locate the new pizza store but the GPS in his car keeps pointing
to the street on which no commercial stores exist. Brad is frustrated and gives up. The most likely cause for this type of error is
- GPS coordinate calculations were rounded off B. Brad doesn’t know how to read
directions C.
ANSWER: A
- / 4