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

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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