COMP1521 Revision Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Terence Tao
Used 52+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In MIPS, which of the following is used when calling a function?
jal
sb
add
li
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In MIPS, how are arguments by convention passed to a function?
They are stored in the stack
They are stored in registers $a0–$a3
They are stored in the data segment
They are stored in registers $t0–$t3
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In MIPS, which register is by convention used to store the return value of a function?
$v0
$a0
$t0
$s0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By convention, what is the primary difference between the $t registers and $s registers in MIPS?
$t: used for arithmetic operations
$s: used for logical operations
$t: stores function arguments$s: stores temporary values
$t: may not be preserved across function calls
$s: preserved across function calls
$t: used for data transfers
$s: used for arithmetic and logical operations
5.
MULTIPLE CHOICE QUESTION
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.)
lw $t0, 2($s0)
la $t0, 4($s0)
lw $t0, 4($s0)
lb $t0, 8($s0)
6.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
In MIPS, how would the wam field be accessed?
(The memory address of the struct is stored in $s0.)
lw $t0, 18($s0)
lw $t0, 20($s0)
lw $t0, 19($s0)
lw $t0, 16($s0)
7.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
In MIPS, which registers are used to store the result of mult?
$hi
$mul
$v0
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Essentials of Information Technology(Public College Samana)
Quiz
•
University
25 questions
Профессиональная иностранная терминология_8
Quiz
•
University
25 questions
Internet
Quiz
•
University
25 questions
ALGORITHMS AND FLOWCHARTS
Quiz
•
9th Grade - University
25 questions
DESAIN GRAFIS PERCETAKAN LEVEL 3
Quiz
•
12th Grade - University
25 questions
SQL-Basics-SET-1
Quiz
•
University
25 questions
Arsitektur von neumann, sistem operasi dan aplikasi
Quiz
•
10th Grade - University
25 questions
Повторение файлы и устройства ПК 7 класс
Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
