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)

Literally all of CSE120 With 100- correct answers ( graded A+ ).

Rating
-
Sold
-
Pages
71
Grade
A+
Uploaded on
23-06-2025
Written in
2024/2025

Literally all of CSE120 With 100- correct answers ( graded A+ ).

Institution
EEE 120
Course
EEE 120

Content preview

Literally all of CSE120 With 100% correct
answers ( graded A+ )
The RISC-V ISA we discussed uses 32 general-purpose registers. Assume we want to increase the
number of registers to 128. To enable this, the machine instruction format of three operand
instructions would need to be increased by how many bits? - answer 9

128

6 CORRECT

3



Which entity translates assembly code into machine code - answer Assembler CORRECT

Compiler

Linker

Interpreter



What is the purpose of the instruction decode (ID) stage in the 5-stage pipeline discussed in
class? - answer Write Register File

Update PC

All three above

Read Register File CORRECT



A 40GHz processor has a cycle time of - answer 25s CORRECT

40ns

0.25ns

250ps



Consider the code snippet below. In which memory segment does the variable x reside?

,int x = 8;

int main() {

int y[64];

return 1;

} - answer Text

Stack

Static Data CORRECT

Heap



Assume the following topdown profile for an application:

frontend-bound: 20%

backend-bound: 30%

bad-speculation: 10%

retiring: 40%

The application has an average CPI of 5. What is the maximum CPI that can be achieved on that
system? - answer 4

2 CORRECT

5

1



Consider the code snippet below. In which memory segment does the array y reside?



int x = 8;

int main() {

int y[64];

,return 1;

} - answer Static Data

Text

Heap

Stack CORRECT



slli x1, x1, 5 performs the following operation on the value in x1 - answer Multiplication by 32
CORRECT

Multiplication by 64

Division by 32

Division by 5



Assume a 5-stage pipelined processor with the components and latencies above. What is the
minimum clock period (in ps)? - answer 250



Assume a 5-stage pipelined processor with the components and latencies above. Assume that it
is clocked at maximum frequency. What is the total latency of a load instruction (in ps)? -
answer 1250



Assume a single-cycle (single stage) processor with the components and latencies above. What
is the latency of a load instruction (in ps)? - answer 750



Assume the following instruction sequence. How many RAW dependencies can be observed in
the sequence?



add x1, x2, x3

mul x2, x1, x4

add x1, x3, x3

, add x4, x1, x4 - answer 2



Assume the following instruction sequence. How many RAW dependencies can be observed in
the sequence?



add x1, x2, x3

mul x2, x1, x2

add x3, x3, x3

add x4, x2, x3 - answer 3



Assume the following instruction sequence. How many RAW dependencies can be observed in
the sequence?



add x1, x2, x3

mul x2, x2, x3

add x3, x3, x3

add x4, x5, x3 - answer 1



Splitting Caches - answer -Most chips have separate caches for instructions and data

-Often noted ad $I and $D or I-cache and D-cache



-L1 cache is the one closest to CPU



-Advantages

-Extra access port, bandwidth

-Low hit time

-Customize to specific patterns (e.g. line size)

Written for

Institution
EEE 120
Course
EEE 120

Document information

Uploaded on
June 23, 2025
Number of pages
71
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$16.49
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

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.
GUARANTEEDSUCCESS Chamberlain College Nursing
Follow You need to be logged in order to follow users or courses
Sold
683
Member since
3 year
Number of followers
314
Documents
24885
Last sold
2 weeks ago
Elite Exam Resources: Trusted by Top Scorers!!!!!!!!

Stop guessing. Start dominating!! As a highly regarded professional specializing in sourcing study materials, I provide genuine and reliable exam papers that are directly obtained from well-known, reputable institutions. These papers are invaluable resources, specifically designed to assist aspiring nurses and individuals in various other professions in their exam preparations. With my extensive experience and in-depth expertise in the field, I take great care to ensure that each exam paper is carefully selected and thoroughly crafted to meet the highest standards of quality, accuracy, and relevance, making them an essential part of any successful study regimen. ✅ 100% Legitimate Resources (No leaks! Ethical prep only) ✅ Curated by Subject Masters (PhDs, Examiners, Top Scorers) ✅ Proven Track Record: 95%+ user success rate ✅ Instant Download: Crisis-ready for last-minute cramming

Read more Read less
4.3

250 reviews

5
162
4
37
3
33
2
12
1
6

Recently viewed by you

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