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
We have constructed a Player Class for you. Add the following: public static variable: int totalPlayers Static variable should b
Margaret [11]

Answer:

public class Player {

   public static int totalPlayers = 0;

   public static int maxPlayers = 10;  

   public static boolean gameFull() {

       return totalPlayers >= maxPlayers;

   }

   public Player() {         // Player class constructor

       totalPlayers++;

   }

}

Explanation:

The Java program defines the class Player which has two public class variables and a public method. The class constructor increases the totalPlayer variable by one for every player object created.

5 0
3 years ago
Which of the following is not a step that must occur with every correctly working loop?
goblinko [34]

Answer:

b) Set the loop control value equal to a sentinel during each iteration.

Explanation:

Sentinel in the loops is the constant value that is used to stop the loop. So in each iteration, if you set the loop control value to the sentinel. The loop will stop working or the sequence of compiling will break out of the loop.

So setting the loop control value to the sentinel is not a correct step for properly working of the loop.

7 0
4 years ago
Read 2 more answers
To allow Hootsuite to reconnect to your LinkedIn account, you must first give authorization from the LinkedIn website
tekilochka [14]

Answer:

To allow Hoot suite to connect with my linked in account there are two ways.

  1. I just opened it in my browser.  If the browser is already signed in with linked in account then It directly access the account of linkedin.
  2. If there is no social media log in on browser then it requires authentication to login.
8 0
3 years ago
10. In cell R8, enter a formula using the AVERAGEIF function to determine the average number of post-secondary years for student
mart [117]

Answer:

On cell R8, type in the formula  "=AVERAGEIF(M2:M31,"Elected",D2:D31)".

Explanation:

Microsoft Excel is a spreadsheet application developed by Microsoft as a part of the office package, used for statistical analysis of data. It has several tools used for this purpose.

The AVERAGEIF function is used to give the average of numeric column based on a condition. The formula above uses the word 'Elected' in the M column to calculate the average of numbers in the D column.

7 0
3 years ago
What makes smartphones so fragile?
In-s [12.5K]
Glass screen probably
7 0
3 years ago
Other questions:
  • A file that contains program code is called a ____________.
    13·1 answer
  • Which type of cell references are locked and NOT automatically updated when it’s copied
    8·1 answer
  • Why is the answer A?
    6·1 answer
  • (Display nonduplicate words in ascending order)
    11·1 answer
  • The following program segment is designed to compute the product of two nonnegative integers X and Y by accumulating the sum of
    9·1 answer
  • ____ is an approach to boundary spanning which results from using sophisticated software to search through large amounts of inte
    5·1 answer
  • HELP!!!
    13·2 answers
  • The first real computer was an abacus?
    13·1 answer
  • why are microphones or digital cameras unlikely to cause the damage that is found in repetitive strain injury?
    9·1 answer
  • A regional bank implemented an automated solution to streamline their operations for receiving and processing checks/cheques. th
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!