CH-1 English Final
CH-1 English Final
Computer Engineering
Department
Semester - 2
Electronics can be divided into analog and digital. Today's wireless era is completely digital. Our
communication system is digital. The era of analog electronics is over today. However, the output to
humans is always analog. For example, the output from the speaker of a mobile phone is analog.
Because it is for human ears to hear.
Analog System:
Analog electronics is an electronics system that works with continuously changing signals.
An analog system uses a specific component to exchange information. As, a thermometer is used to
measure the temperature of the atmosphere. But its exact number is calibrated according to the
compression expansion of the mercury in it.
An analog system is a combination of analog media and machines. Analog devices record, measure
and reproduce continuous signals.
Example: Analog TV, Barometer, Analog synthesizer.
Digital System:
Digital electronics is an electronics system that works with continuously varying signals. A digital
system shows direct output from digital signals.
Following are the features of digital electronics.
o Discontinuous in the time domain.
o Has high accuracy.
o An IC based structure.
o It is light in weight.
o Has abundant digital memory.
o Compatible with wireless standards.
Example: LCD, LED or Smart TV, TV set up box.
Input:
This is the process of entering data and programs in to the computer system.
keyboard, mouse, joy stick , light pen , track ball, scanner ,magnetic ink card reader(MICR), optical
character reader(OCR), bar code reader, optical mark reader(OMR)
The Processor Unit (CPU):
It is the brain of the computer system. All major calculation and comparisons are made inside the
CPU and it is also responsible for activation and controlling the operation of other unit. This unit
consists of two major components that are arithmetic logic unit (ALU) and control unit (CU).
The Central Processing Unit (CPU) is divided into two parts:
o Arithmetic logic unit (ALU)
o Control unit (CU).
The set of instruction is in the form of raw data
Arithmetic Logic Unit (ALU):
Here arithmetic logic unit performs all arithmetic operations such as addition, subtraction,
multiplication and division. It also uses logic operation for comparison.
Control Unit (CU):
The control unit of a CPU controls the entire operation of the computer. It also controls all devices
such as memory, input/output devices connected to the CPU.
CU fetches instructions from memory, decodes the instruction, interprets the instruction to know
what the task are to be performed and sends
Memory Unit:
Memory unit is an essential component of a digital computer. It is where all data intermediate and
find results are stored. The data read from the main storage or input units are transferred to the
computer's memory where they are available for processing. This memory unit is used to hold the
instructions to be executed and data to be processes.
Example: Magnetic Disk, DVD.
Output:
This is the process of producing results from the data for getting useful information.
Monitors, graphic plotter, printer.
Digital system:
Digital systems are designed to store, process, and communicate information in digital form. The
input and output of this system is two binary values which is 0 and 1. Examples of digital systems
are mobile phones, radio, megaphones and many more.
Or
A digital system is an interconnection of digital modules and it is system that manipulates discrete
elements of information that represented internally in the binary form.
Number system:
Number systems are the technique to represent numbers in the computer system architecture,
every value that you are saving or getting into/from computer memory has a defined number
system.
Computer architecture supports following number systems.
o Decimal number system
o Binary number system
o Octal number system
o Hexadecimal (hex) number system
Decimal number system:
Decimal number system has only ten (10) digits from 0 to 9.
These digits are 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9.
The base of decimal number system is 10, because it has only 10 digits.
General form: The decimal number system is expressed as a power of 10.
Step 2 19FDE16 ((1 x 164) + (9 x 163) + (15 x 162) + (13 x 161) + (14 x 160))10
128 64 32 16 8 4 2 1
(13)10 0 0 0 0 1 1 0 1
(100)10 0 1 1 0 0 1 0 0
(65)10 0 1 0 0 0 0 0 1
(189)10 1 0 1 1 1 1 0 1
Separate the digits of the given octal number, if it contains more than 1 digit.
Find the equivalent binary number for each three digit of octal number. Add 0's to the left if any of
the binary equivalent is shorter than 3 bits.
Write the all group's binary numbers together, maintaining the same group order provides the
equivalent binary for the given octal number.
Example: convert the octal number 352.563 to its equivalent binary number
= (352.563)8
= (011 101 010 . 101 110 011)2
= (011101010.101110011)2
Thus the required binary number is (011101010.101110011)2
Separate the digits of the given octal number, if it contains more than 1 digit.
Multiply each digit of octal number with its increasing power of 8 from right to left.
Add all the individual results provides the equivalent decimal number.
Example: Convert octal number 4057.068 into decimal number.
To convert the given decimal integer number to octal, divide the given number by 8 till
quotien is 0.
The last remainder is the MSD.
The remainders read upwards give the equivalent octal integre number.
To convert the given decimal fraction number to octal, multiply the given number by 8 till quotien
is 0 ot 1.
The first integer from top is the MSD.
The integer to the left of the octal point read downwards give the octal fraction.
Separate the digits of the given hexademal number, if it contains more than 1 digit.
Find the equivalent binary number for each four digit of hexadecomal number. Add 0's to the left if
any of the binary equivalent is shorter than 3 bits.
Write the all group's binary numbers together, maintaining the same group order provides the
equivalent binary for the given hexadecimal number.
= (10485760+720896+49152+3328+224+15)10
= (11259375)10 which is answer.
convert the following decimal (denary) numbers: 8510, 57210 and 857910 into their 8421 BCD
equivalents.
8510 = 1000 0101 (BCD)
57210 = 0101 0111 0010 (BCD)
857910 = 1000 0101 0111 1001 (BCD)
BCD-to-Decimal Conversion
divide the binary number into groups of four digits, starting with the least significant digit and
then write the decimal digit represented by each 4-bit group.
Add additional zero’s at the end if required to produce a complete 4-bit grouping.
Convert the following binary numbers: 10012, 10102, 10001112 and 10100111000.1012 into their
decimal equivalents.
Example: Convert Excess-3 code 1001001 into BCD and decimal number.
So, grouping 4-bit for each group, i.e., 0100 1001 and subtract 0011 0011 from given number.
Therefore,
= 0100 1001 - 0011 0011 =0001 0110
So, binary coded decimal number is 0001 0110 and decimal number will be 16.
1’s complement of a binary number is another 2’s complement of a binary number is 1 added to
binary number obtained by toggling all bits in it, the 1’s complement of the binary number.
i.e., transforming the 0 bit to 1 and the 1 bit to 0.
While adding numbers using 1′ s complement, 2′ s complement has only one value for zero, and
we first do binary addition, then add in an end- doesn’t require carry values.
around carry value.
1's complement of 7 (0111) is 8 (1000) 2's complement of 7 (0111) is 9 (1001)