Computer Architecture Nptel Week 2 Assignment Answers

Find the Computer Architecture Nptel Week 2 Assignment Answers. This guide offers solutions to help you complete your Week 2 assignments, focusing on key concepts in computer architecture. Use these answers as a resource to support your learning and successfully complete your coursework.

Course Link: Click Here

Computer Architecture Nptel Week 2 Assignment 2 Answers
Computer Architecture Nptel Week 2 Assignment 2 Answers

Computer Architecture Nptel Week 2 Assignment Answers

Session: JUL-DEC 2024


Q1. What is the smallest positive denormal number in the IEEE 754 standard?
2-126
2-127
2-149
2-150

Answer: 2-149


Q2. Consider the following assembly code in the SimpleRISC ISA.
movh r0, 0xFB12
addu r0, r0, 0xCDEF
What is the final value of r0 after executing this code?

0xCDEFFB12
0xFB12CDEF
0x0001C901
0xFBCD12EF

Answer: 0xFB12CDEF


For answers or latest updates join our telegram channel: Click here to join

These are Computer Architecture Nptel Week 2 Assignment Answers


Q3. Consider the following SimpleRISC assembly code.

    mov r1, 10
    mov r3, 5
    st r1, [sp]
    add r4, r1, r3
    ld r2, [sp]

What are the contents of r2 and r4 after executing these instructions?
r2 = 10, r4 = 15
r2 = 15, r4 = 10
r2 = 10, r4 = 10
r2 = 15, r4 = 15

Answer: r2 = 10, r4 = 15


Q4. Consider the following SimpleRISC instructions:

    mov r1, 20
    lsl r2, r1, 2

What is the content of r2 after executing these instructions?
80
10
40
5

Answer: 80


For answers or latest updates join our telegram channel: Click here to join

These are Computer Architecture Nptel Week 2 Assignment Answers


Q5. The SimpleRISC ISA has __ registers.
15
16
17
None of the options

Answer: 16


Q6. Which of the following is not a shift instruction in the SimpleRisc ISA?
lsl
asr
asl
lsr

See also  Computer Architecture Nptel Week 8 Assignment Answers 2024

Answer:asl


For answers or latest updates join our telegram channel: Click here to join

These are Computer Architecture Nptel Week 2 Assignment Answers


Q7. The bgt instruction bases its outcome on the value of _ flag(s).
Both E and GT
GT
E
None of the options

Answer: None of the options


Q8. A fixed-point number has a fixed number of digits __.
After the decimal point.
Before the decimal point.
Both before and after the decimal point.
None of the options

Answer:Both before and after the decimal point.


For answers or latest updates join our telegram channel: Click here to join

These are Computer Architecture Nptel Week 2 Assignment 2 Answers


Q9.UTF-32 uses __ bytes for every character.
2
4
6
8

Answer:4


Q10. How many bits are used for the exponent in the IEEE 754 standard for double precision numbers?
11
8
52
10

Answer: 11


For answers or latest updates join our telegram channel: Click here to join

These are Computer Architecture Nptel Week 2 Assignment 2 Answers


All weeks of Computer Architecture: Click Here

For answers to additional Nptel courses, please refer to this link: NPTEL Assignment Answers