+ Link For Assignments, GDBs & Online Quizzes Solution |
+ 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 |
Tags:
+ 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)
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post