Prelude to Programming
6th Edition
ISBN: 9780133750423
Author: VENIT, Stewart
Publisher: Pearson Education
expand_more
expand_more
format_list_bulleted
Question
Chapter 2, Problem 32RE
Program Plan Intro
a. To write the binary representation of 1410.
Program Plan Intro
b. To write the binary representation of 6210.
Program Plan Intro
c. To write the binary representation of 6310.
Program Plan Intro
d. To write the binary representation of 582410.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Write down the binary representation of the decimal number 63.25 assuming it was stored using the single precision IBM format (base 16, instead of base 2, with 7 bits of exponent).
Convert the following decimal number into equivalent binary number and hence write the binary number in 64- bit long real format (53.36755)
i need the answer by same way example through picture please.!
1. In a binary coded decimal (BCD) system, 4 bits are used to represent a
decimal digit from 0 to 9. For example, 3710 is written as 00110111BCD.
(a) Write 28910 in BCD
(b) Convert 100101010001BCD to decimal
(c) Convert 01101001BCD to binary
(d) Explain why BCD might be a useful way to represent numbers
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
- 5.5 can be represented in binary asarrow_forwardExamples 1: Convert following binary numbers to decimal numbers:arrow_forwardA hex number has a representation composed of the digits 4, 7, and A. Select all the potential binary expansions that the hex number can have. 010001111010 010010100111 011101001010 011110100100 101001000111 000100000100 000110100000arrow_forward
- 4. Fill in the empty slots in the table by converting numbers into different representations. All numbers are 8 bits in length. Use 2's complement representation in binary and hexadecimal numbers. Signed Decimal Binary 0010 0001 1010 0100 Hexadecimal Unsigned Decimal 6F 33 -25arrow_forwardGiven the following decimal numbers 15.0625, -35.6875, 86.5625, and 0.125, represent them in IEEE 754 binary representations in single precision float.arrow_forwardNormalize the following binary floating-point numbers. 2-7 x (101.000101)2arrow_forward
- 13. Convert each decimal number to binary using repeated division by 2: (b) 21 (c) 28 (d) 34 (е) 40 (f) 59 (g) 65 (h) 73 14. Convert each decimal fraction to binary using repeated multiplication by 2: (a) 0.98 (b) 0.347 (c) 0.9028 TION 2-4 Binary Arithmetic 15. Add the binary numbers: (a) 11 + 01 (b) 10 + 10 (c) 101 + 11 (d) 111 + 110 (e) 1001 + 101 (f) 1101 + 1011arrow_forwardEncode (800) 555-0012 in ASCII, including punctuation. 5.Translate the following hexadecimal into binary and then into ASCII: 68 65 78 61 64 65 63 69 6D 61 6C You have discovered the following string of binary ASCII code; figure out what they mean: 01010111 01100001 01111001 00100000 01110100 01101111 00100000 01100111 01101111 00100001arrow_forwardWhat decimal value does the 8-bit binary number 10101110 have if: a) it is interpreted as an unsigned number? b) it is on a computer using signed-magnitude representation? c) it is on a computer using one's complement representation? d) it is on a computer using two's complement representation? e) it is on a computer using excess-127 representation?arrow_forward
- Round the following binary numbers (rounding position is bolded – it is the bit at the 2-4 position) following the rounding rules of the IEEE floating point representation. I. 1.00111112 II. 1.10010012 III. 1.01111002 IV. 1.01101002 For each of the four (4) resulting rounded binary numbers, indicate - what type of rounding you performed and - compute the value that is either added to or subtracted from the initial binary number (listed above) as a result of the rounding process. In other words, compute the error introduced by the rounding (approximation) process. please note that the rounding is based on the bolded numbers!!! Not the 2s in the end those are just binary signsarrow_forwardAnswer the following short questions briefly. Convert the following decimal integers into binary, octal, and hexadecimal:(a) 23, (b) 107, (c) 1238 (d) 92 (e) 173 Convert the following BCD numbers (assume that these are packed numbers) to decimal numbers:(a) 10001001, (b) 00001001(c) 00110010, (d) 00000001 Convert the following decimal numbers into both packed and unpacked BCD forms:(a) 102, (b) 44(c) 301, (d) 1000 Convert the following decimal numbers into 8-bit signed binary numbers:(a) +32, (b) -12 (c) +100 Convert the following binary numbers to the two’s complement form:(a) 1000 0001, (b) 1010 1100(c) 1010 1111, (d) 1000 0000 Find the memory address of the next instruction executed by the microprocessor, when operated in the real mode, for the following CS:IP combinations:(a) CS = 1A00H and IP = B000H(b) CS = 2300H and IP = 1A00H(c)…arrow_forwardWhat are the 16-bit 1’s and 2’s complements of the following binarynumbers? c. 0100111000100100arrow_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