Answered Essay: 1. Assume that you are considering enhancing a machine by adding a special feature to it. The percentage of time (t

1. Assume that you are considering enhancing a machine by adding a special feature to it. The percentage of time (the original run time before the feature is added) that the machine can be run using this new feature is denote as p%, and, during this portion of time, the machine with this new feature runs f% faster than the old one without it.

(a) Determine the overall speedup for each of the following:

i. f = 100, p = 100

ii. f = 100, p = 50

iii. f = 400, p = 50

iv. f = 400, p = 20

(b) Draw a graph that plots together each of the two speedup functions for f = 100 and f = 400 in terms of p (y-axis being the speedup and x-axis being p).

2. Redo problem 1(a) if p is defined as percentage of time that the machine runs using the special feature but instead measured against the new overall time when the special feature is used.

3. Provide a design of the sequential circuit for the vending machine controller – one product sells for $0.35, and the machine takes only quarters (input Q) and dimes (input D) with an output signal I for product release and a signal C for change release (if there is change to return). No other signals are used. Show the complete state transition table.

4. Determine the 8-bit representation of each of the following numbers under two’s complement format, and provide an evaluation of the number using the weight system to verify the result.: (a) 103 (b) -97 5. (35 pts) In a hypothetical 5-bit floating point format, 3 leading bits are used for exponent (E, in 2’s complement format) and 2 remaining bits for mantissa (M), and the value is evaluated as 1.M × 2 E, answer the following questions:

(a) Find the decimal value of the expression 01101.

(b) Find the decimal value of the expression 10010.

(c) Determine the range of this format; i.e. ? ≤ |x| ≤?.

(d) Find the expression (representation) for decimal value 7.

(e) Find the expression (representation) for decimal value 0.375.

(f) How many distinct numbers are represented by this format?

(g) On a number axis, mark all the positive numbers represented by this format.

6. In problem 5, if the value evaluation formula is instead defined as each of the following, determine the corresponding range and the number of distinct numbers that can be represented?

(a) M.0 × 2 E

(b) 0.M × 2 E

7. Determine the IEEE-754 standard format representation for each of the following numbers:

(a) −101.4

(b) 2.5 × 10−3

(c) 1.001 × 2 −142 and present your answer in 8-character HEX format. Note: ignore the effect of rounding in this problem.

8. In adding two numbers a and b, both in the IEEE-754 standard format, determine the result (in HEX) of each of the operations.

(a) a = 3f200000, b = be600000

(b) a = 3f200000, b = ff800000

(c) a = 01100000, b = 80e00000

Expert Answer

 

7. (a) :

Single precision ( 32 bits )

—————————-

Bit 31 | Bits 30 – 23 | Bits 22 – 0

Sign Bit | Exponent Field | Significand

——– ————– ———–

1 | 10000101 | 1 .10010101100110011001101

0: + | Decimal value of exponent field and exponent | Decimal value of the significand

1: – 133 – 127 = 6 | 1.5843750

Hexadecimal: C2CACCCD

Decimal: -101.40000

7. (b) :

Single precision ( 32 bits )

—————————-

Bit 31 | Bits 30 – 23 | Bits 22 – 0

Sign Bit | Exponent Field | Significand

——– ————– ———–

0 | 01110110 | 1 .01000111101011100001010

0: + | Decimal value of exponent field and exponent | Decimal value of the significand

1: – 118 – 127 = -9 | 1.2800000

Hexadecimal: 3B23D70A

Decimal: 2.4999999e-3

7. (c) :

Single precision ( 32 bits )

—————————-

Input : 1.001 × 2^-142 = 1.7954557e-43

Bit 31 | Bits 30 – 23 | Bits 22 – 0

Sign Bit | Exponent Field | Significand

——– ————– ———–

0 | 00000000 | 0.0000000000000010000000

0: + | Decimal value of exponent field and exponent | Decimal value of the significand

1: – 0 – 127 = -127 | 0.0000305

Hexadecimal: 00000080

Decimal: 1.7936620e-43

8. (a) :

a = 3f200000, b = be600000

a + b = FD800000

8. (b) :

a = 3f200000, b = ff800000

a + b = 13EA00000

8. (c) :

a = 01100000, b = 80e00000

a + b = 81F00000

Buy Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

24/7 Customer Support

Our agents are ready to help you around the clock. Please feel free to reach out and enquire about anything.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

STEP 1

Submit Your Essay/Homework Instructions

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

STEP 2

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

STEP 3

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.

STEP 4

Receive your Paper

After Editing, your paper will be sent to you via email.

× How can I help you?