Write down binary representation of decimal number

Assignment Help Theory of Computation
Reference no: EM13491386

Question 1: What is 5ED4 - 07A4 when these values represent signed 16-bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work.

Question 2: What is 4365 - 3412 when these values represent signed 12- bit octal numbers stored in sign-magnitude format. The result should be written in octal. Show your work.

Question 3: Assume 185 and 122 are signed 8-bit decimal integers stored in sign-magnitude format. Calculate 185 - 122. Is there overflow, underflow, or neither?

Question 4: Assume 151 and 214 are signed 8-bit decimal integers stored in two's complement format. Calculate 151 - 214 saturating arithmetic. The result should be written in decimal. Show your work.

Question 5: Write down the binary representation of the decimal number 63.25 assuming the IEEE 754 single precision format.

Question 6: Calculate the sum of 2.6125 X 101 and 4.150390625 X 10-1 by hand, assuming A and B are stored in the 16-bit half precision described in exercise 3.27. Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all steps.

/* REFERENCE PURPOSES ONLY Exercise 3.27:

IEEE 754-2008 contains a half precision that is only 16 bits wide. The leftmost bit is still the sign bit, the exponent is 5 bits wide and has a bias of 15 and the mantissa is 10 bits long. A hidden 1 is assumed.

*/

Question 7: Write down the bit pattern in the fraction of value 1/3 assuming a floating point format that uses binary numbers in the fraction. Assume there are 24 bits, and you do not need to normalize. Is this representation exact?

Reference no: EM13491386

Questions Cloud

What is the magnitude of the average velocity of the car : A car travels 90 m due north in 15 seconds. Then the car turns around and travels 40 m due south in 5 seconds. what is the magnitude of the average velocity of the car
How to convert the rate to dollarsper liter of gas : Agas company in Massachusetts charges $1.30 for 15.0 cubic ft of natural gas. (a) Convert this rate to dollarsper liter of gas. (b) It takes 0.304 cubic ft of gas to boil aliter of water, starting at room temperature
What is the electric field between the two planes : If a second plane with the same charge density is placed parallel and a distance d above the first one, what is the electric field between the two planes
Prepare a bank reconciliation : Assuming that instead of basing the provision for uncollectible accounts on an analysis of receivable, the adjusting entry on December 31 had been based on an estimated expense of ¼ of 1% of the net sales of $7,126,000 for the year, determine the ..
Write down binary representation of decimal number : Calculate the sum of 2.6125 X 101 and 4.150390625 X 10-1 by hand, assuming A and B are stored in the 16-bit half precision described in exercise 3.27. Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all steps.
Define bromine is a reddish-brown liquid : Bromine is a reddish-brown liquid. Calculate its den-sity (in g/mL) if 650 g of the substance occupies 188mL.
Explain the synthesis of 3-hexanol starting from acetylene : Determine the synthesis of 3-hexanol starting from acetylene. Use your book and choose the reagents. It will take several steps and many reagents to get to the product.
Define solutions in order of decreasing freezing point : Arrange the following solutions in order of decreasing freezing point: 0.20 m Fe(OH)2, 0.15 m C6H6, 0.10 m K3PO4, 0.15 m CH3COOH, 0.35 m KBr.
How much damages should be awarded to x co : The marginal cost to X Co. of supplying an additional tractor to a customer is $300. X Co. sues Mr. Y for breach of contract. How much damages should be awarded to X Co

Reviews

Write a Review

Theory of Computation Questions & Answers

  Write set of token types returned by lexical analyzer

Write down the set of token types to be returned by your lexical analyzer. Describe regular expressions for this set of token types.

  - write a short guidance note explaining 3 purposes of

- write a short guidance note explaining 3 purposes of induction and how these can benefit individuals and

  1 firstly critically discuss how job design can contribute

1. firstly critically discuss how job design can contribute to the growth and development of the individual skill

  Question 1 nbspconsider a logic function with three outputs

question 1. nbspconsider a logic function with three outputs a b and c and three inputs d e and f. the function is

  Create standard 1-tape turing machine to calculate function

Create a standard 1-tape Turing machine M to calculate the function sub3. Specifically, calculate sub3 of a natural number represented in binary.

  Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

  Extend the ac scanner

A floatdcl can be represented as either f or float, allowing a more Java-like syntax for declarations - a intdcl can be represented as eitheri or int.

  Assignment requires you both present and do a write up on a

assignment requires you both present and do a write up on a critical issue facing hr today. the scope is quite broad

  Normal 0 false false false en-us x-none

normal 0 false false false en-us x-none x-none

  Write mathematical formulation for non-terminal

Non-terminal A is useless if there is no derivation from start symbol to string of tokens in which A appears. Write a mathematical formulation of this property.

  Why are there so many laws relating to hrm practices which

why are there so many laws relating to hrm practices? which are the most important laws in your opinion?what

  1 produce a report of up to 500 words on the topic talent

1. produce a report of up to 500 words on the topic talent planning in operation. nbspnbspnbspnbsp please ensure that

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd