100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

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

Puntuación
-
Vendido
-
Páginas
6
Grado
A+
Subido en
11-07-2025
Escrito en
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

Mostrar más Leer menos









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Información del documento

Subido en
11 de julio de 2025
Número de páginas
6
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

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)

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
melleystuvia Nightingale College
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
85
Miembro desde
8 meses
Número de seguidores
4
Documentos
1247
Última venta
1 semana hace
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 reseñas

5
5
4
4
3
2
2
0
1
7

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes