CS302 Assignment 1 Solution
CS302 Assignment 1 Solution
SOLUTION:
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 list down all the steps of calculations and conversions involved. In the case of direct results, major
marks will be deducted.
This is Decimal value not Octal, now we convert this into Octal.
8 192941
8 24117 ------------------- 5
8 3014 -------------------5
8 376 -------------------- 6
8 47 ---------------------- 0
5 ------------------------7
103589
8 12948------------------ 5
8 1618 ----------------- 4
8 202 ------------------ 2
8 25 -------------------- 2
3 ------------------------ 1
This is octal value.
Now we convert next Decimal into Octal same as previous Decimal.
Now we convert Binary value into octal value.
5 7 0 6 5 5
+ 3 1 2 2 4 5
1 1 0 3 1 2 2
1 1 0 3 1 2 2
+ 7 6 7 6 5 7
2 0 7 3 1 0 1
Now do subtraction:
6 2 5 2 5 3 7
- 2 7 7 3 0 0 1
4 1 5 7 5 3 6
1105758
8 69109------------------14-E
8 4319----------------- 5
8 269 ------------------ 15-F
8 16 ---------------------13-D
1------------------------ 0
=
So finally
QUESTION NO 2:
SOLUTION:
Simplify the stated Boolean Expression using Boolean Algebra Laws. You must state the properties of
each simplification step.
( A B+C )∗D+ ( AC + A D )∗E+ ( B C+ D )∗E+ AB D+ BC E+ D
Solution