Determining the format of the number to be entered first

Assignment Help Computer Engineering
Reference no: EM131315429

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.

Reference no: EM131315429

Questions Cloud

Identifying some of the technology used by law enforcement : Write a 500-600 word paper identifying some of the technology used by law enforcement in carrying out their duties
What is the height of the air column : The piston is depressed by pouring mercury on it slowly, so that the temperature of the air is maintained constant. What is the height of the air column when mercury starts to spill over the top of the cylinder?
Identify your independent variable and dependent variable : Consider the various building blocks of an appropriate research design. Respond to the following: Identify your problem statement. Identify your independent variable and dependent variable
Derive formula for a quasi-static adiabatic process : Helium (ϒ=3/5) at 300 K and 1 atm pressure is compressed quasi-statically and adiabatically to a pressure of 5 atm. Assuming that the helium behaves like the ideal gas, calculate the final temperature.
Determining the format of the number to be entered first : Determining the format of the number to be entered first - If the number entered cannot be expressed as 8 or 16 bits according to the selected bit value, the program - The sign bit varies depending on whether the count is positive or negative.
How much mercury can be poured in before mercury overflows : The long and short arms are 1m and 0.5 m long, respectively, and effects due to the curvature of the bottom may be neglected. Take atmospheric pressure to be 76 cm Hg.
Identify and analyze future changes related to the issue : Selected Topic or is issue is: Use of technology by officers and the community. Include the following in the presentation: Identify and analyze future changes related to the issue you selected
Describe the tools and skills associated with leading teams : Describe the tools and skills associated with leading teams, and analyze how these tools and skills influence the success of the project and the project manager.
What are potential risks to the project : What are potential risks to the project? If the potential risk does occur, what can be done to potentially mitigate the impact on the project? What is the likelihood and potential impact of those risks to the project?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Do a research systems architecture in healthcare websites

do a research systems architecture in healthcare websites. nbspwrite a 3-5 page paper in apa format. clearly show

  How to write a sql insert statement

Write down a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection (use salaries to restrict the data).

  How the structure of the tree changes

In this assignment, you will be implementing a 2-3 tree to handle the DVD database of. a video store., A 2-3 tree is a tree satisfying the following requirements.

  Why sapient developed its own agile methodology

Identify at least three requirements needed before implementing Sapient's agile methodology for its internal and external customers and describe a non-agile alternative that Sapient could have considered.

  Write a program use a matrix represent

Write a Program Use a matrix represent.

  Deducing an expression for pp

Utilizing the information above, deduce an expression for the PP, and provide comment on resulting expression. Also, what the ATM services would you utilize in order to obtain the best possible performance?

  Robotics research project

Write a paper on a topic of your choice in the area of robotics.

  How to design the physical implementation

Setup the database using Microsoft Access. how to Design the physical implementation.

  Is a level four dfd an appropriate limit

What are the advantages and disadvantages to setting a limit for the maximum depth for a DFD? Is a level 4 DFD an appropriate limit?

  How is this achieved in your code

In order for the instance below to work, could you have a variable named "field"? How would the variables on either side of the MOVE statement need to be defined as.

  Make a class named pay that includes five double variables

make a class named Pay that includes five double variables.

  What is role of risk assessment

What is role of risk assessment

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