Вы находитесь на странице: 1из 3

‫ب ِز ْدنِي ِع ْلما‬

ِ ِّ ‫ر‬

Assignment No. 02
Semester: Fall 2019
Introduction to Computing – CS101

Student Name: Shaukat Ali


Student ID: mc190403795
Question 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

Answer

724
2 362-0
2 181-0
2 90-1
2 45-0
2 22-1
2 11-0
2 5-1
2 2-1
2 1-0

724 = 1011010100
Question 2#
Complete the following truth table by using the stated Boolean logical operations.

Answer

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 1
1 0 0 1 0 1
1 0 1 1 1 0
1 1 0 1 0 1
1 1 1 1 1 0

‫حافظ خدا‬

Вам также может понравиться