CS302 Assignment 1 Solution Spring 2021
Total Marks: 20
Due Date: 24-May-2021
QUESTION 1:
You are required to perform stated operations. You must consider the stated bases or number system for your final answer.
You can use indirect conversion or repeated division methods only. Your solution must have to list down all the steps of calculations and conversions involved. In the case of direct results, major marks will be deducted.
Question Part 1.ΩΩ∑↑↑∆>C+↑>Ω∆∆ΩC=C=H
SOLUTION:
3304412+423113
(3727525)10 = (Ω∆∆>∆>∆)C
(3727525)10 = (38E0A5)11
Question Part 2. FDEA2H-8989FH+767657O=H
SOLUTION:
(151314102)10 – (898915)10 – (765677)10 = (?)H
(150415187)10 + (767657)10 = (?)H
(1511182844)10 = (?)H
(1511182844)10 = (902DDFC)H
ANSWER.
QUESTION 2:
Perform the following conversions:
Question Part 1)
-831.696972
SOLUTION:
831 = (-1101111)
.696972×2 = 1.393944
.393944×2 = 0.787889
.787889×2 = 1.575778
.575778×2 = 1.151552
.151552×2 = 0.303105
. 696972 = .10110
-831.696972 = (-1101111.10110)2
Question Part 2)
(0 10000111 11111111010100010101011)2
SOLUTION:
0×231+1×230+0×229+0×228+0×227+0×226+1×225+1×224+1×223+1×222+1×221+1×220+1×219+1×218+1×217+1×216+1×215+0×214+1×213+0×212+1×211+0×210+0×29+0×28+1×27+0×26+1×25+0×24+1×23+0×22+1×21+1×20
0+10737441824+0+0+0+33554432+16777216+8388608+4194304+2097152+1048576+524288+262144+131072+65536+32768+0+8192+0+2048+0+0+0+128+0+32+0+8+0+2+1
= 1140828331
(0 10000111 11111111010100010101011)2 = (1140828331)10
PLEASE NOTE:
Don't copy-paste the same answer.
Make sure you can make some changes to your solution file before submitting copy-paste solution will be marked zero.
If you found any mistake then correct yourself and inform me.
Before submitting an assignment check your assignment requirement file.
If you need some help and question about files and solutions.
MORE ASSIGNMENTS SOLUTION VISIT
VU Answer
0 Comments