














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A final exam for a computer organization course (cs2100), covering topics such as boolean functions, mips code, sequential and combinational circuits, and cache memory. It includes multiple-choice questions, multiple-response questions, and problem-solving tasks. The exam assesses understanding of digital logic design, assembly language programming, and memory hierarchy concepts. It is designed for university students studying computer engineering or computer science, providing a comprehensive review of key concepts in computer organization. The exam questions require students to apply theoretical knowledge to practical problems, enhancing their analytical and problem-solving skills. The document serves as a valuable resource for exam preparation and self-assessment in computer architecture.
Typology: Exams
1 / 22
This page cannot be seen from the preview
Don't miss anything!
C : 001 01 xx, 001 10 xx, 001 11 xx 3×4= {010 – 111} xxxx 6×16 = 96 Total = 1 + 1 + (12 + 96) = 110.
.data A: .word 10,21,12,17,9,1,20,33 # after: 10,18,12,2,7,-1,20, B: .word 100,3,20,15,2,2,65, size: .word 8
.text main: la $s0, A la $s1, B
**# $s0 is the base address of array A
syscall li $v0, 10 syscall
# system call to print
# system call to exit
Page 10 of 22
Page 14 of 22
**# $s0 = array A; $s1 = arrayB; $s2 = size; $s3 = A[i]; $s4 = B[i]
.data A: .word 10,21,12,17,9,1,20,33 # after: 10,18,12,2,7,-1,20, B: .word 100,3,20,15,2,2,65, size: .word 8**
end: li $v0, 1 # system call code for print_int add $a0, $s5, $0 # transfer $s5 to $a0 for printing syscall # print $s li $v0, 10 # system call code for exit syscall
Page 16 of 22
0
4 1
3
2
Present state Input Next State
F G x DF = F +^ DG = G + 0 0 0 1 1 0 0 1 0 0 0 1 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 1 1 0
Page 20 of 22