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

  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

  Communication process using a particular computer device

The enhancement of communication process using a particular computer device or software application by the people.

  Finite-state machine design

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

  Write down an illustration of a hypothetical situation when

question 1 explain why t1s values above 0 versus c will not matter for comparing algorithms.question 2 give an example

  Hr ethics are important to organizations as they can have

hr ethics are important to organizations as they can have legal and moral implications. in this assignment you will

  A new manager is starting in the organisation shortly you

a new manager is starting in the organisation shortly. you have been asked to provide an outline to this new-starter so

  Prepare an annotated outline of the final project briefly

prepare an annotated outline of the final project briefly indicating the content you plan to include in each section of

  Implement finite state machine to recognze input string

Write implememnt finite state machine which recognzes input string according to following rules. First character should be either letter(upper or lower case.)

  Productions of nonterminals as right regular grammars

Rewrite the productions for each of the following nonterminals as right regular grammars: Identifier, Float. Show the moves made using the DFSA for identifiers in accepting.

  Joe must decide how he will answer bills invitation to join

joe must decide how he will answer bills invitation to join him and his family on their yacht. complete the following

  Rahman s a 2006 lsquoattitudes of malaysian teachers toward

rahman s. a. 2006 lsquoattitudes of malaysian teachers toward a performance-appraisal system journal of applied social

  Where could errors occur

Where could errors occur in Figure and for each error, what action would you take should the error occur

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