Deck 2: Data Representation in Computer Systems
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/120
العب
ملء الشاشة (f)
Deck 2: Data Representation in Computer Systems
1
Perform the following base conversions: 

(a) 20012 3 = ____ 10
To convert a number from base 3 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 3 from right to left. Let us see how to convert the given number,
20012= 2×3 4 + 0×3 3 + 0×3 2 + 1×3 1 + 2×3 0
=162 + 0 + 0 + 3 + 2
=167
Hence, the equivalent value of 20012 3 is 167 10.
(b) 4103 5 = ____ 10
To convert a number from base 5 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 5 from right to left. Let us see how to convert the given number,
4103= 4×5 3 + 1×5 2 + 0×5 1 + 3×5 0
=500 + 25 + 0 + 3
=528
Hence, the equivalent value of 4103 5 is 528 10.
(c) 3236 7 = ____ 10
To convert a number from base 7 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 7 from right to left. Let us see how to convert the given number,
3236= 3×7 3 + 2×7 2 + 3×7 1 + 6×7 0
=1029 + 98 + 21 + 6
=1154
Hence, the equivalent value of 3236 7 is 1154 10.
(d) 1378 9 = ____ 10
To convert a number from base 9 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 9 from right to left. Let us see how to convert the given number,
1378=1×9 3 + 3×9 2 + 7×9 1 + 8×9 0
=729 + 243 + 63 + 8
=1043
Hence, the equivalent value of 1378 9 is 1043 10.
To convert a number from base 3 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 3 from right to left. Let us see how to convert the given number,
20012= 2×3 4 + 0×3 3 + 0×3 2 + 1×3 1 + 2×3 0
=162 + 0 + 0 + 3 + 2
=167
Hence, the equivalent value of 20012 3 is 167 10.
(b) 4103 5 = ____ 10
To convert a number from base 5 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 5 from right to left. Let us see how to convert the given number,
4103= 4×5 3 + 1×5 2 + 0×5 1 + 3×5 0
=500 + 25 + 0 + 3
=528
Hence, the equivalent value of 4103 5 is 528 10.
(c) 3236 7 = ____ 10
To convert a number from base 7 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 7 from right to left. Let us see how to convert the given number,
3236= 3×7 3 + 2×7 2 + 3×7 1 + 6×7 0
=1029 + 98 + 21 + 6
=1154
Hence, the equivalent value of 3236 7 is 1154 10.
(d) 1378 9 = ____ 10
To convert a number from base 9 to base 10, we need to multiply the individual number in the given number with ascending powers of positive integers of 9 from right to left. Let us see how to convert the given number,
1378=1×9 3 + 3×9 2 + 7×9 1 + 8×9 0
=729 + 243 + 63 + 8
=1043
Hence, the equivalent value of 1378 9 is 1043 10.
2
Convert the hexadecimal number
to binary.

Convert Hexadecimal number into Binary
The table of hexadecimal to 4-bit binary digits:
Take equivalent 4-bit binary value to AC12(Hexadecimal) from above table.
Then,
Hence the binary value of given hexadecimal number as follows: 
The table of hexadecimal to 4-bit binary digits:

Then,


