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

  What is the difference between a function and a formula

What is the difference between a function and a formula

  Company called aphrodite it staffing solution

Based on a company called Aphrodite IT staffing solution,

  Identify possible actors and use cases

1. Identify possible actors and use cases involved in Personal Trainer's operations. 2. Create an object relationship diagram for the Personal Trainer information system.

  Reverse the string

Reverse the string. If the reversed string is the same (.equals()) as the original, pared down, string then it is a palindrome.Way 2: Look at the first and last letter and see if they are the same (using the charAt() method), then the second letter ..

  In three sentences describe games you play on your computer

In three sentences describe some of the games you play on your computer. Explain when and why you play the games. (2) If you do not play games, describe the other things you do on your computer

  Function prototypes lack parameters

These function prototypes lack parameters; add whatever parameters you feel are necessary so that the program works without global variables. The program's output should reflect the bus's actions by reporting each change in state, along with the n..

  How documents appear both on the screen and when printed

Changing options in the screen affects how documents appear both on the screen and when printed

  Use free or open source

Use free or open source.

  Implement a program using function for a defined task

Implement a program using function for a defined task. Initial data is read from a file and added from keyboard. Program has to output resulting and initial data.

  What are some uses for wrapper classes

Wrapper classes are classes that surround primitive types with additional functionality. What are some uses for wrapper classes? Show some examples of how they could be used.

  Function count down

Function CountDown(count) { If (count

  Discuss the ethical, moral and legal implications

Prepare an employee usage policy for your organization's information systems and assets. Your policy should include, but not necessarily be limited to, email and web usage.

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