Search Header Logo

CS2810 Review Quiz Unit 2

Authored by sethbassetti apple_user

Computers

University

Used 2+ times

CS2810 Review Quiz Unit 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the slt instruction do in MIPS?

Adds the values of two registers and stores the result in the destination register
Compares two registers and sets the destination register to 1 if the first register is less than the second, and 0 otherwise.
Shifts the bits of a register to the right by a specified amount
Multiplies two registers and stores the result in the destination register

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

addi, lw, and beq are examples of ___

instructions that access memory

I-format instructions

instructions that write to the register file

instructions where ALUSrc is 1

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For addi, the control signal for ALUSrc is ___

0

1

doesn't matter

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which instruction has the following combination of control signals?

ALUSrc = 1

MemtoReg=1

RegDest=0

addi

lw

sw

beq

slt

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In MIPS, there are ___ bytes in a word

4

8

16

32

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is data transferred from the main memory to the rest of the processor in MIPS?

Through the MemtoReg multiplexer

By sw instructions

Through the ALU result

Through the RegDest multiplexer

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

lw $t2, myVariable is an example of a _____

R-format instruction

pseudo-instruction

core-instruction

addition instruction

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?