Professional Documents
Culture Documents
Material
aterial Complied by:
Manager Lucky E.
09068783837
ASSESSMENT
Examination (70%)
o Examination 2 hours
o To answer 4 questions
o Attendance
o Test
ABOUT THE COURSE
Recommended readings:
Education.
Tocci, R. J. and Widmer, N. S. (2018). Digital systems: principles and applications. Prentice
Hall.
WHAT IS COMPUTER?
Computer is an electronic machine that accepts input data, processes the data, creates output
data.
DIGITAL COMPUTER
Digital computer processes data such as numbers, letters, symbols and so on expressed in binary
form. Digital computers uses the binary number system Binary number system has two digits 0
and 1 A binary digit is called a bit. Early digital computers were used for numerical
computations.
Turing model
A program is a set of instructions that tells the computer what to do with the data
Example
Computers built based on Turing model stores data
SUBSYSTEMS
Memory: The memory store both programs and data during processing.
Arithmetic logic unit: Both calculation and logic operations are done here.
Control unit: Controls all the operations in the ALU, memory and input/output units
Input unit: It accepts all the input data and programs from outside the computer
Output unit: It sends all results from processing to the outside world
LOGIC GATES
All circuits in digital computers consist of a set of interconnected primitive elements called
gates.
GATES
Describes a two-state device (open and close) Contains one or more input terminals and an
output terminal
FUNDAMENTAL GATES
AND, OR, NOT NAND, NOR, Exclusive OR (XOR) and Exclusive NOR
TRUTH TABLE
Truth table is a way of showing how logic circuit’s output depends on logic levels present at the
circuit’s inputs The table outlines all possible combinations of logic levels present Both at inputs
A and B With the corresponding output x
For example:
Functions in truth table are represented with where n is number of binary variables
BOOLEAN ALGEBRA
Boolean algebra is the algebra that deals with binary variables and logic operations. Variables
are represented with alphabets e.g. Boolean function can be expressed algebraically with:
Binary variables
Logic operation symbols
Parenthesis
Equal sign
Transformation
A Boolean function can be transformed from an algebraic expression into logic diagram For
example: can be transformed to logic diagram as:
PURPOSE OF BOOLEAN ALGEBRA
BOOLEAN EXPRESSION
Boolean Expression can be manipulated by applying Boolean algebra rules to obtain a simpler
circuit For example: can be reduce to:
2)
3)
4)
6)
7)
8)
9)
A number system describes how a number can be expressed using distinct symbols A number
system can be represented differently in different system e.g. tally (5), binary (2), octal (8)
For example:
DECIMAL SYSTEM
Our day-to-day used number system successive positions to the left of the decimal point
represent units, tens, hundreds, thousands, and so on.
• A tens position of 3
• A hundred position of 2
TH H T U
1 2 3 4
BINARY SYSTEM
For Example:
Equivalent to
For example:
Equivalent to
HEXADECIMAL SYSTEM
Letters represent the numbers starting from 10. A = 10. B = 11, C = 12, D = 13, E = 14, F = 15
For example:
Equivalent to
NUMBER SYSTEM
2 21 Reminder
2 10 1
2 5 0
2 2 1
2 1 0
2 0 1
ELECTRIC CURRENT
Electric current is the movement of electrons carrying electric charge, Electrons are small atomic
particles surrounding the nucleus of an atom
Insulator materials have extremely high resistance to the flow of electric current
• The higher the resistance the lesser the current that will flow
• The lower the resistance the higher the current that will flow
There are a number of elements used to control current flow in Electronic circuits
Four elements most commonly used in ICs are resistors, capacitors, diodes and transistors
Resistor
Capacitor
Small capacitors usually used in electronics are often measured in microfarads and
nanofarads
DIODE
Diodes allow current to flow in one direction but not in the opposite direction, a one way valve,
Diodes protects your electronics.
• Diodes has low resistance in one direction and high resistance in the other direction
Transistor
Integrated circuit is a collection of these components connected together as a circuit all formed
on the same substrate
Integrated circuit
Integrated circuit
Disadvantages
• Monolithic construction
• Thin-film Construction
• Thick-film construction
• Hybrid construction
INTEGRATED CIRCUIT CLASSIFICATION
Manufacturing IC
Integrated circuit
Improvement in IC technology
REFERENCE TO PACKAGE
SSI
• Inputs and outputs of the gates are connected directly to the pins in the package
MSI
• Decoders
• Adders
• Registers
LSI
• LSI contains a complexity of approximately between 200 and a few thousand gates in a
single package
• Processors
• Memory chips
• Programmable modules
VLSI
For example:
Due to the small size and low cost, VLSI have change the computer systems design technology
Designers can create diverse of structures which were previously not economical
INTEGRATED CIRCUIT
Circuit technology is referred to as a digital logic family, Each family has its own basic
electronic circuit, Basic circuit is either NAND, NOR or an inverter gate
COMPUTER PERIPHERALS
Computer system
The system unit houses the following devices which are attached to the motherboard along with
disk drives, a fan or fans to keep it cool, and the power supply
memory modules,
expansion slots,
electronic circuitry
expansion cards
COMPUTER PERIPHERALS
Computer peripherals are devices for input/output and storage, Computer peripherals provide a
means of communication between the computer and outer the world, Computer peripherals
provide an interface for the user to interact with the computer
Computer peripherals used to enter data and instructions into the computer are known as “Input
devices” They are electromechanical devices, they translate input data in the form that computer
can interpret
Most common input device:
Keyboard
Mouse
Joystick
scanner
Computer peripherals that accept or store results for further processing are known as “output
devices”
Monitor
Printer
plotter
Computer peripherals use the coding scheme such as ASCII, EBCDIC, and Unicode to interact
with the computer
For example
Keyboard most popularly and widely used input device for entering data and instruction into the
computer system.
It is similar to a typewriter
It contains a set key switches
A serial keyboard sends data bit by bit
A parallel keyboard sends data in parallel form
TYPE OF KEYS:
Alphanumeric key: used for entering alphabets (a-z and A-Z) in to the computer
Has a plastic or metal wheel on which the shape of each character stands out in relief , It contains
a hammer presses the wheel against a ribbon
Dot-matrix
Create characters by striking pins against an ink ribbon , Each pin makes a dot
Ink-jet
Line printer
Contains a chain of characters or pins that print an entire line at a time. They are very fast but
produce low quality print
Thermal printers
Inexpensive and works by pushing heated pins against heat sensitive paper. They are widely used
in calculators and fax machines
Characters of printers
Cable connection
Serial Cables- send data only 1 bit at a time- Distance from PC 1000 ft
Parallel Cables- send data 8 bits at a time. Distance from PC 50 ft. - Most popular USB cable
which has a maximum data transfer speed of 12 megabits/s (1.5 MBYTES/s).
Computer motherboard
Motherboard
It contains:
Memory,
expansion slots
All the controllers for standard peripheral devices like the keyboard, disk drive
and display screen.
The chipset and other motherboard circuitry are the "smarts" of the motherboard. Their
job is to direct traffic and control the flow of information inside the computer.
The chipset is a critical part of any computer, because it plays a big role in determining
what sorts of features the computer can support.
BIOS are the lowest-level software in the computer, They acts as an interface between the
hardware (especially the chipset and processor) and the operating system.
BIOS provide access to the system hardware and enable the creation of the higher-level
operating systems that you use to run your applications.
BIOS allows