Deck 2: Data Representation
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/63
Play
Full screen (f)
Deck 2: Data Representation
1
Which of the following representations in two's complement notation represents the largest value?
A) 00000010
B) 11111111
C) 00000001
D) 11111110
A) 00000010
B) 11111111
C) 00000001
D) 11111110
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
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
B
3
Which of the following bit patterns cannot be expressed in hexadecimal notation?
A) 11111111
B) 1001
C) 110011
D) 100000000001
A) 11111111
B) 1001
C) 110011
D) 100000000001
C
4
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
A) 7F
B) F7
C) A8
D) 8A
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
5
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
A) 100110100
B) 110000011
C) 000011000
D) 100001001
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following representations in two's complement notation represents the smallest value?
A) 00000010
B) 11111111
C) 00000001
D) 11111100
A) 00000010
B) 11111111
C) 00000001
D) 11111100
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
7
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
A) 2 1/2
B) 3/16
C) 7
D) 6 1/4
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
8
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
A) Main memory
B) Magnetic disk
C) CDs/DVDs
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
9
What is the result of the following addition problem (using two's compliment notation)?
A) 011000101
B) 10111001
C) 01010101
D) 10110101
A) 011000101
B) 10111001
C) 01010101
D) 10110101
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following mass storage system does not require physical motion?
A) Magnetic tape
B) Magnetic disk
C) DVDs
D) Flash drives
A) Magnetic tape
B) Magnetic disk
C) DVDs
D) Flash drives
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following Boolean operations produces the output 1 for the fewest number of input patterns?
A) AND
B) OR
C) XOR
A) AND
B) OR
C) XOR
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following is the binary representation of 4 5/8?
A) 100.11
B) 10.011
C) 110.101
D) 100.101
A) 100.11
B) 10.011
C) 110.101
D) 100.101
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
13
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
A) -1 1/2
B) 1 1/2
C) -3/8
D) 3/8
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
14
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
A) 7F
B) 55
C) A6
D) 08
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
15
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
A) 01001000
B) 01011000
C) 00101000
D) 01111000
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following bit patterns represents the value 5 in two's complement notation?
A) 00011010
B) 11111011
C) 00000101
D) 11111011
A) 00011010
B) 11111011
C) 00000101
D) 11111011
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
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
A) Main memory
B) Magnetic disk
C) CDs/DVDs
D) Flash drives
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
18
What is the result of the following subtraction problem (using two's compliment notation)?
A) 011000101
B) 10111001
C) 01010101
D) 10110101
A) 011000101
B) 10111001
C) 01010101
D) 10110101
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
19
In which of the following addition problems (using two's complement notation)does an overflow error occur?
A)
B)
C)
A)
B)
C)
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following bit patterns represents the value -5 in two's complement notation?
A) 00011010
B) 11111011
C) 00000101
D) 11111011
A) 00011010
B) 11111011
C) 00000101
D) 11111011
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following is a possible LZW compression of the message "xyz xyz xyz"?
A) 1234
B) 1234545
C) 232
D) 12
A) 1234
B) 1234545
C) 232
D) 12
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
22
Represent the bit pattern 1011010010011111 in hexadecimal notation.
_________
_________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
23
If the patterns 101.11 and 1.011 represent values in binary notation,what is the binary representation of their sum?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
24
What is the largest positive integer that can be represented in a two's complement system in which each value is represented by eight bits?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
25
How many bits are needed to represent 1024 different bit patterns?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
26
In a two's complement system,what value is represented by the pattern 11111111111111001?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
27
Rewrite each of the following values (represented in base ten notation)in binary notation.
A. 7 __________
B. 23 __________
C. 2 1/4 __________
D. 5/8 __________
A. 7 __________
B. 23 __________
C. 2 1/4 __________
D. 5/8 __________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
28
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
A) Two's complement notation
B) Excess notation
C) ASCII
D) Floating-point notation
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
29
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
A) 3
B) 4
C) 5
D) 6
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
30
Using a two's complement notation system in which each value is represented by a pattern of six bits,represent the value 3.
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
31
How many different bit patterns can be formed if each must consist of exactly 6 bits?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
32
What value is represented by each of the following patterns in excess notation?
A. 10000 ____
B. 0110 ____
C. 1011 ____
A. 10000 ____
B. 0110 ____
C. 1011 ____
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
33
A computer's main memory consists of numerous memory cells,each of which contains ________ bits.Each memory cell is identified by a numeric value called the cell's _________.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
34
Using a two's complement notation system in which each value is represented by a pattern of six bits,represent the value -3.
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
35
Translate each of the following binary representations into its equivalent base ten representation.
A. 1100 __________
B. 10.011 __________
C. 0.01 __________
D. 10001 __________
A. 1100 __________
B. 10.011 __________
C. 0.01 __________
D. 10001 __________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
36
When using two's complement notation,what bit pattern represents the negation of 01101010?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
37
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
A) ASCII
B) MPEG
C) JPEG
D) GIF
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
38
Which of the following is a means of encoding music?
A) ASCII
B) MIDI
C) JPEG
D) GIF
A) ASCII
B) MIDI
C) JPEG
D) GIF
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
39
A7DF is the hexadecimal representation for what bit pattern?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
40
What is the smallest negative integer that can be represented in a two's complement system in which each value is represented by eight bits?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
41
Under what condition is each of the following data compression techniques most effective?
a.Run-length encoding
b.Relative encoding
a.Run-length encoding
b.Relative encoding
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
42
How many errors in a single code pattern could be corrected when using an error-correcting code in which each code pattern is a Hamming distance of at least seven from any other code pattern?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
43
Among the Boolean operations AND,OR,EXCLUSIVE OR,and NOT,which is least like the others? Explain your answer.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
44
Describe how the concept of Hamming distance is used to produce an error-correcting code.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
45
Describe how a computer can produce an incorrect answer when performing numerical computations even though it has not malfunctioned.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
46
To what does the term "normalized form" refer in the context of floating-point notation?
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
47
If the input and output bit patterns in the circuit below are interpreted as binary representations of numeric values,what operation does the circuit perform?


Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
48
Data compression techniques apply various principles to reduce the size of data.One,called _______________________,avoids repeating long strings of the same data item.Another,called _______________________,encodes the difference between consecutive blocks of data rather than encoding each block in its entirety.Still another,called _________________________,uses short bit patterns to encode frequently occurring items and longer patterns to encode less frequent items.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
49
Construct the entire two's complement scale in which each value is represented by three bits.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
50
If a term paper consisted 42 pages,each containing 40 lines of 100 symbols each (counting each space as a symbol),was to be encoded using Unicode,how many bytes of storage space would be required?
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
51
Which of the following addition problems cannot be solved accurately when using a floating-point system in which each value is encoded by a byte whose 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 + 1 3/8
B) 3 1/2 + 4 1/2
C) 7 + 3/4
____________
A) 2 1/2 + 1 3/8
B) 3 1/2 + 4 1/2
C) 7 + 3/4
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
52
Using an 8-bit 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,write the bit pattern that represents the value 1 3/4.(Use normalized form.)
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
53
Convert the following addition problem into two's complement notation (using four bits per value),perform the addition,convert the answer back into base ten notation,and explain the results.


Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
54
Explain why the final version of the dictionary need not be transmitted with a message encoded using LZW compression.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
55
The following is an error-correcting code in which any two patterns differ by a Hamming distance of at least three.
Decode each of the following patterns
010011 ________ 101010 ________ 011000 ________ 101101 _______

Decode each of the following patterns
010011 ________ 101010 ________ 011000 ________ 101101 _______
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
56
What is frequency-dependent encoding?
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
57
Explain why such terms as kilo,mega,and giga have acquired double meanings.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
58
The following is a message that was originally encoded so that each pattern had odd parity.Circle the patterns in which an error has definitely occurred.
101110101 111110000 100010010 000000000 111111111 010001000 100111101
______________________________________
101110101 111110000 100010010 000000000 111111111 010001000 100111101
______________________________________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
59
a.What is the output of the circuit below?
b.In general,how does the three-bit input pattern across the top of the diagram relate to the circuit's output?
b.In general,how does the three-bit input pattern across the top of the diagram relate to the circuit's output?
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
60
What is the largest value that can be represented in a floating-point system in which each value is encoded by a byte whose 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?
____________
____________
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
61
Why is the rightmost bit in a string of bits considered to be the least significant bit?
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
62
Explain why adding only a few characters to a text file may increase the file's size by several hundred bytes and at other times may not increase the file's size at all.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck
63
In a two's complement system,what value can be added to any other value without causing an overflow? How many values in the system have this property? Explain your answer.
Unlock Deck
Unlock for access to all 63 flashcards in this deck.
Unlock Deck
k this deck