3
What decimal value does the 8-bit binary number 00010001 have if:
a) it is interpreted as an unsigned number?
b) it is on a computer using signed-magnitude representation?
c) it is on a computer using one's complement representation?
d) it is on a computer using two's complement representation?
e) it is on a computer using excess-127 representation?
a) it is interpreted as an unsigned number?
b) it is on a computer using signed-magnitude representation?
c) it is on a computer using one's complement representation?
d) it is on a computer using two's complement representation?
e) it is on a computer using excess-127 representation?
a.
The provided 8-bit unsigned binary number is 00010001. Here, the 0 th and 4 th position of the binary number is occupied by the value 1.
Therefore, the conversion of the unsigned binary number 00010001 into a decimal number can be made as follows:
Hence, the equivalent decimal value for the provided unsigned number binary number 00010001 is
.
b.
The following explains about the signed-magnitude representation of a binary number.
• If the most significant bit (MSB) of a binary number is considered as a sign bit, then the representation is said to be known as signed-magnitude representation. The sign bit will determine whether the binary number is a positive number or a negative number.
• If the MSB of the binary value is 1, then the binary value is said to be a negative number.
• If the MSB of the binary value is 0, then the binary value is said to be a positive number.
Here, the provided signed-magnitude representation of the binary value is 00010001. The MSB of the binary number is 0. Hence the binary number is said to be a positive number.
The 0 th and 4 th position of the binary number is occupied by the value 1.
Hence, the equivalent decimal value for the provided signed-magnitude representation of the binary number 00010001 is
.
c.
Converting all the binary values 1 into 0 and 0 into 1 in a binary number is said to be known as one's complement representation.
An 8-bit binary number 00010001 is provided such that it is the one's complement representation.
The conversion of the one's complement representation of a binary value 00010001 into a decimal value can be made as follows:
The equivalent decimal value of the one's complement representation of a binary number 00010001 is
.
d.
Converting all the binary values 1 into 0 and 0 into 1 in a binary number is said to be known as one's complement representation. Adding 1 to the resultant binary value of the one's complement representation is said to be the two's complement representation.
An 8-bit binary number 00010001 is provided such that it is used as the two's complement representation.
The conversion of the two's complement representation of the binary number 00010001 into a decimal value can be done as follows:
The equivalent decimal value of the two's complement representation of the binary number 00010001 is
.
e.
The decimal value 127 named as k is added with the provided binary value to produce a result. This is said to be the excess-127 representation.
Here, the binary number 00010001 is the excess-127 representation, and then the equivalent decimal number can be found as follows:
Therefore, the equivalent decimal value for the excess-127 representation of the binary number 0001001 is
.
The provided 8-bit unsigned binary number is 00010001. Here, the 0 th and 4 th position of the binary number is occupied by the value 1.
Therefore, the conversion of the unsigned binary number 00010001 into a decimal number can be made as follows:


b.
The following explains about the signed-magnitude representation of a binary number.
• If the most significant bit (MSB) of a binary number is considered as a sign bit, then the representation is said to be known as signed-magnitude representation. The sign bit will determine whether the binary number is a positive number or a negative number.
• If the MSB of the binary value is 1, then the binary value is said to be a negative number.
• If the MSB of the binary value is 0, then the binary value is said to be a positive number.
Here, the provided signed-magnitude representation of the binary value is 00010001. The MSB of the binary number is 0. Hence the binary number is said to be a positive number.
The 0 th and 4 th position of the binary number is occupied by the value 1.


c.
Converting all the binary values 1 into 0 and 0 into 1 in a binary number is said to be known as one's complement representation.
An 8-bit binary number 00010001 is provided such that it is the one's complement representation.
The conversion of the one's complement representation of a binary value 00010001 into a decimal value can be made as follows:


d.
Converting all the binary values 1 into 0 and 0 into 1 in a binary number is said to be known as one's complement representation. Adding 1 to the resultant binary value of the one's complement representation is said to be the two's complement representation.
An 8-bit binary number 00010001 is provided such that it is used as the two's complement representation.
The conversion of the two's complement representation of the binary number 00010001 into a decimal value can be done as follows:


e.
The decimal value 127 named as k is added with the provided binary value to produce a result. This is said to be the excess-127 representation.
Here, the binary number 00010001 is the excess-127 representation, and then the equivalent decimal number can be found as follows:


4
To add 2 two's complement numbers together, what must be true?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
5
Perform the following binary divisions, assuming unsigned integers: 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
6
Given that the ASCII code for A is 1000001, what is the ASCII code for J ?
b) Given that the EBCDIC code for A is 1100 0001, what is the EBCDIC code for J ?
b) Given that the EBCDIC code for A is 1100 0001, what is the EBCDIC code for J ?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
7
Name two ways in which Reed-Solomon coding differs from Hamming coding.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
8
What is a radix?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
9
What is overflow, and how can it be detected? How does overflow in unsigned numbers differ from overflow in signed numbers?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
10
Why is there always some degree of error in floating-point arithmetic when performed by a binary digital computer?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
11
What is systematic error detection?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
12
Use the double-dabble method to convert
directly to decimal. (Hint: You have to change the multiplier.)

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
13
The ASCII code for the letter A is 1000001, and the ASCII code for the letter a is 1100001. Given that the ASCII code for the letter G is 1000111, without looking at Table 2.7, what is the ASCII code for the letter g ?
b) The EBCDIC code for the letter A is 1100 0001, and the EBCDIC code for the letter a is 1000 0001. Given that the EBCDIC code for the letter G is 1100 0111, without looking at Table 2.6, what is the EBCDIC code for the letter g ?
c) The ASCII code for the letter A is 1000001, and the ASCII code for the letter a is 1100001. Given that the ASCII code for the letter Q is 1010001, without looking at Table 2.7, what is the ASCII code for the letter q ?
d) The EBCDIC code for the letter J is 1101 0001, and the EBCDIC code for the letter j is 1001 0001. Given that the EBCDIC code for the letter Q is 1101 1000, without looking at Table 2.6, what is the EBCDIC code for the letter q ?
e) In general, if you were going to write a program to convert uppercase ASCII characters to lowercase, how would you do it? Looking at Table 2.6, could you use the same algorithm to convert uppercase EBCDIC letters to lowercase?
f) If you were tasked with interfacing an EBCDIC-based computer with an ASCII or Unicode computer, what would be the best way to convert the EBCDIC characters to ASCII characters?
b) The EBCDIC code for the letter A is 1100 0001, and the EBCDIC code for the letter a is 1000 0001. Given that the EBCDIC code for the letter G is 1100 0111, without looking at Table 2.6, what is the EBCDIC code for the letter g ?
c) The ASCII code for the letter A is 1000001, and the ASCII code for the letter a is 1100001. Given that the ASCII code for the letter Q is 1010001, without looking at Table 2.7, what is the ASCII code for the letter q ?
d) The EBCDIC code for the letter J is 1101 0001, and the EBCDIC code for the letter j is 1001 0001. Given that the EBCDIC code for the letter Q is 1101 1000, without looking at Table 2.6, what is the EBCDIC code for the letter q ?
e) In general, if you were going to write a program to convert uppercase ASCII characters to lowercase, how would you do it? Looking at Table 2.6, could you use the same algorithm to convert uppercase EBCDIC letters to lowercase?
f) If you were tasked with interfacing an EBCDIC-based computer with an ASCII or Unicode computer, what would be the best way to convert the EBCDIC characters to ASCII characters?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
14
When would you choose a CRC code over a Hamming code? A Hamming code over a CRC?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
15
Perform the following base conversions: 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
16
Convert the hexadecimal number
to binary.

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
17
What decimal value does the 8-bit binary number 10110100 have if:
a) it is interpreted as an unsigned number?
b) it is on a computer using signed-magnitude representation?
c) it is on a computer using one's complement representation?
d) it is on a computer using two's complement representation?
e) it is on a computer using excess-127 representation?
a) it is interpreted as an unsigned number?
b) it is on a computer using signed-magnitude representation?
c) it is on a computer using one's complement representation?
d) it is on a computer using two's complement representation?
e) it is on a computer using excess-127 representation?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
18
What is the most common representation used in most computers to store signed integer values and why?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
19
Using signed-magnitude representation, complete the following operations: 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
20
Assume a 24-bit word on a computer. In these 24 bits, we wish to represent the value 295.
? a) How would the computer represent the decimal value 295?
? b) If our computer uses 8-bit ASCII and even parity, how would the computer represent the string 295?
? c) If our computer uses packed BCD with zero padding, how would the computer represent the number 1295?
? a) How would the computer represent the decimal value 295?
? b) If our computer uses 8-bit ASCII and even parity, how would the computer represent the string 295?
? c) If our computer uses packed BCD with zero padding, how would the computer represent the number 1295?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
21
Find the quotients and remainders for the following division problems modulo 2. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
22
How many of the "numbers to remember" (in all bases) from Table 2.1 can you remember?
Reference of Table 2.1:
Reference of Table 2.1:

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
23
If a computer is capable only of manipulating and storing integers, what difficulties present themselves? How are these difficulties overcome?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
24
How many bits long is a double-precision number under the IEEE-754 floating-point standard?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
25
What is a Hamming code?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
26
Suppose a computer uses 4-bit one's complement representation. Ignoring overflows, what value will be stored in the variable j after the following pseudocode routine terminates? 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
27
Decode the following ASCII message, assuming 7-bit ASCII characters and no parity:
1001010 1001111 1001000 1001110 0100000 1000100 1001111 1000101
1001010 1001111 1001000 1001110 0100000 1000100 1001111 1000101
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
28
Find the quotients and remainders for the following division problems modulo 2. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
29
Convert the following decimal fractions to binary with a maximum of six places to the right of the binary point:
? a) 26.78125
? b) 194.03125
? c) 298.796875
? d) 16.1240234375
? a) 26.78125
? b) 194.03125
? c) 298.796875
? d) 16.1240234375
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
30
Convert the hexadecimal number
to binary.

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
31
Given the following two binary numbers: 11111100 and 01110000.
a) Which of these two numbers is the larger unsigned binary number?
b) Which of these two is the larger when it is being interpreted on a computer using signed two's complement representation?
c) Which of these two is the smaller when it is being interpreted on a computer using signed-magnitude representation?
a) Which of these two numbers is the larger unsigned binary number?
b) Which of these two is the larger when it is being interpreted on a computer using signed two's complement representation?
c) Which of these two is the smaller when it is being interpreted on a computer using signed-magnitude representation?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
32
You have stumbled on an unknown civilization while sailing around the world. The people, who call themselves Zebronians, do math using 40 separate characters (probably because there are 40 stripes on a zebra). They would very much like to use computers, but would need a computer to do Zebronian math, which would mean a computer that could represent all 40 characters. You are a computer designer and decide to help them. You decide the best thing is to use BCZ, Binary-Coded Zebronian (which is like BCD except it codes Zebronian, not Decimal). How many bits will you need to represent each character if you want to use the minimum number of bits?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
33
Perform the following binary multiplications using Booth's algorithm, assuming signed two's complement integers: 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
34
Why would a system designer wish to make Unicode the default character set for their new system? What reason(s) could you give for not using Unicode as a default? (Hint: Think about language compatibility versus storage space.)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
35
Find the quotients and remainders for the following division problems modulo 2. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
36
What does overflow mean in the context of unsigned numbers?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
37
What are the goals of Booth's algorithm?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
38
What is EBCDIC, and how is it related to BCD?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
39
What is meant by Hamming distance, and why is it important? What is meant by minimum Hamming distance?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
40
Using arithmetic shifting, perform the following:
a) double the value
b) quadruple the value
c) divide the value
in half
a) double the value

