×
Log in to StudySoup

Forgot password? Reset password here

Two’s complement representations of integers are also used

Discrete Mathematics and Its Applications | 7th Edition | ISBN: 9780073383095 | Authors: Kenneth Rosen ISBN: 9780073383095 37

Solution for problem 42E Chapter 4.2

Discrete Mathematics and Its Applications | 7th Edition

  • Textbook Solutions
  • 2901 Step-by-step solutions solved by professors and subject experts
  • Get 24/7 help from StudySoup virtual teaching assistants
Discrete Mathematics and Its Applications | 7th Edition | ISBN: 9780073383095 | Authors: Kenneth Rosen

Discrete Mathematics and Its Applications | 7th Edition

4 5 0 274 Reviews
28
2
Problem 42E

Two’s complement representations of integers are also used to simplify computer arithmetic and are used more commonly thank one’s complement representation. To represent an integer x with for a specified positive integer n, a total of n bits is used. The leftmost bit is used to represent the sign. A 0 bit in this position is used for positive integers, and a 1 bit in this position is used for negative integers. just as in one's complement expansions. For a positive integer, the remaining bits are identical to the binary expansion of the integer. For a negative integer, the remaining bits are the bits of the binary expansion of . Two's complement expansions of integers are often used by computers because addition and subtraction of integers can be performed easily using these expansions, where these integers can be either positive or negative.Answer Exercise 36 for two's complement expansions.EXERCISE 36: One's complement representations of integers are used to simplify computer arithmetic. To represent positive and negative integers with absolute value less than 2n-1, a total of n bits is used. The leftmost bit is used to represent the sign. A 0 bit in this position is used for positive integers, and a 1 bit in this position is used for negative integers. For positive integers, the remaining bits are identical to the binary expansion of the integer. For negative integers, the remaining bits are obtained by first finding the binary expansion of the absolute value of the integer, and then taking the complement of each of these bits, where the complement of a 1 is a 0 and the complement of a 0 is a 1.If m is a positive integer less than 2n-1, how is the one's complement representation of -m obtained from the one's complement of m, when bit strings of length n are used?

Step-by-Step Solution:

SOLUTIONStep 1Two compliment’s expansionStep 2Given m is a positive integer and we have to find the two’s complement representation of -m.Two’s complement representation of m represented using by n bits.

Step 3 of 4

Chapter 4.2, Problem 42E is Solved
Step 4 of 4

Textbook: Discrete Mathematics and Its Applications
Edition: 7
Author: Kenneth Rosen
ISBN: 9780073383095

This full solution covers the following key subjects: Answer, complement, exercise, expansions. This expansive textbook survival guide covers 101 chapters, and 4221 solutions. This textbook survival guide was created for the textbook: Discrete Mathematics and Its Applications, edition: 7. Since the solution to 42E from 4.2 chapter was answered, more than 244 students have viewed the full step-by-step answer. Discrete Mathematics and Its Applications was written by and is associated to the ISBN: 9780073383095. The full step-by-step solution to problem: 42E from chapter: 4.2 was answered by , our top Math solution expert on 06/21/17, 07:45AM. The answer to “Two’s complement representations of integers are also used to simplify computer arithmetic and are used more commonly thank one’s complement representation. To represent an integer x with for a specified positive integer n, a total of n bits is used. The leftmost bit is used to represent the sign. A 0 bit in this position is used for positive integers, and a 1 bit in this position is used for negative integers. just as in one's complement expansions. For a positive integer, the remaining bits are identical to the binary expansion of the integer. For a negative integer, the remaining bits are the bits of the binary expansion of . Two's complement expansions of integers are often used by computers because addition and subtraction of integers can be performed easily using these expansions, where these integers can be either positive or negative.Answer Exercise 36 for two's complement expansions.EXERCISE 36: One's complement representations of integers are used to simplify computer arithmetic. To represent positive and negative integers with absolute value less than 2n-1, a total of n bits is used. The leftmost bit is used to represent the sign. A 0 bit in this position is used for positive integers, and a 1 bit in this position is used for negative integers. For positive integers, the remaining bits are identical to the binary expansion of the integer. For negative integers, the remaining bits are obtained by first finding the binary expansion of the absolute value of the integer, and then taking the complement of each of these bits, where the complement of a 1 is a 0 and the complement of a 0 is a 1.If m is a positive integer less than 2n-1, how is the one's complement representation of -m obtained from the one's complement of m, when bit strings of length n are used?” is broken down into a number of easy to follow steps, and 306 words.

Unlock Textbook Solution

Enter your email below to unlock your verified solution to:

Two’s complement representations of integers are also used

×
Log in to StudySoup
Get Full Access to Math - Textbook Survival Guide

Forgot password? Reset password here

Join StudySoup for FREE
Get Full Access to Math - Textbook Survival Guide
Join with Email
Already have an account? Login here
Reset your password

I don't want to reset my password

Need an Account? Is not associated with an account
Sign up
We're here to help

Having trouble accessing your account? Let us help you, contact support at +1(510) 944-1054 or support@studysoup.com

Got it, thanks!
Password Reset Request Sent An email has been sent to the email address associated to your account. Follow the link in the email to reset your password. If you're having trouble finding our email please check your spam folder
Got it, thanks!
Already have an Account? Is already in use
Log in
Incorrect Password The password used to log in with this account is incorrect
Try Again

Forgot password? Reset it here