Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 34 pages
Exam (elaborations)

CSCI3130 Final Exam Questions AND Correct Answers

Document preview thumbnail
Preview 4 out of 34 pages

CSCI3130 Final Exam Questions AND Correct Answers

Content preview

CSCI3130 Final Exam Questions AND Correct Answers
•The exact sequence of microoperations that are carried out
by an instruction can be specified using _____. - ✔✔register
transfer language (RTL)


A full adder logic circuit will have _________________ -
✔✔Three inputs and two outputs


A universal logic gate is one which can be used to generate
any logic function. Which of the following are universal logic
gate? - ✔✔NAND and NOR


Arithmetic-Logic Unit (ALU) - ✔✔carries out logical and
arithmetic operations as directed by the control unit


Associative cache mapping is a type of cache mapping
technique where... - ✔✔... each block in main memory can be
mapped to any block in the cache memory.


Associative Mapping - ✔✔-- Advantage: allow main memory
block to be placed anywherein cache.

,-- Disadvantages: Expensive (requires special hardware);
Requires searching; Limited cache size


Assume the following code:
section .text
mov rdx, 1
mov rax, 8
mov rsi, 2


section .data
myvar: dq 100


Provide the value stored in the register after the following
instructions are executed:


1. DIV rsi
-- value of rsi?
-- value of rax?
-- value of rdx?


2. MOV rdx, 0

,DIV rsi
-- value of rsi?
-- value of rdx?
-- value of rax? - ✔✔1. Rsi = 2, rax = (2^64 + 8)/2, rdx = 0
2. Rsi = 2 rax = 4, rdx = 0


Assume the following code:
section .text
mov rdx, 2
mov rax, 3
mov rsi, 4


section .data
myvar: dq 100


Provide the value stored in the register after the following
instructions are executed:


1. MUL rsi
-- value of rsi?

, -- value of rax?
-- value of rdx?


2. MUL 45
-- value of rdx?
-- value of rax? - ✔✔1. Rsi = 4, rax = 12, rdx = 2
2. Rdx = 2, rax = 135


Assume the following code:
section .text
mov rdx, 20
mov rax, 30
mov rsi, 10


section .data
myvar: dq 100


Given the following instruction:
ADD rax, rdx
-- What is the value of rdx?

Document information

Uploaded on
October 31, 2025
Number of pages
34
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
ExamsCentre
3.7
(3)
Sold
13
Followers
0
Items
1709
Last sold
2 months ago


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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions