Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

HOMEWORK

1) Determining the format of the number to be entered first (binary, decimal and hexadecimal)

 This should be done using the CheckBoxes found in the interface.

  • Access to the other two text boxes outside the relevant text box according to the preferred option
  • When Binary is selected, the corresponding TextBox must be set to 1 or 0 only. And also When binary is selected, 0b per line should be automatically written to the TextBox.
  • When Hexadecimal is selected, 0X per textbox should be written automatically. Again, When hexadecimal is selected, only the numbers 0-9 or A-F English characters between;

2) After that, it will be selected how many bits should be expressed. Here 8 bit and 16 bit options

  • If the number entered cannot be expressed as 8 or 16 bits according to the selected bit value, the program

"The number entered is 8/16 (whichever is selected) cannot be expressed in bits" warning (Example given in the annexes) (Annex 1).

3) When the numbers are signed (signed) or unsigned (unsigned)

  • If the unsigned option is selected and a negative number is entered, the program should give warning. (Example given in the annexes) (Annex 2)

4) The operation should be done not only for integer (integer) numbers but also for float (real number) numbers.

The format and bit number (32 bit or 64 bit) of the entered number must be selected again.

(Floating point numbers are also expressed in the selected bit, and only the corresponding format The selection of TextBox is valid.)

The operation of the program for the sample numbers is given in Annex 3 to Annex 6.

The floating point conversion for 32 bits will be explained in detail. (A similar for 64 bit Demonstration and is given in Annex 7).

32 bit float representation

  • 1 bit sign bit,
  • 8 bit Exponent;
  • 23 bit Mantissa shape.

I

E

E

E

E

E

E

E

E

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

M

The sign bit varies depending on whether the count is positive or negative. If the number is positive.

The sign bit is 0; the sign bit is 1 if it is negative;

If Exponent is the integer part of the number,

This value is the bias (27-1 = 127) and writes with 8 bits

Is the value formed?

Mantissa is the root value of the number. Mantissa is described in detail in the example.

Attachment:- Assignment.rar

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92181975

Have any Question?


Related Questions in Computer Engineering

Hydrogen sulfide h2s a toxic gas redolent of sewage and

Hydrogen sulfide (H2S), a toxic gas redolent of sewage and rotten eggs, is prepared from hydrochloric acid and sodium sulfide by this reaction: 2HCl(aq) + Na2S(aq) → H2S(g) + 2NaCl(aq). Determine the percent yield if 3.7 ...

You randomly sample 50 theaters in the united states you

You randomly sample 50 theaters in the United States. You ask those theaters how much they charge for a large popcorn, and you get a sample mean of $6. Then, you make confidence interval using this data with the lower li ...

Fully explain at least one reason why many developing

Fully explain at least one reason why many developing countries suffered serious debt crisis in the early 1980s. Does this reason you explained in debt support Krueger & Srinivasan's argument? Why or why not? How could t ...

Questionsuppose we are comparing implementations of

Question Suppose we are comparing implementations of insertion sort and merge sort on the same machine. For inputs of size n, insertion sort runs in 8n2 steps, while merge sort runs in 64nlgn steps. For which values of n ...

The marginal revenue and marginal cost functions for a

The marginal revenue and marginal cost functions for a monopolist firm that mines diamonds are given by:

In 2005 team dad used a toyota truck with a system of

In 2005, Team DAD used a Toyota truck with a system of spinning lasers as its "visual" system. What advantages and or disadvantage does such a system have compared to camera-based systems?

It has been argued that although there may be more claims

It has been argued that although there may be more claims when road conditions are slippery in the winter, this should not affect the average claim. Malpeque took a sample of 50 claims from the winter of 2018 and found t ...

Suppose we have a magnetic disk with the following

Suppose we have a magnetic disk with the following parameters: • Average seek time = 8 ms • Rotation rate = 7200 RPM • Transfer rate = 150 MB/second • Sector size = 512 bytes. What is the average time to read a single se ...

Create a class named horse that contains data fields for

Create a class named Horse that contains data fields for the name, color, and birth year. Include get and set methods for these fields. Next, create a subclass named RaceHorse, which contains an additional field that hol ...

Question research and discuss strategies and techniques

Question : Research and discuss strategies and techniques for improving a web site's presence and ranking in popular search engines such as Google and Yahoo. What are some of the new form attributes in HTML5? How are the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As