1.B) Define the following with a suitable example.
i. Bit ii. Nibble iii.Byte iv. Word v. Kilobyte
Answer:-
- Bit:-
The data are represented by the state of electronic switches. A switch with
ON state represents 1 and OFF state represents 0 (zero). These values which represent
the state of a switch are called bits.
Example:-
In other words, the binary digits 1 and 0 are called bits. Thus, a bit is the smallest unit of data.
2. Nibble:-
Definition: A group of 4 bits (a half byte) is called a nibble or 1⁄2 byte.
Example:
An integer 9 can be represented using a nibble as shown below:
1001= nibble
3. Byte:-
A group of 8 bits is called a byte.
A byte is the smallest unit of data that can be manipulated by a computer at any given time. After accessing a byte, the bits
or nibbles can be manipulated.
Example:-
4. Word:-
A word is the unit of information in which information may be stored, transmitted, or operated within a given computer.
Example:-
for a 16-bit machine, 1 word = 16-bits = 2 bytes
For a 32-bit machine, 1 word = 32-bits = 4 bytes
For a 64-bit machine, 1 word = 64-bits = 8 bytes
5. Kilobyte:-
1 Kilobyte = 1024 bytes
Megabyte = 1024 Kilobytes