(Solved Homework): 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:

Don't use plagiarized sources. Get Your Custom Essay on
(Solved Homework): 1. Assume that you are considering enhancing a machine by adding a special feature to it. The percentage of time (t…
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay

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

Homework Ocean
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

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.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.

× Contact Live Agents