Lecture 1 (1)
Lecture 1 (1)
• Digital signals use discrete values, i.e. discrete 0 and 1, to represent the data and
information.
• To convert an analog signal into a digital signal, both its axis (x and y) are converted into
digital format.
• Sampling: done along the x-axis of signals that continuously differs with time.
• Quantization: continuous and time-varying values of analog signals are divided into
non-overlapping discrete and unique values assigned to each subrange.
DIGITAL SYSTEMS
• Characteristics of Digital systems
• In digital systems, the signals have two discrete values and are therefore said to be binary.
• A signal in a digital system represents one binary digit called a bit. The bit has a value of either 0
or 1.
• Ease of programmability
• Design is easy
DIGITAL SYSTEMS
• Disadvantages of Digital Systems
• Use more energy than analog circuits to accomplish the same tasks, thus producing
more heat as well.
• Digital circuits are often fragile, in that if a single piece of digital data is lost or
misinterpreted the meaning of large blocks of related data can completely change.
• Negative logic system: the high value of the signal (voltage or current) is used to represent
logic 0 and the low value of the signal (voltage or current) is used to represent logic 1.
NUMBER SYSTEMS
• The number system is a basis for counting various items.
• Computers communicate and operate with binary numbers which use only the digits 0 &1.
• The basic number system used by humans is the Decimal number system.
• For Ex: Let us consider the decimal number 18. This number is represented in binary as 10010.
• We observe that the binary number system takes more digits to represent the decimal number.
• For large numbers, we have to deal with very large binary strings. So this fact gave rise to
three new number systems.
• Decimal to binary
• (18)10 —> (10010)2
• (18.625)10 —>
(10010.101)2
•
Decimal to octal
• (1032)10 —> (2010)8
• (1032.6875)10 —>
(2010.54)8
• Decimal to hexadecimal
• (2020)10 —> (7E4)16
• (2020.65625)10 —>
(7E4.A8)16
CONVERSIONS
• (10010.101)2
• (254.7014)8
• (AC.FBA5)16
• (0.1402)8
• (0.ABDF)16
CONVERSIONS
• Binary to Octal
• 010 001 100 101 111 —> 21457
• Octal to Binary
• 7 6 3 1 4 —> 111 110 011 001
100
•
Binary to hexadecimal
• 0100 0110 0101 1110 —> 4 6 5 E
•
Hexadecimal to binary
• 1 F 7 2 —> 0001 1111 0111
0010
Practice Questions:
1.Convert the decimal number 175 to binary.
2.Convert the binary number (101101)2 to decimal.