About Lesson
Data in a computer system is represented in binary format, using only two digits: 0 and 1. This binary system allows computers to perform calculations and store data efficiently.
5.1 Binary Numbers
- In binary, all data is represented using only two digits: 0 (off) and 1 (on). Computers use binary numbers to store and process information at the fundamental hardware level.
5.2 Data Encoding
- Different types of data, such as numbers, characters, and multimedia, are encoded into binary using various encoding schemes (e.g., ASCII for characters, IEEE-754 for floating-point numbers).
5.3 Signed and Unsigned Numbers
- Unsigned numbers represent only positive values (e.g., 0, 1, 2,…).
- Signed numbers can represent both positive and negative values, using one bit (usually the most significant bit) to indicate the sign.