Prelude To Programming
6th Edition
ISBN: 9780133741636
Author: VENIT, Stewart., DRAKE, Elizabeth
Publisher: Addison-wesley,
expand_more
expand_more
format_list_bulleted
Question
Chapter 2, Problem 48RE
Program Plan Intro
a. To find the two’s complement of +2310 using 8-bit memory location.
Program Plan Intro
b. To find the two’s complement of -2310 using 8-bit memory location.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Find the two’s complement of the following decimal integers using an 8-bit memory location or indicate if an overflow condition occurs
a)+5210
b)−5910
49. Find the two’s complement of the following decimal integers using an 8-bit memory location or indicate if an overflow condition occurs
a. +5210
b. −5910
Given the following decimal numbers, convert the numbers to a 16-bit memory location in binary using two's complement. (show all details step by step)
165910
- 165910
954610
- 954610
Convert the following decimal numbers to binary using the two’s complement format, using 8 bits:
4810
-3910
-28410
010
Briefly explain why two’s complement is the best format for representing signed integers in a computer.
4. Convert the following decimal numbers to binary floating-point representation, using 4 bits for the fractional part:
68.510
125.4410
99.9910
give the answer of everything otherwise dont give. please
Chapter 2 Solutions
Prelude To Programming
Ch. 2 - Given the number 108, ____________ is the base.Ch. 2 - Given the number 75, _____________ is the...Ch. 2 - When a base is raised to a power of ________, the...Ch. 2 - Prob. 4RECh. 2 - Prob. 5RECh. 2 - Prob. 6RECh. 2 - A floating point number has a(n) ______ part and...Ch. 2 - Prob. 8RECh. 2 - To convert the number 8.396052106 to regular...Ch. 2 - Using exponents, the number 1/1000 is ___________.
Ch. 2 - Prob. 11RECh. 2 - What is the decimal value of the 2 in the...Ch. 2 - Prob. 13RECh. 2 - Prob. 14RECh. 2 - Which of the following is not an integer? a. 5 b....Ch. 2 - Prob. 16RECh. 2 - Prob. 17RECh. 2 - Prob. 18RECh. 2 - Prob. 19RECh. 2 - Prob. 20RECh. 2 - Prob. 21RECh. 2 - To make it easier for a human to read a binary...Ch. 2 - Prob. 23RECh. 2 - Prob. 24RECh. 2 - Prob. 25RECh. 2 - Prob. 26RECh. 2 - The smallest unsigned integer that can be...Ch. 2 - A number system that uses 7 as a base would be...Ch. 2 - Prob. 29RECh. 2 - Prob. 30RECh. 2 - Prob. 31RECh. 2 - Prob. 32RECh. 2 - Prob. 33RECh. 2 - Prob. 34RECh. 2 - Prob. 35RECh. 2 - Prob. 36RECh. 2 - Prob. 37RECh. 2 - Prob. 38RECh. 2 - Prob. 39RECh. 2 - Prob. 40RECh. 2 - Prob. 41RECh. 2 - Prob. 42RECh. 2 - Prob. 43RECh. 2 - Prob. 44RECh. 2 - Prob. 45RECh. 2 - Prob. 46RECh. 2 - Prob. 47RECh. 2 - Prob. 48RECh. 2 - Prob. 49RECh. 2 - Prob. 50RECh. 2 - Prob. 51RECh. 2 - Prob. 52RECh. 2 - Prob. 53RECh. 2 - Prob. 54RECh. 2 - Prob. 55RECh. 2 - Prob. 56RECh. 2 - Prob. 57RECh. 2 - Prob. 58RECh. 2 - Prob. 1PCCh. 2 - Prob. 2PCCh. 2 - Prob. 3PCCh. 2 - Prob. 4PCCh. 2 - Prob. 5PC
Knowledge Booster
Similar questions
- A(n) __________ is an integer stored in double the normal number of bit positions.arrow_forward(a) For the following two cases, please determine the radix r:(BEE)r = (2699)10(365)r = (194)10(b) Please add, subtract, and multiply in binary:100100 and 10110(c) Please add the following numbers in binary using 2’s complement to represent negative numbers.Use a word length of 6 bits (including sign) and indicate if an overflow occurs:(-11) + (-4) = ?11 + 9 = ?(-10) + (-6) = ?(d) Assume the following three cases are correct and assume three digits are used to represent positiveintegers. Determine the base of the numbers. Did any of the additions overflow?654 + 013 = 000024 + 043 + 013 + 033 = 223024 + 043 + 013 + 033 = 201arrow_forwardPlease find 1.25's corresponding bit pattern as stored in memory in hexadecimal! And show the steps because i dont know how to find hexadecimal with a floating point number.arrow_forward
- Evaluate the following by converting to decimal, performing the arithmetic operation, and converting to binary to express the results. Please note. the answer must be expressed in binary to be correct! when bertormina number conversion. use a precision of eight (8) fractional bits.arrow_forwardPerform the following calculations assuming that the values are 4-bit decimal integers stored intwo's complement format. Be sure to consider the possibility of overflow.• 0101 + 1100• 0101 – 1100arrow_forwardA. Write the binary representation of number 1173.379 in IEEE 754 standard in single precision.Express the result in binary, oct, and hex formats. B. Write the binary representation of number 75.83 in IEEE 754 standard in double precision. Expressthe result in binary, oct, and hex formats. C. Register f3 contains the 32-bit number 10101010 11100000 00000000 00000000. What is thecorresponding signed decimal number? Assume IEEE 754 representation.arrow_forward
- WAP to find the square of five numbers stored at alternate memory locationstarting at 2050 H.arrow_forwardYou need to show detail work on how you get the answer. Dont use answers from other websites please! Please type your answer not picture 4. Suppose we want an error-correcting code that will allow all single-bit errors to be corrected for memory words of length 10. a) How many parity bits are necessary? _______________ b) Assuming we are using even parity system, find the code word to represent the 12-bit information word: 1001100110. Use the following to calculate your answer: Parity bit 1 checks 1,3,5,7,9,11.13 Parity bit 2 checks 2,3,6,7,10,11:14 Parity bit 4 checks 4,5,6,7,12,13,14 Parity bit 8 checks 8,9,10,11,12,13,14 ______________________________________________________arrow_forwardFind the sum of all the digits in your date of birth and then do the following:(a) Convert the sum into 32-bit binary.(b) Convert the sum into 32-bit, IEEE-754 single precision floating point format.For example, if your date of birth is 15-8-2001, then the sum of its digits would be 17. You shouldconvert it into 32-bit binary and single precision floating point formats.arrow_forward
- Convert each of the following bit patterns into real numbers. Assume the values are stored using the floating point bit model. 11000001000101101011100001010010 =arrow_forwardHow do ALUs account for floating-point precision errors during arithmetic operations?arrow_forwardCalculate the difference of the following hexadecimal numbers: 5ED4 - 07A4. Assume the numbers are unsigned 16-bit values. Show your work.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning