Professional Documents
Culture Documents
CS101 Assignment No 2 Solution
CS101 Assignment No 2 Solution
02
Semester: Fall 2019
(MC190400632)
Introduction to Computing – CS101
Question no 1
Convert a decimal number 724 into its equivalent binary numbers. You are required to show the
complete steps of conversion and also write the final answer in its equivalent binary number.
Solution
2 724 Reminder
2 362 0
2 181 0
2 90 1
2 45 0
2 22 1
2 11 0
2 5 1
2 2 1
1 0
Complete the following truth table by using the stated Boolean logical operations.
A B C A+B A.C (A + B) ⊕ C
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 1 0 1
0 1 1 1 0 0
1 0 0 1 0 1
1 0 1 1 1 0
1 1 0 1 0 1
1 1 1 1 1 0