Computer Architecture and Organization Week 2 Answers Nptel
Are you looking for Nptel Computer Architecture and Organization Week 2 Answers ? All weeks solutions of this Swayam course are available here.
Table of Contents

Computer Architecture and Organization Week 2 Answers (July-Dec 2025)
Course link: Click here to visit course on Nptel Website
Question 1. What is the binary representation of the decimal number 45.625?
a) 101101.101
b) 101101.100
c) 101100.101
d) 101100.011
Question 2. What is the binary representation of (4F.A)₁₆?
a) 01001111.1010
b) 0100 1111.1100
c) 01011111.1010
d) None of these
Question 3. What is the largest number that can be represented using 20-bit unsigned representation?
a) +2²⁰
b) + (2²⁰ − 1)
c) +2³²
d) + (20 − 1)
Question 4. How do you represent -73 using 16-bit, 2’s complement representation?
a) 1111111110110101
b) 1111111110110111
c) 10000000 10110111
d) 00000000 10110111
Question 5. For the instruction LOAD R4, 1200(R7), what addressing modes are used?
a) Register, Direct
b) Register Indirect, Indexed
c) Register, Indexed
d) Immediate, Register
Question 6. What is the correct MIPS32 representation of the following high-level code?
if (x < y)
Result = x + y;
else
Result = x - y;
a)
slt $t0, $s0, $s1
beq $t0, $zero, Else
add $s2, $s0, $s1
j Exit
Else: sub $s2, $s0, $s1
Exit: ...
b) Similar to (a) but with different branch
c) bge $s0, $s1, Else
Question 7. What does the instruction beq $t0,$t1, Label do?
a) Branches to Label if $t0 is less than $t1
b) Branches to Label if $t0 is not equal to $t1
c) Branches to Label if $t0 is equal to $t1
d) Sets $t0 to the value at address Label
Question 8. What do X, Y, Z, and W represent in this MIPS code?
addi X, Y, -50
addi Z, X, 30
(C context: M = P - 50; Q = M + 30; and $s1, $s2, $s3 hold addresses of M, P, and Q)
a) X = $s1, Z = $s2, Y = $s3, W = 30
b) X = $s3, Y = $s2, Z = $s1, W = 30
c) X = $s1, Y = $s2, Z = $s3, W = 30
d) None of these
Question 9. When a function call is made using the jal instruction in MIPS, where is the return address stored automatically?
a) On the stack by the compiler
b) In a general-purpose register specified by the caller
c) In a memory location pointed to by $sp
d) In the return address register $ra
Question 10. What is the complete 32-bit hexadecimal encoding of the instruction sub $t2, $s1, $t0?
a) 02304820
b) 02304822
c) 02284023
d) 02285022