Login

Create Account
Customer Service Chat
+14156709189
info@expertsmind.com
Submit Homework/Assignment
Get quote & make Payment
Get Solution
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
k?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
[2 marks]
(b) Find the computer representation for the negative floating point number 1231
[2 marks]
(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
stored?
[2 marks]
(d) Find the 8 bit ASCII code for the five characters 1231
[2 marks]
The five questions (e)(i) below refer to the string of bits
010000100110000101110010
(e) Represent this bit string as a hexadecimal number.
[1 mark]
(f) In 8 bit ASCII code, what characters does this string represent?
[1 mark]
(g) If the string represents a pair of integers, what are these two integers?
[2 marks]
(h) If the string represents a pair of floating point numbers, what are these two (smallest)
numbers?
[4 marks]
(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
Related Discussions:
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..
Related Questions
Solve the recurrence relation, Solve the recurrence relation T ...
Solve the recurrence relation T (K) = 2T (K1), T (0) = 1 Ans: The following equation can be written in the subsequent form: t n  2t n1 = 0 Here now su
Three set problems, In a class,there are 174 students in form three,86 stud...
In a class,there are 174 students in form three,86 students play table tennis,84 play football and 94 play volleyball,30 play table tennis and volleyball,34 play volleyball and foo
Evaluate following limits at infinity, Evaluate following limits. ...
Evaluate following limits. Solution In this part what we have to note (using Fact 2 above) is that in the limit the exponent of the exponential does this, Henc
Cluster sampling, Cluster Sampling Cluster sampling is where a few geog...
Cluster Sampling Cluster sampling is where a few geographical regions for illustration, a location, village or town are selected at random and say every single household or sho
Continuous uniform distribution, Continuous Uniform Distribution Consid...
Continuous Uniform Distribution Consider the interest earned on a bank deposit. Let X equal the value after the decimal point. (Assume no rounding off to the nearest paise.) Fo
Triangle inequalities, poa is a straight line in circle,wher o is center of...
poa is a straight line in circle,wher o is center of circle,b is any pointjoined with p.prove that pa>pb
Expansion, a1/a =8 find
a1/a =8 find
What is probability that a person selected at random eyes, If 65% of the po...
If 65% of the populations have black eyes, 25% have brown eyes and the remaining have blue eyes. What is the probability that a person selected at random has (i) Blue eyes (ii) Bro
Work in volume problems, Work : It is the last application of integr...
Work : It is the last application of integral which we'll be looking at under this course. In this section we'll be looking at the amount of work which is done through a forc
Profit and loss, a man buy car at rs.50 and sells it at gain of 14% find ...
a man buy car at rs.50 and sells it at gain of 14% find the sp
Assignment Help
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
ExpertsMind Services
Online Tutoring
Projects Assistance
Exam Preparation
Coursework Help
Programming Help
IT Services
Why Us ?
~Experienced Tutors
~24x7 hrs Support
~Plagiarism Free
~Quality of Work
~Time on Delivery
~Privacy of Work