Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Consider the following floating point representation where each number has 2
exponent bits and 5 fraction bits. The exponent bias is 1. Round each number to
have 3 fraction bits. Apply round-to-even and round-toward-zero modes.
a. 1 10 11100
b. 0 00 00101
c. 1 01 10101
i. Can you see a pattern for rounding floating point numbers when the
number of exponent bits are intact?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps
Knowledge Booster
Similar questions
- Show Steps Please 20. Suppose we have just found yet another representation for floating point numbers. Using thisrepresentation, a 12-bit floating point number has 1 bit for the sign of the number, 4 bits forthe exponent and 7 bits for the mantissa, which is normalized as in the Simple Model so thatthe first digit to the right of the radix points must be a 1. Numbers in the exponent are in signed2's complement representation. No bias is used and there are no implied bits. Show therepresentation for the smallest positive number this machine can represent using the followingformat (simply fill in the squares provided). What decimal number does this equate to?arrow_forwardShow yor step by step solution of conversion Dont use answers from other websites please! Please type your answer not picture 1. Assume we are using the simple model for floating-point representation discussed in the class (the representation uses a 14-bit format, 5 bits for the exponent with an Excess-M, a significand of 8 bits, and a single sign bit for the number): Convert -123.075 to the floating-point binary representation.arrow_forwardThe number 12.410 is to be written using the closest 8-bit unsigned binary representation. i.Show, using a table of column weightings, that 1100.01102 represents the decimal value 12.37510. ii.Show, using a table of column weightings, that 1100.01112 represents the decimal value 12.437510. iii.Using your results from (i) and (ii) write down the 8-bit unsigned binary number and its decimal equivalent that gives the best approximation to 12.410. iv.Write the decimal number you wrote down in (iii) as a percentage of 12.4. Write your final answer as a percentage rounded to two decimal places.arrow_forward
- Suppose that we use the floating-point format with 12 decimal digits, SEEEMMMMMMMM, to rep- resent a real number, where S is the digit to represent the sign of the mantissa (use 0 for pos- itive and 5 for negative), EEE are the 3 digits to represent the exponent in excess-500 format, MMMMMMMM are the 8 digits to represent the magnitude of the mantissa, and the decimal point of the mantissa is right to the left of MMMMMMMM (i.e., SEEEMMMMMMMM representing the real number ±0.MMMMMMMM × 10EEE-500) What is the second largest positive number that can be represented in this for- mat? How much less is this number compared to the largest number? Can you represent a number located somewhere between the largest number and the second largest number?arrow_forwardConsider a 16-bit binary floating point number representation system: + SE E EEEE m m m m The first bit of the exponent is dedicated to its sign. Assume that the mantissa must start with a '1'. Use this system to answer the following questions: 1. What is the smallest (magnitude) number that can be represented with this system? 2. Calculate the relative round-off error introduced when this system tries to represent e = 2.718281828459045235360287 .. using rounding.arrow_forwardFor example: Binary value of character ‘B’ from ASCII table is 01000010Dataword is 1000010 Even Parity Bit is 0 Codeword: 10000100 Even Parity – Complete the following table using Even Parity Character Binary Datawordfrom ASCII table(7-bit value) Parity BitValue TransmittedCodeword ReceivedCodewordat Receiver Check ifthecodewordisrejected t 1010100 10101101 h 1101000 11010000 i 1101001 11010010 s 1110011 11100110arrow_forward
- Show that the negation of Tmin is Tmin. You can pick any Tmin (Tmin for 4-bits, Tmin for 5 bits etc). Also, explain why the negation of Tmin is Tmin. (Hint: ‘negation’ and ‘not operator’ is not the same thingarrow_forwardWhen providing a base-ten block representation for the number 3.59, James uses 2 flats, 13 Rods, and 29 cubes. Is this an acceptable representation, if it is not explain why, if it is tell me the unit that James is using.arrow_forwardThe following is a string ASCII characters whose bit patterns have been converted into hexadecimal for compactness: CD 69 E4 54 E5 72 6D Of the eight bits in each pair of digits, the left most is a parity bit and the remaining bits are the ASCII code. Convert the string to bit form and decode the word in ASCII. What is the parity for each letter of the word?arrow_forward
- Assume we have a 2's complement system with an 8-bit whole number part and a 2-bit fractional part. Find a decimal representation of 2's complements binary number 1110 0010.01 it expects a numeric entry. It will automatically suppress leading and trailing zeros. It will display your answer with commas every third digit.arrow_forward1) Find the equivalent decimal value of the following floating-point representation using IEEE 754 standard single-precision (32-bit floating-point number with bias = 127) 1 0111 1111 1110 0000 0000 0000 0000 000 (The quiz is expecting a decimal numeric entry. It will automatically suppress leading and trailing zeros. It will display your answer with commas every third digit.) 2) Find an IEEE 754 floating-point representation of -74.2 decimal number. Enter 32 bits without a space. (The quiz is expecting a fill in the blank text string in the entry box and grades on an exact match with the expected result. The answer should be formatted as a 32-bit IEEE 745 binary number representation)arrow_forwardConsider a floating point format that uses 4 digits in the significand including the leading 1. In other words, the significand is given by (1.d₁d2d3)2. (a) Assuming you have enough bits in the exponent, compute fl(25.75) for this floating-point format. (b) How many significant digits is fl(25.75) accurate to? (c) How many bits are needed in the exponent such that computing fl(25.75) will not result in nu- merical overflow?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY