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

  Normal 0 false false false en-us x-none

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

  Task a create a complete job description for the benefits

task a create a complete job description for the benefits manager position using onet. raquoto design a pay structure

  1 what are the problems in the performance appraisal system

1 what are the problems in the performance appraisal system of arrow electronics?2 if you were the ceo of arrow

  Create a program that makes an object

Create a class named Pet, after creating the class, create a program that makes an object of the class and prompts the user to enter the name, type, and age of his pet.

  Explain monotone instance of satisfiability

Given monotone instance of Satisfiability, together with number k, problem of Monotone Satisfiability with Few True Variables asks: is there satisfying assignment for instance in which at most k variables are set to 1.

  1 discuss your assumptions and beliefs as a leader discuss

1. discuss your assumptions and beliefs as a leader. discuss how these have changed or evolved while studying business

  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.

  Create and monitor accountability through performance

create and monitor accountability through performance management measurement at hod level for effectiveness and

  Task 1part onea research strategy is a plan of action that

task 1part onea research strategy is a plan of action that gives direction to your efforts enabling you to conduct your

  Design jflap truing machine takes input a tape

Design in JFLAP a Truing machine that takes as input a tape containing a series of n 1s, Where n >= 0, terminated by an = sign.

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  1let s1 and s2 be two strings of lengths m and n

1.let s1 and s2 be two strings of lengths m and n respectively. by de?nition a superstring of s1 and s2 is one which

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