0% found this document useful (0 votes)
61 views2 pages

2 3242 Remainder 2 1621 0 2 810 1 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

The document contains two questions: 1) Convert the decimal number 3242 to binary, then convert the binary back to decimal. Both conversions are shown step-by-step and the final decimal is 3242, showing the conversions are equivalent. 2) Evaluate the Boolean expression (A∨B) . ((A/ + C/) ∨ (A/+B)) using a truth table. The truth table with 8 rows (for all combinations of A, B, C) is shown.

Uploaded by

Mahmmood Alam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views2 pages

2 3242 Remainder 2 1621 0 2 810 1 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

The document contains two questions: 1) Convert the decimal number 3242 to binary, then convert the binary back to decimal. Both conversions are shown step-by-step and the final decimal is 3242, showing the conversions are equivalent. 2) Evaluate the Boolean expression (A∨B) . ((A/ + C/) ∨ (A/+B)) using a truth table. The truth table with 8 rows (for all combinations of A, B, C) is shown.

Uploaded by

Mahmmood Alam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Question#1:[Marks 10]

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

(3242)10  ()2 ?

(I) Decimal to Binary


2 3242 Remainder
2 1621 0
2 810 1
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
Remainders from bottom to top
(3242)10 = (110010101010)2

(II) Binary to 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

1* 2048 1*1024  0 *512  0 * 256 1*128 


0 * 64 1*32  0 *16 1*8  0 * 4 1* 2  0 * 2

 2048 1024  0  0 128  0  32  0  8  0  2  0


 3242
(110010101010)2 = (3242)10
Question#2:

Solve the given Boolean Expression by using truth table.


(AB) . ((A/ + C/)  (A/+B))
(Here . is for And Sign)

Sample Solution:
A B C AB A/ C/ (A/ + C/) (A/+B) (A/ + C/)  (AB).((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

You might also like