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

  Which value border-collapse will give each cell of a table

Which value of border-collapse will give each cell of a table a border that can be specified independently of adjacent cells

  Which command will create a hard link called file

Which command will create a hard link called FILE3.TXT that is linked to the content of an original file called FILE1.TXT

  Draw an e- r data model

Draw an E- R data model for the Garden Glory database schema shown in Chapter 3' s " Garden Glory Project Questions." Use the IE Crow's Foot E- R model for your E- R diagrams. Justify the decisions you make regarding minimum and maximum ­cardinali..

  Purchase a pre-built personal computer

Purchase a pre-built personal computer

  Analyze the key roles the agile coach plays

Evaluate the importance of being an agile coach on the project team. Analyze the key roles the agile coach plays in team communication and facilitation activities

  Create flowchart and psuedo code for math program

Create flowchart and psuedo code for math program which permits the user to enter two separate numbers and choose one of four mathematical operations (add, subtract, mutiply, divide).

  Views of how labor unions impact labor productivity

In your own words, describe the "traditional" and "new" views of how labor unions impact labor productivity. Be sure to describe the justification that each viewpoint uses to support their argument.

  Create a script that presents a movie guessing game

Use a single script file named Week5.php to display and process the form Can this be done with the movies 8 mile and black swan.

  Explain problems with gathering information requirements

One of the potential problems with gathering information requirements by observing potential system users is that people may change their behavior when observed.

  C++ statements that define the function grade

At Enlightened State University, students earn grades of Honors, Pass, or Fail rather than usual letter grade. The function grade returns H, P, F depending on whether avg merits a grade of Honors.

  Unix uses many commands in its operating system

Question 1: UNIX uses many commands in its operating system. Research on the web at least 2 more commands describe their function and discuss similar commands in Windows operating system.

  Explaining concept of internet-first printing presses-mass

A number of historians explain concept of the internet as parallel to concept of first printing presses - mass communication.

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