Customer Service Chat
Get quote & make Payment
Discrete mathematics for computing, math, Mathematics
Everything stored on a computer can be represented as a string of bits. However, different
types of data (for example, characters and numbers) may be represented by the same string of
bits. For this question, we assume that text characters (or symbols) are stored in 8 bit ASCII
code and that numbers are stored in 12 bits. We also assume that when the number is stored
as a floating point (real) number, 6 of these bits are reserved for the mantissa (or significand)
with 2 1
? as the exponent bias (where k is the number of bits for the characteristic).
For example, the string of bits 001101100011100100110101 might represent the three
characters in 695 or two numbers, which will be different depending on whether the numbers
are stored as integers (867 and -1739 here) or as floating point numbers (0.13671875 and
-0.00040435791015625 here). More precisely, any real number between 0.13671875 and
0.140625 will have the same floating point representation in this, not very accurate, scheme.
Similarly, any real number between -0.00040435791015625 and -0.0004119873046875 will
also have the same computer representation.
(a) Find the computer representation for the negative integer -1231
(b) Find the computer representation for the negative floating point number -1231
(c) In storing the floating point number -1231 (part (b) above) the mantissa has been
truncated hence the number stored is not exactly -1231. What is the actual number
(d) Find the 8 bit ASCII code for the five characters -1231
The five questions (e)-(i) below refer to the string of bits
(e) Represent this bit string as a hexadecimal number.
(f) In 8 bit ASCII code, what characters does this string represent?
(g) If the string represents a pair of integers, what are these two integers?
(h) If the string represents a pair of floating point numbers, what are these two (smallest)
(i) Give the ranges of other real numbers that could be represented by the same string
Posted Date: 3/15/2012 7:30:46 AM | Location : United States
Ask an Expert
Discrete mathematics for computing, math, Assignment Help, Ask Question on Discrete mathematics for computing, math, Get Answer, Expert's Help, Discrete mathematics for computing, math Discussions
Write discussion on Discrete mathematics for computing, math
Your posts are moderated
Write your message here..
Equations and their solutions, z+31=73 for z=42
z+31=73 for z=42
Mashed patatos, I have 6 cups of patatos that I have to share with 13 frien...
I have 6 cups of patatos that I have to share with 13 friends write that as the nearest hundredth
Marketing question, If a country with a struggling economy is losing the ba...
If a country with a struggling economy is losing the battle of the marketplace, should the affected government adjust its trade barriers to tilt the economic advantage of its domes
Determine the fraction of the time, Ipswich has two ambulances. Ambulance 1...
Ipswich has two ambulances. Ambulance 1 is based at the local college and ambulance 2 is based downtown. If a request for an ambulance comes from the local college, the college-bas
Properties of definite integral, Properties 1. ∫ b a f ( x ) dx = -∫ ...
Properties 1. ∫ b a f ( x ) dx = -∫ b a f ( x ) dx . We can interchange the limits on any definite integral, all that we have to do is tack a minus sign onto the integral
Augmented matrix, Consider the following system of linear equations. X 1...
Consider the following system of linear equations. X 1 +x 3 +x 4 = 2 X 1 +x 2 +x 3 = 6 X 2 +x 3 +x 4 = 3 X 1 +x 2 +x 4 = 0 (a) Write out the augmented matrix fo
Find the distance of the journey, A train covered a certain distance at a u...
A train covered a certain distance at a uniform speed. If the train would have been 6km/hr faster, it would have taken 4hours less than the scheduled time. And if the train were
Cyclic permutations, the operations of cyclic permutations
the operations of cyclic permutations
Sums and differences of cubes and other odd powers, Sums and Differences of...
Sums and Differences of Cubes (and other odd powers)? You can factor a sum or difference of cubes using the formulas a 3 - b 3 = (a - b )(a 2 + ab + b 2 ) and a 3 + b 3 =
Four distinct points on a circle, If (a,1/a), (b,1/b),(c,1/c),(d,1/d) are f...
If (a,1/a), (b,1/b),(c,1/c),(d,1/d) are four distinct points on a circle of radius 4 units then,abcd is equal to?? Ans) As they are of form (x,1/x) let eq of circle be x
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.