CS-101 Assignment 1

You might also like

Download as odt, pdf, or txt
Download as odt, pdf, or txt
You are on page 1of 2

STUDENT ID: bc220410487

Assignment # 1
CS-101

Question # 1:
Divide the following string of binary numbers into 8-bit binary numbers and then
convert each 8bit binary number into equivalent text by using the ASCII code.
0101010101101110011010010111010001111001

Answer:

01010101 01101110 01101001 01110100 01111001


U n i t y

Equivalent text is Unity

Question # 2:

a) Write the name of the smallest unit of memory.


Answer:
A “bit” is the smallest unit of a memory.

b) Fill in the blanks by performing memory unit conversions.

Answer:

5 Bytes 40 bits
10 Kilo Bytes (KB) 10240 Bytes
15 Mega Bytes (MB) 15360 KB
20 Giga Bytes (GB) 20480 MB
25 Tera Bytes (TB) 25600 GB
Question # 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:
A 1
B 1
C 0
D 0
E 1
F 1
G 0
H 0

You might also like