Exam 2: Data Representation
Exam 1: Data Representation64 Questions
Exam 2: Data Representation63 Questions
Exam 3: Operating Systems47 Questions
Exam 4: Networks and the Internet62 Questions
Exam 5: Algorithms53 Questions
Exam 6: Programming Languages54 Questions
Exam 7: Software Engineering54 Questions
Exam 8: Data Abstractions53 Questions
Exam 9: Database Systems52 Questions
Exam 10: Computer Graphics47 Questions
Exam 11: Artificial Intelligence52 Questions
Exam 12: Theory of Computation51 Questions
Select questions type
What value is represented by each of the following patterns in excess notation?
A. 10000 ____
B. 0110 ____
C. 1011 ____
Free
(Short Answer)
4.8/5
(73)
Correct Answer:
A.0,B.-2,C.3
What is frequency-dependent encoding?
Free
(Essay)
4.9/5
(88)
Correct Answer:
Frequency-dependent encoding is an encoding system that uses short bit patterns to represent data items that occur most often and longer patterns to represent less frequently occurring items.The result is that entire blocks of data can be represented in less space than would be required if each data item were represented by the same size bit pattern.
Which of the following systems is least efficient when encoding numeric values?
Free
(Multiple Choice)
4.8/5
(71)
Correct Answer:
C
Which of the following Boolean operations produces the output 1 for the fewest number of input patterns?
(Multiple Choice)
4.9/5
(90)
How many bits are needed to represent 1024 different bit patterns?
____________
(Short Answer)
4.9/5
(74)
If the patterns 101.11 and 1.011 represent values in binary notation,what is the binary representation of their sum?
____________
(Short Answer)
5.0/5
(76)
The following is an error-correcting code in which any two patterns differ by a Hamming distance of at least three.
Symbol Representation A 000000 B 001111 C 010011 D 011100 E 100110 F 101001 G 110101 H 111010
Decode each of the following patterns
010011 ________ 101010 ________ 011000 ________ 101101 _______
(Short Answer)
4.9/5
(84)
Which of the following is a possible LZW compression of the message "xyz xyz xyz"?
(Multiple Choice)
4.8/5
(72)
What is the result of the following subtraction problem (using two's compliment notation)? 00001111 -10101010
(Multiple Choice)
4.8/5
(90)
When using two's complement notation,what bit pattern represents the negation of 01101010?
____________
(Short Answer)
4.9/5
(67)
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
______________________________________
(Short Answer)
4.9/5
(83)
Among the Boolean operations AND,OR,EXCLUSIVE OR,and NOT,which is least like the others? Explain your answer.
(Essay)
4.9/5
(94)
Which of the following representations in two's complement notation represents the smallest value?
(Multiple Choice)
4.9/5
(78)
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?
____________
(Short Answer)
4.9/5
(80)
Translate each of the following binary representations into its equivalent base ten representation.
A. 1100 __________
B. 10.011 __________
C. 0.01 __________
D. 10001 __________
(Short Answer)
4.8/5
(89)
What is the result of the following addition problem (using two's compliment notation)? 00001111 +10101010
(Multiple Choice)
4.8/5
(101)
Which of the following bit patterns (represented in hexadecimal notation)represents a positive number in two's complement notation?
(Multiple Choice)
4.9/5
(84)
Under what condition is each of the following data compression techniques most effective?
a.Run-length encoding
b.Relative encoding
(Essay)
4.9/5
(80)
Describe how a computer can produce an incorrect answer when performing numerical computations even though it has not malfunctioned.
(Essay)
4.8/5
(81)
Showing 1 - 20 of 63
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)