Computer Science: An Overview (13th Edition) (What's New in Computer Science)
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
13th Edition
ISBN: 9780134875460
Author: Glenn Brookshear, Dennis Brylow
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 1, Problem 37CRP

a.

Explanation of Solution

Express 72 using the 8-bit floating point format.

The process to encode the values using the 8-bit floating point format is,

  • Convert the given value in the binary representation.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • The exponential field is determined by imagine the pattern of mantissa field with a radix at its left and obtain the original binary number by determining the number of bits and direction of radix that must be moved.
  • The remaining three bits represent the exponential field that is shown in the below table.
Bit patternvalue
1113
1102
1011
1000
0111
1012
0013
0004
  • When the given value is positive then the bit assigned on high order bit is 0 and when the given value is negative then the bit assigned on higher bit is 1.
  • Convert the number 7  into binary equivalent.

2723121101

  • The binary representation is the sequence of the remainder from down to bottom

b.

Explanation of Solution

Express 12 using the 8-bit floating point format:

The process to encode the values using the 8-bit floating point format is,

  • Convert the given value in the binary representation.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • The exponential field is determined by imagine the pattern of mantissa field with a radix at its left and obtain the original binary number by determining the number of bits and direction of radix that must be moved.
  • The remaining three bits represent the exponential field that is shown in the below table.
Bit patternvalue
1113
1102
1011
1000
0111
1012
0013
0004
  • When the given value is positive then the bit assigned on high order bit is 0 and when the given value is negative then the bit assigned on higher bit is 1.
  • Convert the number 12  into binary representation

c.

Explanation of Solution

Express 334 using the 8-bit floating point format:

The process to encode the values using the 8-bit floating point format is,

  • Convert the given value in the binary representation.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • The exponential field is determined by imagine the pattern of mantissa field with a radix at its left and obtain the original binary number by determining the number of bits and direction of radix that must be moved.
  • The remaining three bits represent the exponential field that is shown in the below table.
Bit patternvalue
1113
1102
1011
1000
0111
1012
0013
0004
  • When the given value is positive then the bit assigned on high order bit is 0 and when the given value is negative then the bit assigned on higher bit is 1.
  • Convert the number 3  into binary equivalent.

2321101

  • The binary representation is the sequence of the remainder from down to bottom.

(3)10=(11)2

  • Convert the number 34  into binary representation

d.

Explanation of Solution

Express 732 using the 8-bit floating point format:

The process to encode the values using the 8-bit floating point format is,

  • Convert the given value in the binary representation.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • The exponential field is determined by imagine the pattern of mantissa field with a radix at its left and obtain the original binary number by determining the number of bits and direction of radix that must be moved.
  • The remaining three bits represent the exponential field that is shown in the below table.
Bit patternvalue
1113
1102
1011
1000
0111
1012
0013
0004
  • When the given value is positive then the bit assigned on high order bit is 0 and when the given value is negative then the bit assigned on higher bit is 1.
  • Convert the number 732  into binary representation

e.

Explanation of Solution

Express 3132 using the 8-bit floating point format:

The process to encode the values using the 8-bit floating point format is,

  • Convert the given value in the binary representation.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • Copy the bit pattern into the mantissa field from left to right start with 1.
  • The exponential field is determined by imagine the pattern of mantissa field with a radix at its left and obtain the original binary number by determining the number of bits and direction of radix that must be moved.
  • The remaining three bits represent the exponential field that is shown in the below table.
Bit patternvalue
1113
1102
1011
1000
0111
1012
0013
0004
  • When the given value is positive then the bit assigned on high order bit is 0 and when the given value is negative then the bit assigned on higher bit is 1.
  • Convert the number 3132 into binary representation.

732=1×12+1×14+1×18+1×116+1×132</

Blurred answer
Students have asked these similar questions
Encode the following values into the 8-bit floating-point notation :a. 2 ¾b. 5 ¼c. ¾d. –3 ½e. –4 3/8
Please answer parts a, b, and c of this question. Assume we are using the simple model for floating-point representation as given in the text (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit for the number): a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format. b) Show how the computer would add the two floating-point numbers in Part a by changing one of the numbers so they are both expressed using the same power of 2. c) Show how the computer would represent the sum in Part b using the given floating-point representation. What decimal value for the sum is the computer actually storing? Explain.
Please written by computer source Assume a floating-point representation on 14-bits including a sign bit, 5 bits for the exponent with a bias of 15, and a normalized significand on 8 bits (in the format 0.1xxx…, where the 0. is implied).    Represent the number -20.25 in this format. Represent the number 0.15 in this format.   step by step please.

Chapter 1 Solutions

Computer Science: An Overview (13th Edition) (What's New in Computer Science)

Ch. 1.3 - Prob. 1QECh. 1.3 - Prob. 2QECh. 1.3 - Prob. 3QECh. 1.3 - Prob. 4QECh. 1.3 - Prob. 5QECh. 1.3 - Prob. 6QECh. 1.4 - Here is a message encoded in ASCII using 8 bits...Ch. 1.4 - In the ASCII code, what is the relationship...Ch. 1.4 - Prob. 3QECh. 1.4 - Prob. 4QECh. 1.4 - Convert each of the following binary...Ch. 1.4 - Prob. 6QECh. 1.4 - What is the largest numeric value that could be...Ch. 1.4 - An alternative to hexadecimal notation for...Ch. 1.4 - What is an advantage of representing images via...Ch. 1.4 - Prob. 10QECh. 1.5 - Convert each of the following binary...Ch. 1.5 - Convert each of the following base ten...Ch. 1.5 - Convert each of the following binary...Ch. 1.5 - Express the following values in binary notation:...Ch. 1.5 - Perform the following additions in binary...Ch. 1.6 - Convert each of the following twos complement...Ch. 1.6 - Prob. 2QECh. 1.6 - Suppose the following bit patterns represent...Ch. 1.6 - Suppose a machine stores numbers in twos...Ch. 1.6 - In the following problems, each bit pattern...Ch. 1.6 - Prob. 6QECh. 1.6 - Prob. 7QECh. 1.6 - Prob. 8QECh. 1.6 - Prob. 9QECh. 1.6 - Prob. 10QECh. 1.6 - Prob. 11QECh. 1.7 - Prob. 1QECh. 1.7 - Prob. 3QECh. 1.7 - Prob. 4QECh. 1.8 - What makes Python an interpreted programming...Ch. 1.8 - Write Python statements that print the following:...Ch. 1.8 - Write Python statements to make the following...Ch. 1.8 - Write a Python statement that given an existing...Ch. 1.9 - Prob. 1QECh. 1.9 - Prob. 2QECh. 1.9 - Prob. 3QECh. 1.9 - Prob. 4QECh. 1.9 - Prob. 5QECh. 1.9 - Prob. 6QECh. 1.9 - Prob. 7QECh. 1.10 - Prob. 1QECh. 1.10 - Could errors have occurred in a byte from Question...Ch. 1.10 - Prob. 3QECh. 1.10 - Prob. 4QECh. 1.10 - Prob. 5QECh. 1.10 - Prob. 6QECh. 1 - Determine the output of each of the following...Ch. 1 - a. What Boolean operation does the circuit...Ch. 1 - a. If we were to purchase a flip-flop circuit from...Ch. 1 - Assume that both of the inputs in the following...Ch. 1 - The following table represents the addresses and...Ch. 1 - How many cells can be in a computers main memory...Ch. 1 - Prob. 7CRPCh. 1 - Prob. 8CRPCh. 1 - Prob. 9CRPCh. 1 - Prob. 10CRPCh. 1 - Suppose a picture is represented on a display...Ch. 1 - Prob. 12CRPCh. 1 - Prob. 13CRPCh. 1 - If each sector on a magnetic disk contains 1024...Ch. 1 - How many bytes of storage space would be required...Ch. 1 - Prob. 16CRPCh. 1 - Prob. 17CRPCh. 1 - Suppose a typist could type 60 words per minute...Ch. 1 - Prob. 19CRPCh. 1 - Prob. 20CRPCh. 1 - Prob. 21CRPCh. 1 - Prob. 22CRPCh. 1 - Prob. 23CRPCh. 1 - Prob. 24CRPCh. 1 - Prob. 25CRPCh. 1 - Prob. 26CRPCh. 1 - Prob. 27CRPCh. 1 - Prob. 28CRPCh. 1 - Prob. 29CRPCh. 1 - Prob. 30CRPCh. 1 - Prob. 31CRPCh. 1 - Prob. 32CRPCh. 1 - Prob. 33CRPCh. 1 - Prob. 34CRPCh. 1 - Prob. 35CRPCh. 1 - Prob. 36CRPCh. 1 - Prob. 37CRPCh. 1 - Prob. 38CRPCh. 1 - Prob. 39CRPCh. 1 - Prob. 40CRPCh. 1 - Prob. 41CRPCh. 1 - Prob. 42CRPCh. 1 - Prob. 43CRPCh. 1 - Prob. 44CRPCh. 1 - Prob. 45CRPCh. 1 - What would be the hexadecimal representation of...Ch. 1 - Prob. 47CRPCh. 1 - Prob. 48CRPCh. 1 - Prob. 49CRPCh. 1 - Prob. 50CRPCh. 1 - Prob. 51CRPCh. 1 - Prob. 52CRPCh. 1 - Prob. 53CRPCh. 1 - Prob. 54CRPCh. 1 - Prob. 55CRPCh. 1 - Prob. 56CRPCh. 1 - Prob. 57CRPCh. 1 - Prob. 58CRPCh. 1 - Write and test a Python script that, given a...Ch. 1 - Prob. 61CRPCh. 1 - Prob. 2SICh. 1 - Prob. 3SICh. 1 - Prob. 4SICh. 1 - Prob. 5SICh. 1 - Prob. 6SICh. 1 - Prob. 7SI
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    Systems Architecture
    Computer Science
    ISBN:9781305080195
    Author:Stephen D. Burd
    Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning