1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mina [271]
3 years ago
9

Assume the following representation for a floating point number 1 sign bit, 4 bits exponent, 3 bits for the significand, and a b

ias of 7 for the exponent (there is no implied 1 as in IEEE).
a) What is the largest number (in binary) that can be stored? Estimate it in decimal.
b) What is the smallest positive number( closest to 0) that can be stored in binary? Estimate it in decimal.
c) Describe the steps for adding two floating point numbers.
d) Describe the steps for multiplying two floating point numbers.
Computers and Technology
1 answer:
Andrew [12]3 years ago
6 0

Answer:

Detailed answers given in the solution

Explanation:

a)

max exponent= 1111=15

in biased form =15-7=8

max significant=1111=(.9375)10

max value= 1.9375*28

b) min exp= 0000=0-7=-7(biased)

min value=1.0000*2(-7)

c) Addition : Suppose we want to add two floating point numbers, X and Y.

steps to add floating point numbers:

Make exponents of the two numbers to be the same (if not). We do this by rewriting .

Add the two mantissas of X and the Y together.

If the sum in the previous step does not have a single bit of value 1, left of the radix point, then adjust the radix point and exponent until it does.

Convert back to the one byte floating point representation.

d) Multiplication :

Suppose you want to multiply two floating point numbers, X and Y.

steps to multiply floating point numbers.

sum of the two exponents..

Multiply the mantissa of X to the mantissa of Y. Call this result m.

If m is does not have a single 1 left of the radix point, then adjust the radix point so it does, and adjust the exponent z to compensate.

Add the sign bits, mod 2, to get the sign of the resulting multiplication.

Convert back to the one byte floating point representation, truncating bits if needed.

You might be interested in
The purpose of this assignment is to determine a set of test cases knowing only the function’s specifications, reported hereaf
Nesterboy [21]

Answer:

The program is written using PYTHON SCRIPT below;

N=int(input(" Enter number of Rows you want:"))

M=[] # this for storing the matrix

for i in range(N):

l=list(map(int,input("Enter the "+str(i+1)+" Row :").split()))

M.append(l)

print("The 2D Matrix is:\n")

for i in range(N):

print(end="\t")

print(M[i])

W=[] # to store the first non zero elemnt index

T=[] # to store that value is positive or negative

L=len(M[0])

for i in range(N):

for j in range(L):

if (M[i][j]==0):

continue

else:

W.append(j) # If the value is non zero append that postion to position list(W)

if(M[i][j]>0): #For checking it is positive or negative

T.append(+1)

else:

T.append(-1)

break

print()

print("The first Non Zero element List [W] : ",end="")

print(W)

print("Positive or Negative List [T] : ",end="")

print(T)

Explanation:

In order for the program to determine a set of test cases it takes in input of 2D matrix in an N numbet of rows.

It goes ahead to program and find the column index of the first non-zero value for each row in the matrix A, and also determines if that non-zero value is positive or negative. The If - Else conditions are met accordingly in running the program.

5 0
3 years ago
Scrieți un program care citește un număr natural n și determină suma cifrelor divizibile cu 3 ale lui n.
Vika [28.1K]
Sorry I don't understand your question
5 0
3 years ago
Convert 2910 to binary, hexadecimal and octal. Convert 5810 to binary, hexadecimal and octal. Convert E316 to binary, decimal an
Burka [1]

Answer:

2910 to binary = 101101011110

2910 to hexadecimal = B5E

2910 to octal = 5536

E316 to binary = 1110001100010110

E316 to octal = 161426

E316 to decimal = 58134

5916 to binary = 101100100010110

5916 to decimal = 22806

5916 to octal = 54426

010010102 to decimal = 149

010010102 to octal = 225

010010102 to hexadecimal = 95

FOR 438 and 618, 8 is not a valid digit for octal..

5 0
3 years ago
Which of these appliances can be classified as a robot? You can choose 2.
Natali [406]

Answer:

ummmm i think b

Explanation:

8 0
3 years ago
Read 2 more answers
My laptop screen is flashing colors all of the sudden, how can I solve this problem? Also why is this happening is it software o
MatroZZZ [7]

Explanation:

To determine whether a display driver or app is causing the problem,check to see if Task Manager flickers. ... Then, based on that information, you'll need to update, rollback, or uninstall your displ

यह निर्धारित करने के लिए कि क्या कोई डिस्प्ले ड्राइवर या ऐप समस्या पैदा कर रहा है, यह देखने के लिए जांचें कि क्या कार्य प्रबंधक फ़्लिकर करता है। ... फिर, उस जानकारी के आधार पर, आपको अपने डिस्प्ले को अपडेट, रोलबैक या अनइंस्टॉल करना होगा

i think this can help you

7 0
3 years ago
Other questions:
  • You have been asked to delete some data from medisoft but find that there is no delete button. what is another method you can us
    10·1 answer
  • Explain possible consequences if someone is issued with a fraudulent licence
    6·1 answer
  • Help with this chart please
    9·1 answer
  • What is the name of the finned metal device that radiates heat away from the processor?
    13·1 answer
  • What is computer ? What is computer program? What is hard disk.
    12·2 answers
  • A program uses two classes: dog and poodle. which class is the base class and which is the derived class?
    7·2 answers
  • Are to print or find<br> the sum<br> 5 numbers<br> of<br> using flow chart
    6·1 answer
  • Please help explain this calculator code.
    15·1 answer
  • Pls explain the meaning of the word"INTERNET"​
    5·2 answers
  • The capital letter Wis expressed as U+0057 in which system?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!