100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CSE 490/590 Spring 2025 Quiz 1 – V2|100% Questions and Answers 2025/26.

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
11-07-2025
Written in
2024/2025

CSE 490/590 Spring 2025 Quiz 1 – V2|100% Questions and Answers 2025/26. [Question 1] (6 Points) Suppose that we want to enhance the processor used for web serving. The new processor is 4 times faster on computation in a given web serving application than the original processor. Assuming that the original processor was busy with computation 60% of the time and was waiting for I/O 40% of the time, what is the overall speedup gained by incorporating the enhancement? Show your work. [Question 2] (6 Points) A program's run time for a given processor is determined using the number of instructions per program, the number of cycles per instruction, and clock frequency of the processer. Consider a program with the following instruction mix. Find the CPI for the same. Show your work. Instructions % cycle branch 20% 3 integer ALU 45% 1 load 20% 4 sw 15% 2 Updated [Question 3] (6 Points) Provide the binary representation for the following instruction: [Use Green Sheet attached] (Show your work) lw $s1,6($t1) [Question 4] [10 Points] a. Consider a byte-addressable memory system with the following contents: (3 points) Memory Location Value 0x1246 0x54 0x1247 0x16 0x1248 0x95 0x1249 0x55 0x124a 0x23 0x124b 0x17 0x124c 0x69 0x124d 0x85 If the following instruction is executed: lw $t1, 4($t0) $t0 contains the address 0x1244. What will $t1 contain? Use Big-Endian. b. Assume that $s0 contains the value 0x and $s1contains the address 0x12345B40. Assume that the memory data, starting from address 0x is: 0x. What will be the value of $s0 after the following code is executed: Show your work. (7 points) (i) lh $s1, 0($s0) (ii) lb $s1, 1($s0) Updated [Question 5] (12 Points) Given the following single cycle MIPS datapath: a. For each of the following instructions, list the stages that are necessary for the execution of the given instruction: (IF, ID, EX, MEM, WB) i. add $t6, $s3, $s2 ii. b. For each of the following instructions, list the component numbers (as shown in the diagram above) that are required for the given instruction: i. add $t6, $s3, $s2 in red Page 5 ii. sw $s3, 24($s1) in green Updated [Question 6] (10 Points) Consider the following MIPS instruction sequence: add $s3, $s2, $s1 a. Find the data (RAW) hazards for the above instruction sequence and explain why it creates such hazard(s). (3 Points) Line 2 reads from $s3 while line 1 hasn't updated the value stored in the register yet, causing a RAW hazard. Line 4 and 5 read from $t0 while line 3 hasn't fetched the data from memory yet, causing a RAW hazard. b. Show the pipeline diagram after inserting Data Forwarding Unit to overcome data dependencies: (5 Points) (c) If you did not use forwarding to handle data hazards as in (b), how many more clock cycles it will take to complete the instruction sequence above. (2 points) Page 7

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
July 11, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSE 490/590 – Quiz 1 2025/26.




Instructions:

1. This Quiz is closed book and closed notes.
2. You may have pens, pencils, erasers, a calculator, and a water bottle/drink.
3. Electronic devices are NOT ALLOWED during this Quiz, with the exception of a
calculator. You shall NOT share a calculator with others during the Quiz.
4. Place your student ID card on your desk for us to review.
5. When you are finished, remain in your seat and raise your hand and we will come and
collect your Quiz. You must not talk to anyone in the room until your Quiz has been
collected, and you have left the room.
6. Any form of cheating/academic integrity violation, including (but not limited to)
violation of the rules above will result in an automatic 0 for the Quiz.
Please fill your name in the blank and sign the statement below:

I, ,
have read, and acknowledge that I will adhere to the instructions above and if not followed, I will
accept the penalty given by the instructor.



Signature:


STOP!! PLEASE DO NOT START THE QUIZ

UNTIL YOU ARE TOLD TO DO SO



FOR GRADERS ONLY:

Q1: 6 points Q4: 10 points

Q2: 6 points Q5: 12 points

Q3: 6 points Q6: 10 points



Total: 50 points

, February 12 2025 CSE 490/590 Spring 2025 Quiz 1 – V2 Duration: 40 min


[Question 1] (6 Points)
Suppose that we want to enhance the processor used for web serving. The new processor is 4
times faster on computation in a given web serving application than the original processor.
Assuming that the original processor was busy with computation 60% of the time and was
waiting for I/O 40% of the time, what is the overall speedup gained by incorporating the
enhancement? Show your work.




[Question 2] (6 Points)
A program's run time for a given processor is determined using the number of instructions per
program, the number of cycles per instruction, and clock frequency of the processer. Consider a
program with the following instruction mix. Find the CPI for the same. Show your work.
Instructions % cycle
branch 20% 3
integer ALU 45% 1
load 20% 4
sw 15% 2




Updated [Question 3] (6 Points) Provide the binary representation for the following instruction: [Use
Green Sheet attached] (Show your work)
lw $s1,6($t1)

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.
melleystuvia Nightingale College
View profile
Follow You need to be logged in order to follow users or courses
Sold
85
Member since
8 months
Number of followers
4
Documents
1247
Last sold
1 week ago
Edusolutionguides.

We learn all subject preparation for the final exam. We give the online assignment and homework for all the subjects. That's why you prepare well for all the paperwork.

3.0

18 reviews

5
5
4
4
3
2
2
0
1
7

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

Frequently asked questions