Professional Documents
Culture Documents
CS 101 Assignment 1
CS 101 Assignment 1
CS101
Assignment no 1
Question 1:
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.
0101010101101110011010010111010001111001
Answer:
01010101-------------U
01101110-------------n
01101001-------------i
01110100-------------t
01111001-------------y
(Unity)
Question no 2:
5 Bytes = 40 bits
10 Kilo Bytes = 10,000 Bytes
15 mega Bytes = 15,000 Kbs
20 Giga Bytes = 20,000 Mbs
25 Tera Bytes =25,000 Gbs
Question no 3:
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.
Answer:
Gate Names Inputs
A 1
B 1
C 0
D 0
E 1
F 1
G 0
H 0