Determining the format of the number to be entered first

Assignment Help Computer Engineering
Reference no: EM131372138

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

Reference no: EM131372138

Questions Cloud

Explain how control is related to planning and organizing : Explain how control is related to planning, organizing, staffing, and leading. Describe the three-step approach to management control. Which step do you think would be the most difficult? What could you do to make that step easier?
Which is more applicable across the widest possible range : Write a one to two page paper in which you determine which is more applicable across the widest possible range of situations: process modeling or configuration management. Be sure to explain your rationale.
Summarize the important points of the video : Summarize the important points of the video and include:The specific ways sensor technology is being used today.The specific ways sensor technology can be used in the future.Current benefits from sensors.The potential impact that sensors will afford ..
Describe the job characteristics model : Describe the Job Characteristics Model. Determine which job dimension was changed with the team arrangement and explain how that dimension was affected.
Determining the format of the number to be entered first : Determining the format of the number to be entered first (binary, decimal and hexadecimal). Access to the other two text boxes outside the relevant text box according to the preferred option
What do you think isimportant to houstonians : Houstonwas the first major city in the United States to elect an openly lesbian mayor.Annise Parker was elected city-wide nine times in a row over 18 years - drawingvotes from a wide range of Houstonians. Interestingly, her sexual orientationwas n..
What is the target requirement output for overall system : One requirement of a power generation system states that it must provide 500 kilowatt hour minimum output. What is the target requirement output for the overall system? What are the target requirement outputs for each of the subsystems?
Sales growth to decrease the value of profitable company : Compare and contrast what a manager can show in a line graph, bar chart, pie chart, and control chart. Explain how it's possible for sales growth to decrease the value of a profitable company. Define a cash budget? what are the typical elements of ca..
Compute the jacobian for the first iteration : Compute the Jacobian for the first iteration, and continue all the iterations without updating it.  Does the problem converges? Explain why? Plot of the voltage magnitudes and angles as a function of the bus number for the first and last iterations..

Reviews

Write a Review

Computer Engineering Questions & Answers

  The comma-separated values csv file format is a delimited

the comma-separated values csv file format is a delimited data format commonly used as a portable representation of

  Explain technologies you could use to present information

Explain two technologies you could use to present the information contained in this presentation in a more effective manner to this audience.

  Create a new project in bluej called assignment

Facebook now want to expand their software to include extra features. They need the software to be able to maintain large numbers of Friends and Stories. It must also include the ability to add Events and to classify Friends as best friends or close ..

  Program the user types an item number and a quantity

I need a program for a mail-order company. The program uses a data-entry screen in which the user types an item number and a quantity. Write each record to a file. Save program as MailOrderWrite.java

  Create application to manipulate array of student record

Create an application to manipulate an array of student record objects. A student record will consist of a name (first, middle, and last), an ID number (9 numeric digits, cannot be more or less), an address (street, city, state, and 5 digit Zip co..

  Develop a charter for the rals rostering project

Analyse these risks, assign a risk to an appropriate member, and describe a strategy for the management of each specific risk - Define Scope and produce a Scope Management Plan - Develop a charter for the RALS Rostering project.

  Your ciso asks you to review the seven domains of the

a your ciso asks you to review the seven domains of the typical it infrastructure and describe how you will 1 reduce

  Questiona a gui might contain text-fields buttons and other

questiona a gui might contain text-fields buttons and other labels. a button frequently triggers an event on the gui.

  Complete the truth table for the given sequential circuit

Construct a truth table and find the minimized Boolean function to implement the logic telling the director when to hire. Draw a circuit diagram for the Boolean function. Complete the truth table for the following sequential circuit

  Explain working procedure for karnaugh map

describe working procedure for Karnaugh map or K-map for two-, three- and four-variable functions.

  Health care services

Compare and contrast the cost-effectiveness, benefit-cost, and cost-utility analysis and find which is most useful to assess value of the health care services overall.

  Questionto recover the overall functionality and good

questionto recover the overall functionality and good organization of your product ordering java application you are

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