Use the 2s complement

Assignment Help Basic Computer Science
Reference no: EM13892636

Problem 1  Convert the following decimal numbers into (a) 8-bit, (b) 16-bit, and (c) 32-bit binary numbers. For negative numbers, use the 2's complement. State "overflow" if a number cannot be represented correctly.

1)      45 ten.

2)      -81 ten.

3)      -3,000 ten.

 

Problem 2  What decimal number does each of the following two's complement binary number represent?

1)      1111 1111 1111 1111 1111 1111 1011 1101 two.

2)      1111 1111 1111 1111 1111 1111 1101 1001 two.

3)      0111 1111 1111 1111 1111 1111 1011 1111 two.

 

Problem 3  Show the IEEE 754 binary representation for the following floating-point numbers in single and double precision. Give your results in hexadecimal format.

1)      19 ten.

2)      2.375 ten.

3)      -0.3ten.

Reference no: EM13892636

Questions Cloud

Describe a specific issue related to health care access : Describe a specific issue related to health care access or policy with respect to a particular ethnic or socioeconomic group.
What does it mean to consecrate a place? : What does it mean to consecrate a place?
Modify the payroll program so that it uses a class to store : Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information, and a method within that class to calculate the w..
How did you frame the decisions you had to make : What biases and past experiences influenced your impressions and decision making? Do you think aspects of your culture or views of a different culture impacted your impressions? How did you frame the decisions you had to make? How did your emotions..
Use the 2s complement : Problem 1  Convert the following decimal numbers into (a) 8-bit, (b) 16-bit, and (c) 32-bit binary numbers. For negative numbers, use the 2's complement. State "overflow" if a number cannot be represented correctly. 1)  45 ten. 2)   -81 ten.  3)-3,0..
What legal implication of these challenges for administraton : Summarize significant findings about this group that inform attitudes and preferences around end-of-life care (e,g., inform consent, life support, advance directives, communication styles, and/or decision making, etc.), and cite your sources of info..
Unadjusted trial balance and information for the accounting : 1.The unadjusted trial balance and information for the accounting adjustments of Noseworthy Investigators follow.
What would be the best way for an electrical : What would be the best way for an electrical engineer to enter the automotive industry?
What is the difference between inputstream and filereader : WHat is the difference between InputStream and FileReader?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Find the distance from the point

find the distance from the point (1 2 3) from each of the following 1) the line of intersection of the plane p1 x-2y-3z=4 and p2 ; 2x-y +5z=1 2) the plane perpendicular to the ( X+2)/3= (Y-1)/-2 = (Z-3)/-1

  Problem regarding fat file system-ntfs file system

You have been asked to document, in a white paper, information about the file allocation table (FAT) and the new technology file system (NTFS).

  How can you delete the windows old folder

How can you delete the Windows old folder.

  Writing an instruction sequence to swap

Write an instruction sequence to swap the 16-bit word stored at $1000 $1001 with the 16-bit word stored at $1100 - $1101.

  What input function is used to read a single character

What functions are used instead of the >> and

  Discuss different reasons terminating a process and command

discuss the different reasons for terminating a process and the commands used for this purpose.

  Declare an integer constant for the size of the array

When the user runs this block of code, the values in the array will be displayed, along with a sum value, the lowest value, and the number of occurrences of the lowest value.

  Fundamental advantages and disadvantages of using software

Discuss the fundamental advantages and disadvantages of using software as a service (SaaS) within organizations. Next, give your opinion as to why SaaS has become a common delivery model for many business applications.

  A population regression model

1. Assume that there is a population regression model y = β0 + β1x1 + β2x2 + β3x3 + u and that the model satisfies assumptions MLR1 through MLR5 in the population. Indicate, without explanation, whether the following statements are true or false

  Analyze use of digital signatures to validate device drivers

Analyze the use of digital signatures to validate device drivers. Describe a situation where it is necessary to bypass this protection. Justify your response.

  Explain the role of modern day computing

From your own standpoint, explain the role of modern day computing (from portable ultrabooks to number-crunching supercomputers) in the application of optimization to real life design.

  Design a program flowchart that asks user to enter integers

Design a program flowchart that asks the user to enter three integers and the programs finds and displays the minimum and the maximum of these three integers. Please use "click chart" to draw the flowchart of your design.

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