COMP1521 Revision Quiz

COMP1521 Revision Quiz

Assessment

Assessment

Created by

Terence Tao

Computers

University

46 plays

Medium

Student preview

quiz-placeholder

30 questions

Show all answers

1.

MULTIPLE CHOICE

20 sec • 1 pt

In MIPS, which of the following is used when calling a function?

2.

MULTIPLE CHOICE

20 sec • 1 pt

In MIPS, how are arguments by convention passed to a function?

3.

MULTIPLE CHOICE

20 sec • 1 pt

In MIPS, which register is by convention used to store the return value of a function?

4.

MULTIPLE CHOICE

30 sec • 1 pt

By convention, what is the primary difference between the $t registers and $s registers in MIPS?

5.

MULTIPLE CHOICE

30 sec • 2 pts

In MIPS, how do you access the second element of a 32-bit integer array stored in memory?

(The memory address of the array is stored in $s0.)

6.

MULTIPLE CHOICE

45 sec • 3 pts

Media Image

In MIPS, how would the wam field be accessed?

(The memory address of the struct is stored in $s0.)

7.

MULTIPLE SELECT

20 sec • 1 pt

In MIPS, which registers are used to store the result of mult?

8.

MULTIPLE CHOICE

45 sec • 2 pts

Media Image

After executing this, what are the contents of $lo and $hi?

9.

MULTIPLE CHOICE

30 sec • 2 pts

Media Image

What does this do?

10.

MULTIPLE CHOICE

30 sec • 2 pts

What is the result of 0b1010 & 0b1100?

· · ·

0b1010

0b1100

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?