b) quadruple the value

c) divide the value

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
41
Assume we wish to create a code using 3 information bits, 1 parity bit (appended to the end of the information), and odd parity. List all legal code words in this code. What is the Hamming distance of your code?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
42
Find the quotients and remainders for the following division problems modulo 2. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
43
Convert the following decimal fractions to binary with a maximum of six places to the right of the binary point:
a) 25.84375
b) 57.55
c) 80.90625
d) 84.874023
a) 25.84375
b) 57.55
c) 80.90625
d) 84.874023
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
44
Represent the following decimal numbers in binary using 8-bit signed magnitude, one's complement, two's complement, and excess-127 representations.
? a) 77
? b) -42
c) 119
d) -107
? a) 77
? b) -42
c) 119
d) -107
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
45
Using a "word" of 3 bits, list all the possible signed binary numbers and their decimal equivalents that are representable in:
a) Signed magnitude
b) One's complement
c) Two's complement
a) Signed magnitude
b) One's complement
c) Two's complement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
46
Add the following unsigned binary numbers as shown. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
47
If the floating-point number representation on a certain system has a sign bit, a 3-bit exponent, and a 4-bit significand:
a) What is the largest positive and the smallest positive number that can be stored on this system if the storage is normalized? (Assume that no bits are implied, there is no biasing, exponents use two's complement notation, and exponents of all zeros and all ones are allowed.)
b) What bias should be used in the exponent if we prefer all exponents to be nonnegative? Why would you choose this bias?
a) What is the largest positive and the smallest positive number that can be stored on this system if the storage is normalized? (Assume that no bits are implied, there is no biasing, exponents use two's complement notation, and exponents of all zeros and all ones are allowed.)
b) What bias should be used in the exponent if we prefer all exponents to be nonnegative? Why would you choose this bias?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
48
Suppose we are given the following subset of code words, created for a 7-bit memory word with one parity bit: 11100110, 00001000, 10101011, and 11111110. Does this code use even or odd parity? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
49
Using the CRC polynomial 1011, compute the CRC code word for the information word, 1011001. Check the division performed at the receiver.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
50
Name the four ways in which signed integers can be represented in digital computers, and explain the differences.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
51
How does carry differ from overflow?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
52
What is ASCII, and how did it originate?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
53
How is the number of redundant bits necessary for code related to the number of data bits?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
54
Using the model in the previous question, including your chosen bias, add the following floating-point numbers and express your answer using the same notation as the addend and augend:
Calculate the relative error, if any, in your answer to the previous question.

Calculate the relative error, if any, in your answer to the previous question.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
55
Are the error-correcting Hamming codes systematic? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
56
Using the CRC polynomial 1101, compute the CRC code word for the information word, 01001101. Check the division performed at the receiver.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
57
Perform the following base conversions using subtraction or division-remainder:
Perform the following base conversions using subtraction or division-remainder:

Perform the following base conversions using subtraction or division-remainder:

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
58
Convert the following decimal fractions to binary with a maximum of six places to the right of the binary point:
a) 27.59375
b) 105.59375
c) 241.53125
d) 327.78125
a) 27.59375
b) 105.59375
c) 241.53125
d) 327.78125
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
59
Represent the following decimal numbers in binary using 8-bit signed magnitude, one's complement, two's complement, and excess-127 representations:
a) 60
b) -60
c) 20
d) -20
a) 60
b) -60
c) 20
d) -20
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
60
Using a "word" of 4 bits, list all the possible signed binary numbers and their decimal equivalents that are representable in:
a) Signed magnitude
b) One's complement
c) Two's complement
a) Signed magnitude
b) One's complement
c) Two's complement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
61
Add the following unsigned binary numbers as shown. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
62
Assume we are using the simple model for floating-point representation as given in the text (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit for the number):
a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format.
b) Show how the computer would add the two floating-point numbers in part a by changing one of the numbers so they are both expressed using the same power of 2.
c) Show how the computer would represent the sum in part b using the given floating- point representation. What decimal value for the sum is the computer actually storing? Explain.
a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format.
b) Show how the computer would add the two floating-point numbers in part a by changing one of the numbers so they are both expressed using the same power of 2.
c) Show how the computer would represent the sum in part b using the given floating- point representation. What decimal value for the sum is the computer actually storing? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
63
Compute the Hamming distance of the following code:
0011010010111100
0000011110001111
0010010110101101
0001011010011110
0011010010111100
0000011110001111
0010010110101101
0001011010011110
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
64
Using the CRC polynomial 1101, compute the CRC code word for the information word, 1100011. Check the division performed at the receiver.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
65
The word bit is a contraction for what two words?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
66
Which one of the four representations for signed integers is used most often by digital computer systems?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
67
What is arithmetic shifting?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
68
Explain the difference between ASCII and Unicode.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
69
What is a burst error?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
70
What causes divide underflow, and what can be done about it?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
71
Compute the Hamming distance of the following code:
0000000101111111
0000001010111111
0000010011011111
0000100011101111
0001000011110111
0010000011111011
0100000011111101
1000000011111110
0000000101111111
0000001010111111
0000010011011111
0000100011101111
0001000011110111
0010000011111011
0100000011111101
1000000011111110
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
72
Using the CRC polynomial 1101, compute the CRC code word for the information word, 01011101. Check the division performed at the receiver.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
73
Perform the following base conversions using subtraction or division-remainder: 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
74
Convert the following binary fractions to decimal:
a) 10111.1101
b) 100011.10011
c) 1010011.10001
d) 11000010.111
a) 10111.1101
b) 100011.10011
c) 1010011.10001
d) 11000010.111
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
75
Represent the following decimal numbers in binary using 8-bit signed magnitude, one's complement, two's complement, and excess-127 representations:
a) 97
b) -97
c) 44
d) -44
a) 97
b) -97
c) 44
d) -44
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
76
From the results of the previous two questions, generalize the range of values (in decimal) that can be represented in any given x number of bits using:
a) Signed magnitude
b) One's complement
c) Two's complement
a) Signed magnitude
b) One's complement
c) Two's complement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
77
Subtract the following signed binary numbers as shown using two's complement arithmetic. 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
78
Why do we usually store floating-point numbers in normalized form? What is the advantage of using a bias as opposed to adding a sign bit to the exponent?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
79
In defining the Hamming distance for a code, we choose to use the minimum (Hamming) distance between any two encodings. Explain why it would not be better to use the maximum or average distance.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck
80
Pick an architecture (such as 80486, Pentium, Pentium IV, SPARC, Alpha, or MIPS). Do research to find out how your architecture approaches the concepts introduced in this chapter. For example, what representation does it use for negative values? What character codes does it support?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 120 في هذه المجموعة.
فتح الحزمة
k this deck