Prelude to Programming
6th Edition
ISBN: 9780133750423
Author: VENIT, Stewart
Publisher: Pearson Education
expand_more
expand_more
format_list_bulleted
Question
Chapter 2, Problem 31RE
Program Plan Intro
a. To write the binary representation of 710.
Program Plan Intro
b. To write the binary representation of 3410.
Program Plan Intro
c. To write the binary representation of 6310.
Program Plan Intro
d. To write the binary representation of 15710.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Examples 1: Convert following binary numbers to decimal numbers:
Floating point calculation:
a Show the IEEE 754 representation for the decimal value -0.375 in single precision
b. Find the decimal representation for the following single precision floating point number
1011,1111,0111,0000,0000,0000,0000,0000
c. Perform the addition and multiplication of the two floating point numbers in (a) and (b) in binary
scientific notation, and represent the sum and product in single precision.
J - For the IEEE 754 single-precision floating point, what is the number, as written in binary scientific notation, whose hexadecimal representation is the following?
FF80 0000
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
- What are the mantissa and exponent values if 6.75 is represented in 8-bit binary floating-point representation? a) Mantissa is 1011 and exponent is 101 b) Mantissa is 0011 and exponent is 100 c) Mantissa is 1011 and exponent is 100 d) Mantissa is 0011 and exponent is 101arrow_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_forward7. The normalized representation of 0.0010110 * 2 ^ 9 is a. 0 10001000 0010110 b. 0 10000101 0110 c. 0 10101010 1110 d. 0 11110100 11100arrow_forward
- Given 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_forward1. 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 numbersarrow_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_forward
- The number of 0's.arrow_forwardRound 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_forward1. Select a positive integer between 4563 and 5563 and find the 16-bit computer representation of it.arrow_forward
- please help answer this quickly, much appreciated.arrow_forward4. 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_forward1. Write down the mathematical notation for fixed point representationand floating representation and also explain each term. 2. Consider the following machine number in 64 bit and Precisely represent the above machine number in decimal digits. 0 10000000011 1011100100010000000000000000000000000000000000000000arrow_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