- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 7 study documents about .
7 results
Exam (elaborations)
CECS 341 MIDTERM QUESTIONS & ANSWERS (GRADED A+)
For the following MIPS assembly language instruction, first determine the instruction type, and the decimal value of each field of the instruction. Next, assemble the instructions to the binary machine code. 
 
(a) sub $s0, $s1, $zero - ANSWERR-type 
source registers: $s1 (rs), $zero (rt) 
destination register: $s0 (rd) 
opcode Rs Rt Rd shamt funct: 
0 17 0 16 0 34 
 
binary: 
hexadecimal: 0x 
 
For the following MIPS assembly language instruction, first determine the instruction type, and th...
Exam (elaborations)
CECS 341 EXAM #1 QUESTIONS & ANSWERS (RATED A+)
PopularThe computing industry has not improved quite as rapidly as the transportation industry. (True/False) - ANSWERFalse 
 
The agricultural and industrial revolutions each transformed society. Computers have led to a relatively recent information revolution. (True/False) - ANSWERTrue 
 
Computer improvements have led to previously undreamt applications like cell phones, but most signs suggest the improvements are now coming to an end. (True/False) - ANSWERFalse 
 
 
The number of PCs sold annually c...
Exam (elaborations)
Exam 2 Review for CECS 341: MIPS Architecture Concepts
Exam 2 Review for CECS 341: MIPS Architecture Concepts
Exam (elaborations)
CECS 341 FINAL QUESTIONS & ANSWERS (RATED A+)
Calculate the time required to fetch, decode, and execute the ADD instruction. - ANSWERTime for ADD = max{Read I-Mem, Increment PC} + max{Read Rs, Read Rt} + Calculate sum (ALU) + Write result to Rd (Mux, RF) 
 
CPIAVG weighted average formula? - ANSWERCPIAVG = (FC1 * CPIC1) + (FC2 * CPIC2) + (FC3 * CPIC3) + (FC4 * CPIC4) 
 
[FC1, FC2, etc. are the frequency in the program. should be a percentage) 
 
 
Sequence 2: IC = 4 + 1 + 1 = 6 
-Clock Cycles= 4×1 + 1×2 + 1×3= 9 
- Avg. CPI = 9/6 = 1.5 
...
Package deal
CECS 341 EXAM 1 & 2 PACKAGE
CECS 341 EXAM 1 & 2 PACKAGE
Exam (elaborations)
CECS 341 Exam 2 | Questions with Verified Answers
CECS 341 Exam 2 | Questions with Verified Answers The following code has a control hazard beq $t1, $t1, label2 label 1: add $s0, $s1, $s2 label2: sub $s3, $s4, $s5 True or false? True A control hazard can be resolved via a stall True or False True To reduce stall due to branches, branch prediction involves executing a next instruction even if the processor is not sure that instruction should be next True or False True i1:lw $t0, 0($t0) i2:add $t1, $t0, $t0 a. must stall b. can avoid stalls us...
Exam (elaborations)
CECS 341 Exam 1 | Questions with 100% Correct Answers
CECS 341 Exam 1 | Questions with 100% Correct Answers A computer in an Amazon building accessed by thousands of people for online shopping. a. Embedded b. Server c. PC A terabyte is one _____ bytes. a. Thousand b. Million c. Billion d. Trillion The collection of software on a computer that provides services to application software. a. System software b. Application software c. Compiler The ISA includes anything programmers need to know to make a binary machine language program work correctly,...