Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Đề Thi Và Đáp Án Kiến Trúc Máy Tính Giữa Kỳ 1 Năm Học 2021-2022 - UET

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Câu Hỏi 1 Sai

TailieuVNU.com
Suppose all registers are 64-bit wide. How many bits are needed to encode the shamt field of R-type
instructions?

a. 4

b. 6

c. 8

d. 16

Câu trả lời đúng là: 6

Câu Hỏi 2 Đúng

Two processors Intel "Skylake" and AMD "Barcelona" have

a. Different ISA, same organization

b. Different ISA, different organization

c. Same ISA, different organization

d. Same ISA, same organization

Câu trả lời đúng là: Same ISA, different organization

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 2/9
Câu Hỏi 3 Đúng

TailieuVNU.com
Suppose the binary code representation of the MIPS instruction add $rd,$rs,$rt is
00000000111001010101000000100000. What is the destination register?

a. $7

b. $9

c. $10

d. $5

Câu trả lời đúng là: $10

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 3/9
Câu Hỏi 4 Sai

TailieuVNU.com
Suppose the binary code representation of the MIPS instruction lw $rt, imm($rs) is 0x8D090027. What is the
offset of the address?

a. 39

b. 27

c. 9

d. 8

Câu trả lời đúng là: 39

Câu Hỏi 5 Đúng

The exponent field of the single precision floating point representation of 0.125 is

a. 0x01

b. 0x00

c. 0x80

d. 0x7C

Câu trả lời đúng là: 0x7C

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 4/9
Câu Hỏi 6 Sai

TailieuVNU.com
Assume that $sp=0x10000004. What value is stored in the address 0x10000004 on a little-endian machine
after pushing the value 0x00112233 to the stack?

a. 0x33

b. 0x11

c. 0x00

d. Not enough information

Câu trả lời đúng là: Not enough information

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 5/9
Câu Hỏi 7 Sai

TailieuVNU.com
Assume that $PC=0x10000004. What value is stored in register $ra if the instruction jal 0x10000000 is
executed?

a. Not enough information

b. 0x10000004

c. 0x10000000

d. 0x10000008

Câu trả lời đúng là: 0x10000008

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 6/9
Câu Hỏi 8 Đúng

TailieuVNU.com
Suppose a program runs in 120 seconds on a machine, with multiply responsible for 90 seconds of this
time. How much do we have to improve the speed of multiplication if we want the program to run 3 times
faster?

a. 9 times

b. 10 times

c. Impossible

d. 8 times

Câu trả lời đúng là: 9 times

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 7/9
Câu Hỏi 9 Đúng

TailieuVNU.com
Assume that registers $s0 and $s1 hold the values 0x000080AB and 0x00007CDE, respectively. What is
the value of $t0 for the assembly instruction "add $ t0, $ s0, $ s1"?

a. 64095

b. 60495

c. 64905

d. 69405

Câu trả lời đúng là: 64905

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 8/9
Câu Hỏi 10 Đúng

TailieuVNU.com
Given the following MIPS code accessing a word array of elements in memory with the starting address in
$t0. How many times does the bne instruction actually branch to the label Loop?

a. 8

b. 10

c. 9

d. 11

Câu trả lời đúng là: 9

◄ Slides bài giảng tuần 8 Chuyển tới...

Screen-captured video upload ►

https://courses.uet.vnu.edu.vn/mod/quiz/review.php?attempt=369069&cmid=87558 9/9

You might also like