Professional Documents
Culture Documents
Fall 2022 - CS101 - 1
Fall 2022 - CS101 - 1
Fall 2022 - CS101 - 1
ASSIGNMENT NO 1
ROLL NO: MUHAMMAD HAROON KHALID (BC220418192)
Question No. 01
Divide the following string of binary numbers into 8-bit binary numbers and then convert each 8-
bit binary number into equivalent text by using the ASCII code.
01010101 01101110 01101001 01110100 01111001
(U) (n) (i) (t) (y)
ANSWER : Unity
Question No. 02
5 Bytes = 40bits
= 10000Bytes
10 Kilo Bytes (KB)
= 15000KB
15 Mega Bytes
= 20000MB
(MB) 20 Giga = 25000GB
Bytes (GB) 25 Tera
Bytes (TB)
Question No. 03
The following circuit diagram contains 9 gates and 8 inputs (A, B, C, D, E, F, G, and H). You
need to carefully observe the diagram and determine the inputs to produce 1 (One) at the output.
A 1
B 1
C 0
D 0
E 1
F 1
G 0
H 0
INTRODUCTION TO COMPUTER(CS101)
ASSIGNMENT NO 1
ROLL NO: MUHAMMAD HAROON KHALID (BC220418192)