Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Document preview thumbnail
Voorbeeld 4 van de 129 pagina's
Tentamen (uitwerkingen)

Test Bank - Computer Science: An Overview, 13th edition, Glenn Brookshear, All Chapters

Document preview thumbnail
Voorbeeld 4 van de 129 pagina's

Test Bank - Computer Science: An Overview, 13th edition, Glenn Brookshear, All Chapters

Voorbeeld van de inhoud

kjhgfds


All Chapters
Test Bank—Chapter One (Data Representation)

Multiple Choice Questions
All Answers



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
N
2. Which of the following best describes the NOR operation?

A. An XOR followed by a NOT B. An OR followed by a NOT
U
C. A NOT followed by an OR C. An AND followed by a NOT

ANSWER: B
R
3. Which of the following bit patterns cannot be expressed in hexadecimal notation?

A. 11111111 B. 1001 C. 110011 D. 100000000001
SE
ANSWER: C

4. 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
D
5. Which of the following bit patterns represents the value 9 in two’s complement notation?

A. 00011010 B. 11111011 C. 00001001 D. 11111011
O
ANSWER: C

6. Which of the following bit patterns represents the value -9 in two’s complement notation?
C
A. 00011010 B. 111110111 C. 10001001 D. 11111011

ANSWER: B
S
7. 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

8. What is the result of the following subtraction problem (using two’s complement notation)?




lkjhgfds

, kjhgfds



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. 1100 C. 1100 D. 0100
+ 1010 + 0100 + 1100 + 0100
N
ANSWER: D

10. Which of the following representations in two’s complement notation represents the largest value?
U
A. 00000010 B. 11110000 C. 00000001 D. 11111111

ANSWER: A
R
11. Which of the following representations in two’s complement notation represents the smallest value?

A. 00000010 B. 11110000 C. 00000001 D. 11111111
SE
ANSWER: D

12. 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
D
ANSWER: C

13. Which of the following bit patterns (represented in hexadecimal notation) represents a positive number
in two’s complement notation?
O
A. 9F B. F7 C. A8 D. 7E

ANSWER: D
C
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?
S
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



lkjhgfds

, kjhgfds




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
N
ANSWER: A
U
18. 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?

A. Main memory B. Magnetic disk C. CDs/DVDs D. ROM chips
R
ANSWER: C

19. Which of the following mass storage system does not require physical motion?
SE
A. Magnetic tape B. Magnetic disk C. CDs/DVDs D. Flash drives

ANSWER: D

20. Assuming that each of the following bit patterns originally had even parity, which one contains an
error?
D
A. 100110100 B. 110000011 C. 010011000 D. 100011001

ANSWER: C
O
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?
C
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”?
S
A. 1234 B. 1234545 C. 232 D. 12

ANSWER: B

23. Which of the following systems is least efficient when encoding numeric values?

A. Two’s complement notation B. Excess notation
C. ASCII D. Floating-point notation

ANSWER: C



lkjhgfds

, kjhgfds




24. Which of the following is a means of encoding music?

A. ASCII B. MIDI C. JPEG D. GIF

ANSWER: B

25. 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
N
ANSWER: D

26. A single bit can be used to represent two of the following:
U
A. Grade on a test B. integer modulo 2 C. car’s speed D. light switch

ANSWER: B, D
R
27. Hexadecimal notation is preferred to represent digital data. Choose the incorrect choice.

A. 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
SE
ANSWER: B

28. Arrange the following numbers in ascending order
a. Binary 1011
b. Decimal 8
c. Hexadecimal F
D
A. a, b, c B. b, a, c C. c, b, a D. All numbers are equal

ANSWER: B
O
29. 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?
C
A. syntax B. overflow C. no error D. logic

ANSWER: B
S
30. 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

A. GPS coordinate calculations were rounded off B. Brad doesn’t know how to read
directions
C.

ANSWER: A




lkjhgfds

Documentinformatie

Geüpload op
4 maart 2025
Aantal pagina's
129
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
$18.49

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
ScoreGuides
4.1
(133)
Verkocht
1494
Volgers
782
Items
2567
Laatst verkocht
3 dagen geleden


Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen