CS101 Assignment No. 1 Solution - Spring 2015 Semester
Page 1 of 1 • Share
CS101 Assignment No. 1 Solution - Spring 2015 Semester
Ali wants to complete his BSCS but he is unable to pay his university fee due to financial problems. Being a bright student, he is availing scholarship but that amount is not sufficient to meet his ends. One of his teachers suggests him to wok online and guides him how to start working as a freelancer. Ali gets his first task which is based on some basic computing concepts. Can you help him in his task by solving the following questions?
a) Convert (1000100)2 into decimal equivalent.
b) Convert (68)10 into binary equivalent.
Question No 2: Marks 10
1) Complete the given truth table for the following expression:
X= (A.B.C) + A. (B´+ C´)
AB C A.B.C B' C' B' + C' A.( B' + C') X 1 1 1 1 1 1 1 1 1 1 1 1
Solution of cs101 spring 2015 first assignment
Question No 1:
Convert [b](1000100)2 [b]into decimal equivalent.[/b][/b](1000100)2 = (1 * 26) + (0*25) + (0*24) + (0*23) + (1*22) + (0*21) + (0*20)= 64 + 0 + 0 + 0 + 4 + 0 + 0= 64+4= (68)10[b][b]b) [b]Convert [b](68)10 [b]into binary equivalent.[/b][/b][/b][/b][/b]
2 68 Remainders
34 0
17 0
8 1
4 0
2 0
1 0
Hence, (68)10 = (1000100)2
Question No.2
1) Complete the given truth table for the following expression:
X= (A.B.C) + A. (B´+ C´)
X= (A.B.C) + A. (B´+ C´)
Simba- Monstars
-
Posts : 658
Join date : 2013-09-06
Age : 38
Location : pk
Re: CS101 Assignment No. 1 Solution - Spring 2015 Semester
A | B | C | A.B.C | B' | C' | B' + C' | A.( B' + C') | X |
0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 |
0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |
1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |
1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
Simba- Monstars
-
Posts : 658
Join date : 2013-09-06
Age : 38
Location : pk
Akram Tahseen- Deep Bench
-
Posts : 708
Join date : 2017-06-14
Age : 27
Location : Shakarparian, Islamabad
Character sheet
Experience:
(155/500)
Similar topics
» CS101 ASSIGNMENT NO 4 Solution Fall2010
» CS602- Computer Graphics Assignment No. 01 Solution SEMESTER Fall 2013
» CS304- Object Oriented Programming Assignment # 1 Solution Semester Fall 2013
» CS001 Assignment No. 02 Solution Spring 2013
» CS614 Assignment # 2 Solution Spring 2013
» CS602- Computer Graphics Assignment No. 01 Solution SEMESTER Fall 2013
» CS304- Object Oriented Programming Assignment # 1 Solution Semester Fall 2013
» CS001 Assignment No. 02 Solution Spring 2013
» CS614 Assignment # 2 Solution Spring 2013
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Thu Apr 11, 2024 4:52 pm by ali001
» Streaming Guide Film TV Series
Tue Apr 09, 2024 9:39 pm by ali001
» Apricot Tree Problems & Solutions ????|خوبانی کے پھل کو کیڑا لگنےسے بچانے کا طریقہ ????
Sun Apr 07, 2024 6:28 am by Zamaan Khan
» خوبانی کے پودے کی کاشت گرم علاقوں میں کرنی چاہیے یا نہی
Sun Apr 07, 2024 6:24 am by Zamaan Khan
» New Here
Sun Apr 07, 2024 6:15 am by Zamaan Khan
» Bajta Hua Sochoon Main Koi Saaz Na Aaye Naat
Sun Apr 07, 2024 6:14 am by Zamaan Khan
» Woh Pagal Si Episode 52 to 62 - Top Pakistani Drama
Sun Apr 07, 2024 6:06 am by Zamaan Khan
» Woh Pagal Si Episode 42 to 51 - Top Pakistani Drama
Sat Apr 06, 2024 4:50 pm by Ch. Ehtisham Gujjar
» Woh Pagal Si Episode 32 to 41 - Top Pakistani Drama
Sat Apr 06, 2024 4:44 pm by Ch. Ehtisham Gujjar