Professional Documents
Culture Documents
gbhanuprakashreddy123@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
Course outline
Week 1 ()
Week 2 ()
Week 3 ()
Week 4 ()
Week 5 ()
Week 6 ()
Week 7 ()
Week 8 ()
Week 9 ()
Week 10 ()
Week 11 ()
Week 12 ()
Text Transcripts ()
Download Videos ()
Books ()
Week 2 : Assignment 2
The due date for submitting this assignment has passed.
Due on 2023-08-09, 23:59 IST.
Mantissa
Precision
Decimal
Significand
2) Let 3.xxxxx... * 10n be the largest number that can be represented in the 32-bit IEEE 754 format. What is the value 1 point
of n?
10
24
38
20
3) Which of the following combinations of the exponent, mantissa, and sign bit values represent positive infinity in 1 point
the 32-bit IEEE 754 format?
4) Which section of the assembly structure of the GNU assembler contains the instructions? 1 point
.data
.code
.text
.file
5) Let V be the value of the operand and r1 be a register value. Which of the following instructions in the register 1 point
transfer notation best describes the register direct addressing mode?
V<--r1
V <-- [r1]
6) Let the value in register r1 be (1100)2 and the value in register r2 be (0101)2. What is the value in register r3 after 1 point
the execution of the following SimpleRISC instruction? (X)2 means X is a binary number.
and r3, r1, r2
The same value as the register r2
(0000)2
(1100)2
(0100)2
7) Let ans = 12 << 3, where << means the left shift operation. What is the value of ans? 1 point
12
15
96
-12
8) What are the values of the flags.E and flags.GT after the execution of the following set of SimpleRISC instructions? 1 point
mov r1,5
mov r2,10
cmp r1,r2
10) Which of the following is not a method of storing two-dimensional arrays? 1 point
Row major
Column major
Array major