Computer Science An Overview 11th Edition By J. Glenn Brookshear - Test Bank
13 vues 0 fois vendu
Cours
Computer - test bank
Établissement
Computer - Test Bank
Test Bank—Chapter Two (Data Manipulation)
The following table is from Appendix C of the text. It is included here so that it can be incorporated in tests for student reference. Questions in this test bank refer to this table as the “language description table.”
Op-
code Operand ...
Multiple Choice Questions
1. 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
2. Which of the following best describes the NOR operation?
A. An XOR followed by a NOT B. An OR followed by a NOT
C. A NOT followed by a NOT C. An AND followed by a NOT
ANSWER: B
3. Which of the following bit patterns cannot be expressed in hexadecimal notation?
A. 11111111 B. 1001 C. 110011 D. 100000000001
ANSWER: C
4. Which of the following is the binary representation of 4 5/8?
A. 100.11 B. 10.011 C. 110.101 D. 100.101
ANSWER: D
5. Which of the following bit patterns represents the value 5 in two’s complement notation?
A. 00011010 B. 11111011 C. 00000101 D. 11111011
ANSWER: C
6. Which of the following bit patterns represents the value -5 in two’s complement notation?
A. 00011010 B. 11111011 C. 00000101 D. 11111011
ANSWER: D
7. What is the result of the following addition problem (using two’s compliment notation)?
00001111
+ 10101010
A. 011000101 B. 10111001 C. 01010101 D. 10110101
ANSWER: B
8. What is the result of the following subtraction problem (using two’s compliment notation)?
00001111
- 10101010
, A. 011000101 B. 10111001 C. 01010101 D. 10110101
ANSWER: A
9. In which of the following addition problems (using two’s complement notation) does an overflow error
occur?
A. 0011 B. 0100 C. 1100
+ 1010 + 0100 + 1100
ANSWER: B
10. Which of the following representations in two’s complement notation represents the largest value?
A. 00000010 B. 11111111 C. 00000001 D. 11111110
ANSWER: A
11. Which of the following representations in two’s complement notation represents the smallest value?
A. 00000010 B. 11111111 C. 00000001 D. 11111100
ANSWER: D
12. Which of the following bit patterns (represented in hexadecimal notation) represents a negative number
in two’s complement notation?
A. 7F B. 55 C. A6 D. 08
ANSWER: C
13. Which of the following bit patterns (represented in hexadecimal notation) represents a positive number
in two’s complement notation?
A. 7F B. F7 C. A8 D. 8A
ANSWER: A
14. 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
15. 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
, 16. 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
17. Which of the following data storage systems provides the most efficient random access to individual
data items?
A. Main memory B. Magnetic disk C. CDs/DVDs D. Flash drives
ANSWER: A
18. Which of the following storage systems is best suited for storing and retrieving long strings of data that
are processed in their sequential order?
A. Main memory B. Magnetic disk C. CDs/DVDs
ANSWER: C
19. Which of the following mass storage system does not require physical motion?
A. Magnetic tape B. Magnetic disk C. DVDs D. Flash drives
ANSWER: D
20. Assuming that each of the following bit patterns originally had even parity, which one contains an
error?
A. 100110100 B. 110000011 C. 000011000 D. 100001001
ANSWER: D
21. 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
22. 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
23. How many different symbols can be encoded using Unicode?
A. 256 B. 4,096 C. 65,536 D. 1,046,476
ANSWER: C
24. Which of the following systems is least efficient when encoding numeric values?
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur ExamsExpert. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour 22,81 €. Vous n'êtes lié à rien après votre achat.