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
» MGMT628 Assignment # 01 Solution Spring 2013
» CS501 Assignment # 03 Solution Spring 2013
» CS602- Computer Graphics Assignment No. 01 Solution SEMESTER Fall 2013
» CS304- Object Oriented Programming Assignment # 1 Solution Semester Fall 2013
» MGMT628 Assignment # 01 Solution Spring 2013
» CS501 Assignment # 03 Solution Spring 2013
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Today at 11:39 am by ali001
» AIChatSY - AIChatbot Assistant
Yesterday at 10:48 am by ali001
» Storybook Magic App
Tue Apr 30, 2024 7:06 pm by ali001
» Flower Book Match3 Puzzle Game
Tue Apr 30, 2024 12:17 pm by ali001
» Avian Influenza Symptom in Chickens "Bird Flu H5N1 Virus" Vet learning materials, Poultry Farming
Sat Apr 27, 2024 9:57 am by Ibad Khan Buledi
» house disrepair claims
Mon Apr 22, 2024 11:23 am by Joshuaadam
» Aloha Planner - Note-Taker
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