
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:1. Convert each pair of decimal numbers to 8-bit signed binary form and add the numbers
together. (10 points each)
a. -69 and 42
Expert Solution

arrow_forward
Step 1
Let us perform the addition of two decimal numbers -69 and 42 using 2’s complement method.
The 2’s complement representations of -69 and 42 with 8 bits each are shown below.
-69 =
128 64 32 16 8 4 2 1
1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
= 10111011
42 =
128 64 32 16 8 4 2 1
0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
42 = 00101010
Step by stepSolved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- In single precision (IEEE-754 standard), 8 bits are used for storing the exponent (the bias is 127), and 23 bits are used for storing the mantissa. (a) What are the smallest and the largest positive numbers that can be stored in single precision? (b) What is the smallest value of the mantissa that can be stored?arrow_forward3. Convert the following a. 010.00102 to octal, decimal, and hexadecimal b. 404s to binary, decimal, and hexadecimal c. 13.510 to binary, octal, and hexadecimal d. 13.516 to binary, octal, and decimalarrow_forward12. Perform the given calculations in base-five notation. Assume that the numerals are already written in base five. (a) 2433 (b) (c) 243 X 42 ivi- 2433 + 141 141 - 13. Carry out each of the given multiplications in base five. Assume that the numerals are already written in base five. (a) 23 42 (b) 2413 332arrow_forward
- (1) a. Convert the following from binary to decimal. (please show workings) i. 00011011ii. 10101010iii. 01101111iv. 11111000v. 01010101arrow_forward(b) A floating point number has the 12 bit binary sequence 1011 11011101. The first four bits are for the exponent, which has a bias of 7, and the next eight bits are for the mantissa, with no hidden bit and its leading bit is the sign bit, (i) (ii) What decimal number does this binary sequence represent? In this resulting decimal number, how many digits can you trust?arrow_forward(d) (e) 20.75 in decimal to a number in binary. 2FACE in hexadecimal to a number in binary. (1) (f) 9CE and ADE in hexadecimal to a number in E (g) (h) (i) 11011101 in binary to a number in octal. 101011011110 in binary to a number in hexad 24.6 in octal to a number in binary. 27 in base-9 to a number in binary. 416 in base-7 to a number in binary. (k)arrow_forward
- 1. (3.4) Convert the decimal numbers 73, 1906, -95, and -1630 into signed 12-bit numbers in the following representations: a) Sign-and-magnitude b) l's complement c) 2's complementarrow_forwarda. Assume (F43)(16) and (1B7)(16) are unsigned 12-bit Hexadecimal integers.CalculateF43 -1B7. Is there overflow?b. Assume 185 and 122 are unsigned 8-bit decimal integers. Calculate185 - 122. Is there overflow?c. Calculate (1100 1101)2 + (1100 10101)2arrow_forward(ii) Convert the number 1000 from base 2 to base 10. Show all steps.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education