Professional Documents
Culture Documents
Name: Muhammad Bilal Tahir Roll No. Bc180400644: First I Convert Decimal Number Into Binary Number
Name: Muhammad Bilal Tahir Roll No. Bc180400644: First I Convert Decimal Number Into Binary Number
Convert the following decimal numbers into equivalent binary numbers and then convert
the binary answer back into equivalent decimal. Show all the steps of conversions.
3242
2 3242
2 1621 - 0
2 810 - 1 The answer is = (110010101010)2
2 405 - 0
2 202 - 1
2 101 - 0
2 50 - 1
2 25 - 0
2 12 - 1
2 6 -0
2 3 -0
1 -1
Now I’m going to convert the binary answer back into Decimal.
(110010101010)2
= 1*211 + 1*210 + 0*29 + 0*28 + 1*27 + 0*26 + 1*25 + 0*24 + 1*23 + 0*22
+ 1*21 + 0*20
Question#2:
[Marks 10]
Solve the given Boolean Expression by using truth table.
(AB) . ((A/ + C/) (A/+B))
(Here . is for And Sign)
Solution:
A B C AB A/ C/ (A/ + C/) (A/+B) (A/ + C/) (AB).((A/ + C/)
(A/+B) (A/+B))
0 0 0 0 1 1 1 1 0 0
0 0 1 0 1 0 1 1 0 0
0 1 0 1 1 1 1 1 0 0
0 1 1 1 1 0 1 1 0 0
1 0 0 1 0 1 1 0 1 1
1 0 1 1 0 0 0 0 0 0
1 1 0 0 0 1 1 1 0 0
1 1 1 0 0 0 0 1 1 0