Professional Documents
Culture Documents
Assignment I - Winter Semester 2021-22
Assignment I - Winter Semester 2021-22
Assignment I - Winter Semester 2021-22
• Write your Name, Register Number and Date in the first page & Register number in all
pages.
• Write the questions and solve the given problems individually (pen and paper)
• Solve the respective question set (among 5 sets ) specified against the individuals register
numbers
• Scan and upload the soft copy on or before the specified date of submission thorugh VTop
(28th Sep 2021)
__________________________________________________________________
Set 1
• 18705
• 89174
b. Decimal number to binary and hexadecimal
• 6.5859510
• 0.687510
• ABCDEH
• 6B2C3H
• -72
• +47
5. Convert the given n-bit sign integer to 1’s complement representation and decimal
equivalent.
• 0 100 0001
• 1 01010101
6. Convert the given n-bit sign integer to 2’s complement representation and decimal
equivalent.
• 1 1111100
• 0 100 0001
a) 111000
- 110011
b) 11001100
- 101110
((A-(B/C))*((F/D)-E))
9. Realize Three, Two, One and Zero address instructions to evaluate the above
expression.
10. Given a 6 stage (k) pipeline and if each stage requires 50ns(tp) to perform a sub-
operation, determine the execution time for 100 tasks (n) in a pipelined system and
a non-pipelined system and indicate the speedup achieved.
Set 2
• 20486
• 84567
b.Decimal number to binary and hexadecimal
• 18.687510
• 276.4510
• -72
• +47
5. Convert the given n-bit sign integer to 1’s complement representation and decimal
equivalent.
• 0 100 0001
• 1 01010101
6. Convert the given n-bit sign integer to 2’s complement representation and decimal
equivalent.
• 1 1111100
• 0 100 0001
a) 111000
- 110011
b) 11001100
- 101110
(A+B/C *(D+E) – F)
9.Realize Three, Two, One and Zero address instructions to evaluate the above
expression.
10. Given a 6 stage (k) pipeline and if each stage requires 30ns(tp) to perform a sub-
operation, determine the execution time for 200 tasks (n) in a pipelined system and
a non-pipelined system and indicate the speedup achieved.
Set 3
• 87051
• 91746
b.Decimal number to binary and hexadecimal
• 868.5210
• 0.634510
• -27
• +85
5. Convert the given n-bit sign integer to 1’s complement representation and decimal
equivalent.
• 0 100 1000
• 1 01001011
6. Convert the given n-bit sign integer to 2’s complement representation and decimal
equivalent.
• 1 1110011
• 0 100 1101
a) 111010
- 110001
b) 11010001
- 101011
((A+B)*C+ D/E – F)
9. Realize Three, Two, One and Zero address instructions to evaluate the above
expression.
10. Given a 6 stage (k) pipeline and if each stage requires 60ns(tp) to perform a sub-
operation, determine the execution time for 150 tasks (n) in a pipelined system and
a non-pipelined system and indicate the speedup achieved.
Set 4
• 12345
• 87867
b. Decimal number to binary and hexadecimal
• 26.86510
• 765.4510
• -86
• +74
5. Convert the given n-bit sign integer to 1’s complement representation and decimal
equivalent.
• 0 111 0 0110
• 1 11010 0 01
6. Convert the given n-bit sign integer to 2’s complement representation and its
decimal equivalent.
• 1 110 0 0 0 0
• 0 10 0 11 01
a) 101000
- 100001
b) 11000110
- 101100
(P / Q - R) * S + T)
9. Realize Three, Two, One and Zero address instructions to evaluate the above
expression.
10. Given a 6 stage (k) pipeline and if each stage requires 40ns(tp) to perform a sub-
operation, determine the execution time for 250 tasks (n) in a pipelined system and
a non-pipelined system and indicate the speedup achieved.
Set 5
• 78015
• 96714
b. Decimal number to binary and hexadecimal
• 7.123410
• 0.876510
• EDCBA
• 8CB2D
b. Binary numbers into hexadecimal and decimal equivalent
• 10011110012
• 100011002
• -45
• +73
5. Convert the given n-bit sign integer to 1’s complement representation and decimal
equivalent.
• 0 110 0011
• 1 01010111
6. Convert the given n-bit sign integer to 2’s complement representation and decimal
equivalent.
• 1 1111010
• 0 100 0101
a) 111001
- 110101
b) 11001000
- 101110
(A / (B+C) * D – E)
9. Realize Three, Two, One and Zero address instructions to evaluate the above
expression.
10. Given a 6 stage (k) pipeline and if each stage requires 40ns(tp) to perform a sub-
operation, determine the execution time for 300 tasks (n) in a pipelined system and
a non-pipelined system and indicate the speedup achieved.