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

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)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 487

Looking For Something? Search Below

Latest Activity

Profile IconMuhammad Zeeshan Fayyaz and Salaar joined Virtual University of Pakistan
41 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion PSY632 Theory & Practice of Counseling Assignment No 02 Fall 2020 Solution / Discussion in the group PSY632 Theory & Practice of Counseling
42 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion PSY632 Theory & Practice of Counseling Assignment No 02 Fall 2020 Solution / Discussion
42 minutes ago
+ M.Tariq Malik added a discussion to the group PSY632 Theory & Practice of Counseling
44 minutes ago
Muniba shahid replied to + M.Tariq Malik's discussion CS411 Assignment No 03 Fall 2020 Solution & Discussion in the group CS411 Visual Programming
49 minutes ago
Profile IconMuniba shahid, H@di_a and 2 other members joined + M.Tariq Malik's group
50 minutes ago
Saba Shahzadi joined + M.Tariq Malik's group
55 minutes ago
+ M.Tariq Malik replied to Agha Danial Durrani's discussion CS609 Assignment No 03 Fall 2020 Solution & Discussion Due Date: 28-01-2021 in the group CS609 System Programming
1 hour ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 03 Fall 2020 Solution & Discussion Due Date: 25-01-2021 in the group CS502 Fundamentals of Algorithms
1 hour ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS625 Professional Practices Assignment No 03 Fall 2020 Solution & Discussion Due Date: 28-01-2021 in the group CS625 Professional Practices
1 hour ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS625 Professional Practices Assignment No 03 Fall 2020 Solution & Discussion Due Date: 28-01-2021
1 hour ago
+ M.Tariq Malik added a discussion to the group CS625 Professional Practices
1 hour ago

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.