CS101 Assignment No. 1 Solution - Spring 2015 Semester

View previous topic View next topic Go down

GMT - 3 Hours CS101 Assignment No. 1 Solution - Spring 2015 Semester

Post by Simba on Sun Nov 08, 2015 2:30 pm

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´)
A
BCA.B.CB'C'B' + C'A.( B' + C')X
1
1
11
1
11
11
111


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´)
avatar
Simba
A-Group
A-Group

Cancer Buffalo
Posts : 658
Join date : 2013-09-06
Age : 32
Location : pk
--Mood-- : Happy

Back to top Go down

GMT - 3 Hours Re: CS101 Assignment No. 1 Solution - Spring 2015 Semester

Post by Simba on Sun Nov 08, 2015 2:35 pm

ABCA.B.CB'C'B' + C'A.( B' + C')X
000011100
001010100
010001100
011000000
100011111
101010111
110001111
111100001
avatar
Simba
A-Group
A-Group

Cancer Buffalo
Posts : 658
Join date : 2013-09-06
Age : 32
Location : pk
--Mood-- : Happy

Back to top Go down

GMT - 3 Hours Re: CS101 Assignment No. 1 Solution - Spring 2015 Semester

Post by Akram Tahseen on Wed Jun 14, 2017 4:27 pm

rolling eyes Party
avatar
Akram Tahseen
B-Group
B-Group

Libra Rat
Posts : 59
Join date : 2017-06-14
Age : 20
Location : Shakarparian, Islamabad
--Mood-- : Mellow

Back to top Go down

GMT - 3 Hours Re: CS101 Assignment No. 1 Solution - Spring 2015 Semester

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum