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

CSE 230 FINAL Questions And Answers 100% Verified Study Quiz

Rating
-
Sold
-
Pages
7
Grade
A
Uploaded on
02-05-2025
Written in
2024/2025

CSE 230 FINAL Questions And Answers 100% Verified Study Quiz

Institution
Module









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

Written for

Institution
Module

Document information

Uploaded on
May 2, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSE 230 FINAL Questions And Answers 100%
Verified Study Quiz
The single-cycle implementation for the addu instructions uses the components in the following order: (include
MUXs in the correct order, you can ignore sign-extension.)
(Select the answer from the drop down options, only one correct.
If the number of Functional units is less than 8, you can select None for the remaining (last) blanks)

PC -> Instruction Memory -> MUX -> Register File -> ALU -> ALU -> MUX -> Register File -> None ANS
Instruction Memory, MUX, Register File, MUX, ALU, MUX, Register File, None



For the instruction beq $s1, $s1, Label the value for PCSrc is: ANS 1



Use this instruction mix, R-Type = 25%, I(not lw/sw/b) = 22%, lw= 23%, sw = 15%, bne/beq = 10%, j = 5%
The values 0, 1 and x for the control signals should be considered separately.


What is the percentage of instructions that have "0" for RegWrite control signal?

(Only write the number, do not write the % symbol) ANS 30



Use this instruction mix, R-Type = 25%, I(not lw/sw/b) = 22%, lw= 23%, sw = 15%, bne/beq = 10%, j = 5%
The values 0, 1 and x for the control signals should be considered separately.


What is the percentage of instructions that have "01" for ALUOp control signal?

(Only write the number, do not write the % symbol) ANS 10



Given:
Memory unit - 5ns

Register File - 1ns
ALU - 2ns
Start: sw $s0, 0($s1)
addi $s1, $s1, 4

beq $s1, $s2, Start

, What is the equation for Execution Time of the program? Hint type instuction *(Number of iterations in the
loop) ANS (20+20+15)*(#loop)



Execution Time for the following program:Start: addi $s1, $s2, 8Loop: lw $s0, 0($s1)addi $s1, $s1, -4bne $s1,
$s2, Loop


Given: Memory Unit - 3 ns
Register File - 2 ns

ALU - 2.5 ns

Hint: Find Execution time of Program = Execution time * Number of times executed ANS 84 ns



Which of the following mapping between instructions and number of clock cyclesfor the completion of the
instruction are true (one or more correct)?
Add - 4 clock cycle

Lw - 5 clock cycles
Sw - 1 clock cycle
J - 3 clock cycles

Bne - 2 clock cycles ANS Add - 4 clock cycle

Lw - 5 clock cycles
J - 3 clock cycles


Which of the following are true about Instruction Fetch, i.e., Step 1 in multi-cycleimplementation (one or more
correct)?
A. Instruction Register is used - Instruction written from Memory to IR
B. Memory Data Register is used

C. PC value is updated to target address
D. PC value is updated to default value (PC+4)

E. PC value is not updated ANS A,D



Which of the following are true about Instruction Decode, i.e., Step 2 in multi-cycleimplementation (one or
more correct)?
A. ALUOut register value is read
£9.96
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

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.
Nipsey Chamberlain School Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
2041
Member since
5 year
Number of followers
1524
Documents
14950
Last sold
1 day ago
LECT EXAMS

FOR THE BEST ASSIGNMENTS,TEST BANKS,EASSY AND TO HELP IN TUTORING I have done papers of various topics and complexities. I am punctual and always submit work on-deadline. I write engaging and informative content on all subjects. Send me your research papers, case studies, psychology papers, etc , and I’ll do them to the best of my abilities. Writing is my passion when it comes to academic work. I’ve got a good sense of structure and enjoy finding interesting ways to deliver information in any given paper. I love impressing clients with my work, and I am very punctual about deadlines. Send me your assignment and I’ll take it to the next level. I strive for my content to be of the highest quality. Your wishes come first— send me your requirements and I’ll make a piece of work with fresh ideas, consistent structure, and following the academic formatting rules For every student you refer to me with an order that is completed and paid transparently, I will do one assignment for you, free of charge!!

Read more Read less
4.1

362 reviews

5
211
4
55
3
55
2
14
1
27

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions