COT EXAM FINAL PT 1 QUESTIONS AND
ANSWERS. VERIFIED 2026.
In MIPSzy, the addressability is: - ANS 32 bits
MIPSzy's Register file has _____ registers - ANS 8
MIPSzy Data Memory begins at address - ANS 4096
A comment in MIPSzy begins - ANS #
$t0 is a read-only register (T/F) - ANS false
Which MIPSzy instructions is a data transfer instruction - ANS lw
What is in $t1 after the execution of the following MIPSzy program?
addi $t1, $zero, 1
addi $t2, $t1, 1
bne $t1, $t2, end
add $t1, $t2, $t1
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.
, end: addi $t1, $t1, 1 - ANS 2
Which instructions compute: $t3=($t2-$t1)*$t2 - ANS sub $t1, $zero, $t1
add $t1, $t1, $t2
mul $t3, $t1, $t2
Assume $t1 holds 5100. Which instruction copies the contents of $t0 into memory location
5100(DM[4100]) - ANS sw $t0, 0($t1)
filler question - ANS
Assume:
$t0: 8
$t1: 10
What is in $t2 after the instruction: set $t2, $t0, $t1 - ANS 1
Assume:
$t0: 10
$t1: 10
$t2: 15
$t3: 21
What is in $t3 after the execution of the following MIPSzy program:
bet $t0, $t1, end
addi $t3, $t3, 5
end: addi $t3, $t3, 2 - ANS 23
2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.
ANSWERS. VERIFIED 2026.
In MIPSzy, the addressability is: - ANS 32 bits
MIPSzy's Register file has _____ registers - ANS 8
MIPSzy Data Memory begins at address - ANS 4096
A comment in MIPSzy begins - ANS #
$t0 is a read-only register (T/F) - ANS false
Which MIPSzy instructions is a data transfer instruction - ANS lw
What is in $t1 after the execution of the following MIPSzy program?
addi $t1, $zero, 1
addi $t2, $t1, 1
bne $t1, $t2, end
add $t1, $t2, $t1
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.
, end: addi $t1, $t1, 1 - ANS 2
Which instructions compute: $t3=($t2-$t1)*$t2 - ANS sub $t1, $zero, $t1
add $t1, $t1, $t2
mul $t3, $t1, $t2
Assume $t1 holds 5100. Which instruction copies the contents of $t0 into memory location
5100(DM[4100]) - ANS sw $t0, 0($t1)
filler question - ANS
Assume:
$t0: 8
$t1: 10
What is in $t2 after the instruction: set $t2, $t0, $t1 - ANS 1
Assume:
$t0: 10
$t1: 10
$t2: 15
$t3: 21
What is in $t3 after the execution of the following MIPSzy program:
bet $t0, $t1, end
addi $t3, $t3, 5
end: addi $t3, $t3, 2 - ANS 23
2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.