Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

ECE 6913 Midterm Exam Practice Test Questions And Correct Answers (Verified Answers) 2026 Q&A - NYU Tandon School of Engineering

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
31-03-2026
Written in
2025/2026

ECE 6913 Midterm Exam Practice Test Questions And Correct Answers (Verified Answers) 2026 Q&A - NYU Tandon School of Engineering

Content preview

ECE 6913 Midterm Exam Practice Test Questions And Correct Answers
(Verified Answers) 2026 Q&A - NYU Tandon School of Engineering

1. The results of the SPEC CPU2006 bzip2 benchmark running on an AMD Barcelona has an
instruction count of 2.389E12, an execution time of 750 s, and a reference time of 9650 s

a. Find the CPI if the clock cycle time is 0.333 ns.
IC = 2.389T, ET=750s, RefET = 9650s
CPI = (ET * clock rate)/IC = 750s x 3.00GHz / 2.389T = 0.94
b. Find the SPECratio
SPECratio = T_ref/T = 9650s /750s = 12.86
c. Find the increase in CPU time if the number of instructions of the benchmark is increased by
10% without affecting the CPI
ET = CPI x IC x Tcycle = 0.94 x 2.389T x 1.1 x 0.333ns = 822s or an increase in ET of 9.67%

d. Find the increase in CPU time if the number of instructions of the benchmark is increased by
10% and the CPI is increased by 5%.
ET = CPI x IC x Tcycle = 0.94 x 1.05 x 2.389T x 1.1 x 0.333ns = 863s or an increase in ET of 15%

e. Find the change in the SPECratio for this change
SPECratio = T_ref/T = 9650s /863s = 11.18
f. Suppose that we are developing a new version of the AMD Barcelona processor with a 4 GHz
clock rate. We have added some additional instructions to the instruction set in such a way that
the number of instructions has been reduced by 15%. The execution time is reduced to 700 s and
the new SPECratio is 13.7. Find the new CPI.
ETnew = 700s = CPIX x 2.389T x 0.85 x 0.250ns
So, CPIX = 700/507.66 = 1.38
g. This CPI value is larger than obtained in part a. as the clock rate was increased from 3 GHz to 4
GHz. Determine whether the increase in the CPI is similar to that of the clock rate. If they are
dissimilar, why?
CPI increased by 1.38/0.94 = 1.46
Clock rate increased by 4/3 = 1.33




ECE 6913 Midterm Exam

, Both – Instruction Count and the Clock Cycle time were lowered as a result of adding instructions
to the instruction set.
Since each instruction, on average, is accomplishing more work, the reduced cycle time is likely
to require the average instruction to complete its task using more cycles and hence an increase
in the average CPI of the Benchmark

h. By how much has the CPU time been reduced?
700s / 750s = 0.933 or by 6.67%


2. Assume a program requires the execution of 50 ×106 FP instructions, 110 ×106 INT
instructions, 80 ×106 L/S instructions, and 16 ×106 branch instructions. The CPI for each type of
instruction is 1, 1, 4, and 2, respectively. Assume that the processor has a 2 GHz clock rate.
a. By how much must we improve the CPI of FP instructions if we want the program to run two
times faster?

The total number of clock cycles for the program is given by:
Total Clock Cycles = (CPIfp × #FP instructions) + (CPIint × #INT instructions) + (CPIl/s × #L/S
instructions) + (CPIbranch × #branch instructions)

Substituting the values given:

Total Clock Cycles = (1 × 50 × 10^6) + (1 × 110 × 10^6) + (4 × 80 × 10^6) + (2 × 16 × 10^6)
= 50 × 10^6 + 110 × 10^6 + 320 × 10^6 + 32 × 10^6 = 512 × 10^6 cycles

To run the program twice as fast, we need to reduce the total clock cycles to:

New Total Clock Cycles = 512 × 10^ = 256 × 10^6 cycles

If we improve only the FP instructions, we would still need to account for the other instructions
(INT, L/S, and Branch), which use a total of:

Non-FP Clock Cycles = (1 × 110 × 10^6) + (4 × 80 × 10^6) + (2 × 16 × 10^6) = 110 × 10^6 + 320 ×
10^6 + 32 × 10^6 = 462 × 10^6 cycles

This exceeds the target of 256 million cycles, even without considering FP instructions.
Therefore, improving the CPI of FP instructions alone cannot reduce the total clock cycles by
half. Hence, the program cannot run two times faster by improving the CPI of FP instructions
alone.

ECE 6913 Midterm Exam

Written for

Document information

Uploaded on
March 31, 2026
Number of pages
15
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$19.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
ECE 6913 Midterm/ Final Exam Questions and Answers (Package Deal) - NYU
-
3 2026
$ 35.68 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
DynamicNurse Chamberlain College Of Nursng
View profile
Follow You need to be logged in order to follow users or courses
Sold
3836
Member since
4 year
Number of followers
2911
Documents
1884
Last sold
1 day ago

4.0

556 reviews

5
315
4
83
3
66
2
24
1
68

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions