We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# cs101 assignmnt solution

CS101

ASSIGNMENT NO 1

Q no 1 solution:

Convert the decimal no into binary and then again into binary:

i)4789

Conversion into binary:

 Deviser Dividend Reminder 2 4789 1 2 2394 0 2 1197 1 2 598 0 2 299 1 2 149 1 2 74 0 2 37 1 2 18 0 2 9 1 2 4 0 2 2 0 2 0 1

4789=(1001010110101)2

Binary to decimal no:

(1001010110101)2=1.212+0.211+0.210+1.29+0.28+1.27+0.26+1.25+1.24+0.23+1.22+0.21+1.20

(1001010110101)2=4096+0+0+512+128+0+32+16+0+4+0+1

(1001010110101)2=4789

ii)8735

 Deviser Dividend Reminder 2 8735 1 2 4367 1 2 2183 1 2 1091 1 2 545 1 2 272 0 2 136 0 2 68 0 2 34 0 2 17 1 2 8 0 2 4 0 2 2 0 2 0 1

_8735=(10001000011111)2

Binary to decimal:

(10001000011111)2=1.214+0.213+0.212+0.211+1.210+0.29+0.28+0.27+0.26+1.25+1.24+1.23+1.22+1.21+1.20

(10001000011111)2=_(8192+0+0+0+512+0+0+0+0+16+8+4+2+1)

(10001000011111)2=_8735

Q NO2 SOLUTION:

Solve Boolean expression:

[(A⊕D).(A+B)].[( B ̅+C ̅) ⊕(B+C+D)]

 A B C D 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 1 1 1 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 0 0 1 1 1 1 1 0 1 1 1 1 1 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 1 0 0 0 1 0 1 0 0 1 1 1 0 0 0 1 0 1 1 0 1 1 1 0 0 0 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 0 0 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 0 0

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 485

## Latest Activity

+ Ehtisham + liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! !!!!!!
6 hours ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + posted discussions
6 hours ago
+!!★彡 Alan Walker彡★✓ liked Ammara Sabir's discussion !!!!!!Muhabbat!!!!!!
6 hours ago
+!!★彡 Alan Walker彡★✓ liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!!LIFE !!!!!!
6 hours ago
6 hours ago
6 hours ago
7 hours ago
Anaya liked zohaib iftikhar's discussion ...*ANDHERY MAIN ROSHNI ...*
7 hours ago
7 hours ago
Anaya liked Ammara Sabir's discussion !!!!!!Muhabbat!!!!!!
7 hours ago
Anaya liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!!LIFE !!!!!!
7 hours ago
Anaya liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! !!!!!!
7 hours ago

1

2

3

4

5