R23 - Co - Unit I
R23 - Co - Unit I
Basic Structure Of Computers: Computer Types, Functional unit, Basic Operational concepts,
Bus structures, Software, Performance, multiprocessors and multi computers.
Logic gates: Digital Logic gates, Two-level realizations using gates -- AND-OR, OR-AND,
NAND-NAND and NOR-NOR
Computer Types
A computer is an electronic device that has storage, computations, input (data), output (data) and
networking capabilities. With the growing AI, computers also have learning capabilities from the
data provided. The input and output data can be in different forms like text, images, audio and
video. A computer processes the input according to the set of instructions provided to it by the user
and gives the desired output. Computers are of various types, and they can be categorized in two
ways on the basis of size and on the basis of data handling capabilities.
Types of Computer
There are two bases on which we can define the types of computers. We will discuss the type of
computers on the basis of size and data handling capabilities. We will discuss each type of
computer in detail. Let’s see first what are the types of computers.
➢ Super Computer
➢ Mainframe computer
➢ Mini Computer
➢ Workstation Computer
➢ Personal Computer (PC)
➢ Server Computer
➢ Analog Computer
➢ Digital Computer
➢ Hybrid Computer
➢ Tablets and Smartphone
Supercomputer
When we talk about speed, then the first name that comes to mind when thinking of computers is
supercomputers. They are the biggest and fastest computers (in terms of speed of processing data).
Supercomputers are designed such that they can process a huge amount of data, like processing
trillions of instructions or data just in a second. This is because of the thousands of interconnected
processors in supercomputers. It is basically used in scientific and engineering applications such
as weather forecasting, scientific simulations, and nuclear energy research. It was first developed
by Roger Cray in 1976.
Characteristics of Supercomputers
• Supercomputers are the computers that are the fastest and they are also very expensive.
• It can calculate up to ten trillion individual calculations per second, this is also the reason
which makes it even faster.
• It is used in the stock market or big organizations for managing the online currency world
such as Bitcoin etc.
• It is used in scientific research areas for analyzing data obtained from exploring the solar
system, satellites, etc.
Mainframe computer
Mainframe computers are designed in such a way that they can support hundreds or thousands of
users at the same time. It also supports multiple programs simultaneously. So, they can execute
different processes simultaneously. All these features make the mainframe computer ideal for big
organizations like banking, telecom sectors, etc., which process a high volume of data in general.
Minicomputer
Minicomputer is a medium size multiprocessing computer. In this type of computer, there are two
or more processors, and it supports 4 to 200 users at one time. Minicomputer is similar to
Microcontroller. Minicomputers are used in places like institutes or departments for different work
like billing, accounting, inventory management, etc. It is smaller than a mainframe computer but
larger in comparison to the microcomputer.
Characteristics of Minicomputer
• Its weight is low.
• Because of its low weight, it is easy to carry anywhere.
• less expensive than a mainframe computer.
• It is fast.
Workstation Computer
A workstation computer is designed for technical or scientific applications. It consists of a fast
microprocessor, with a large amount of RAM and a high-speed graphic adapter. It is a single-
user computer. It is generally used to perform a specific task with great accuracy.
Server Computer
Server Computers are computers that are combined data and programs. Electronic data and
applications are stored and shared in the server computer. The working of a server computer is that
it does not solve a bigger problem like a supercomputer but it solves many smaller similar ones.
Examples of server computer are like Wikipedia, as when users put a request for any page, it finds
what the user is looking for and sends it to the user.
Characteristics:
• Handles data and applications for multiple clients or users.
• Centralized management of resources (e.g., databases, websites).
• Designed to run 24/7 without interruption.
• More powerful than a typical PC and optimized for networking and data management.
Examples:
Analog Computer
Analog Computers are particularly designed to process analog data. Continuous data that changes
continuously and cannot have discrete values are called analog data. So, an analog computer is
used where we don't need exact values or need approximate values such as speed, temperature,
pressure, etc. It can directly accept the data from the measuring device without first converting it
into numbers and codes. It measures the continuous changes in physical quantity. It gives output
as a reading on a dial or scale. For example speedometer, mercury thermometer, etc.
Characteristics:
Examples:
Digital Computer
Digital computers are designed in such a way that they can easily perform calculations and logical
operations at high speed. It takes raw data as input and processes it with programs stored in its
memory to produce the final output. It only understands the binary input 0 and 1, so the raw input
data is converted to 0 and 1 by the computer and then it is processed by the computer to produce
the result or final output. All modern computers, like laptops, desktops including smartphones are
digital computers.
Characteristics:
Examples:
✓ Laptops
✓ Desktops
✓ Smartphones
Hybrid Computer
As the name suggests hybrid, which means made by combining two different things. Similarly,
the hybrid computer is a combination of both analog and digital computers. Hybrid computers are
fast like analog computers and have memory and accuracy like digital computers. So, it has the
ability to process both continuous and discrete data. For working when it accepts analog signals
as input then it converts them into digital form before processing the input data. So, it is widely
used in specialized applications where both analog and digital data are required to be processed.
A processor which is used in petrol pumps that converts the measurements of fuel flow into
quantity and price is an example of a hybrid computer.
Characteristics:
Examples:
✓ Petrol pump processors that convert fuel flow measurements into digital format (quantity
and price).
✓ Medical equipment like ECG (Electrocardiogram) machines
Characteristics:
Examples:
✓ Smartphones – iPhone, Samsung Galaxy
✓ Tablets – iPad, Samsung Galaxy Tab
Functional unit
The functional components of a digital computer include the Input Unit, which takes in data; the
CPU, which processes data with its Control Unit (CU), Arithmetic Logic Unit (ALU), and
Registers; the Memory Unit, which stores data temporarily (RAM) or permanently (HDD/SSD);
the Output Unit, which displays results; and the Bus System, which connects and transfers data
between components. These parts work together to execute tasks and provide results.
The functional components of a computer are the key parts that work together to process and
manage data. These include the Input Unit for receiving data, the CPU for processing it, the
Memory Unit for storing information, the Output Unit for displaying results, and the Bus System
that connects all parts. These components help the computer perform tasks efficiently.
Input Unit
Purpose: Captures data and instructions from users or external sources.
Function: Converts user input into binary signals that the computer can process.
Components of CPU:
a. Arithmetic Logic Unit (ALU)
• Performs arithmetic operations (add, subtract, multiply, divide).
• Handles logical operations (comparison, decision-making).
• Supports AI/ML tasks using built-in vector/matrix operations (in modern CPUs).
b. Control Unit (CU)
• Directs the operations of all computer parts.
• Decodes instructions and coordinates data flow.
• Sends control signals to memory and I/O devices.
c. Registers
• High-speed memory locations within the CPU.
• Temporarily store instructions, addresses, and intermediate data.
• Examples: Accumulator, Instruction Register, Program Counter, Address Register.
• Modern CPUs include 64-bit or even 128-bit registers for faster processing.
b. Secondary Storage:
➢ Used for long-term data storage.
➢ Examples: SSDs (NVMe drives), HDDs, flash drives, and cloud storage.
➢ Modern Trend: Use of Cloud Integration and hybrid storage models.
4. Output Unit
• Purpose: Converts processed data (binary) into a form users can understand.
• Examples:
o Visual: Monitors (LED, OLED, 4K/8K displays)
o Print: Printers (Inkjet, Laser, 3D Printers)
o Audio: Speakers, Headphones
o Haptic: Vibration feedback devices
• Emerging Tech: AR/VR headsets, voice-based output, Braille displays for accessibility
Hardware refers to the physical parts of the computer, like the central processing unit (CPU),
memory, storage devices, input/output devices (like keyboards and screens), and other peripherals
(extra devices connected to the computer).
Software refers to the programs and applications that tell the computer what to do. This includes
things like the operating system (such as Windows or macOS) and the apps you use for
schoolwork, games, and more.
Data and Information
Data and information are related concepts, but they have different meanings. Data refers to raw
facts and figures that are unorganized and have no meaning on their own. Information, on the other
hand, is data that has been processed, organized, and given context to make it meaningful and
useful.
Data can be numbers, words, images, or sounds. For example, a list of sales figures is just data.
On its own, it doesn’t tell us much. To make it useful, we need to process and analyze it.
Information is what we get after processing data. It’s organized in a way that helps us understand
something or answer a question. For example, turning the sales numbers into a graph or chart
shows trends over time and gives us useful information about the company’s performance.
Classification of Computers
Computers can be classified based on various factors, including their size, functionality, purpose,
and processing capabilities. Here's a breakdown of the classification of computers:
Peripheral Devices
Peripheral devices are external hardware components that are connected to a computer to expand
its functionality. These devices can be categorized into input devices, output devices, and storage
devices.
1. Input Devices
Input devices allow users to provide data and commands to the computer.
➢ Keyboard: Used to type text and enter commands into the computer.
➢ Mouse: A pointing device used to move the cursor and interact with objects on the screen.
➢ Scanner: Converts physical documents and images into digital form.
➢ Microphone: Captures audio and converts it into digital data for the computer to process.
➢ Digital Camera/Webcam: Captures video or images, often for video conferencing or
photography.
➢ Touchpad: A touch-sensitive surface used on laptops to move the cursor and interact with
the computer.
2. Output Devices
Output devices display or produce the results of a computer's processing.
3. Storage Devices
Storage devices are used to store data for the computer.
➢ Hard Disk Drive (HDD): A traditional storage device that stores large amounts of data on
rotating disks.
➢ Solid-State Drive (SSD): A faster and more reliable storage device that uses flash memory.
➢ USB Flash Drive: A portable storage device that connects via a USB port to transfer and
store data.
➢ Optical Disc Drives: Devices like CD/DVD/Blu-ray drives that read and write data on
optical discs.
➢ Memory Card: Small storage devices, like SD cards or microSD cards, used in cameras,
smartphones, and other portable devices.
4. Communication Devices
These devices help a computer connect with other devices or networks.
➢ Modem: A device that allows a computer to connect to the internet over a phone or cable
line.
➢ Router: A networking device that connects multiple devices to the internet or a local
network.
➢ Bluetooth Adapter: A device that allows a computer to communicate wirelessly with
Bluetooth-enabled devices.
RAM is much faster than a hard-disk. RAM is a Hard-disk is a type of non-volatile storage that is much
type of volatile memory that can be accessed slower than RAM. It is used for long-term storage of data
quickly by the CPU. This allows for fast data that needs to be preserved even when the computer is
processing and multitasking. turned off.
1. System Software
✓ Operating Systems (OS): Manages computer hardware and software resources (e.g.,
Windows, macOS, Linux).
✓ Utility Software: Helps maintain and optimize the system (e.g., antivirus software, disk
management tools).
✓ Device Drivers: Enable hardware components to work with the operating system (e.g.,
printer drivers, graphics card drivers).
2. Application Software
✓ Productivity Software: Used for creating documents, presentations, and managing data
(e.g., Microsoft Office, Google Docs).
✓ Multimedia Software: Used for creating, editing, and playing audio, video, and images
(e.g., Adobe Photoshop, VLC Media Player).
✓ Web Browsers: Software used to access and navigate the internet (e.g., Google Chrome,
Mozilla Firefox).
✓ Games: Entertainment software designed for gaming (e.g., Fortnite, Minecraft).
✓ Educational Software: Used for learning or teaching purposes (e.g., Khan Academy,
Duolingo).
3. Development Software
✓ Programming Languages: Tools used for writing software programs (e.g., Python, Java,
C++).
✓ Integrated Development Environments (IDEs): Provide a platform for developers to write
and test code (e.g., Visual Studio, Eclipse).
✓ Database Management Software (DBMS): Manages data storage and retrieval (e.g.,
MySQL, Oracle).
4. Firmware
✓ Embedded Software: Special software stored in hardware devices to control them (e.g.,
software in washing machines, cameras, or smart thermostats).
1. Slow performance: Computers can become slow and unresponsive due to a variety of
factors, such as lack of storage space, outdated hardware, or malware.
2. Malware and viruses: Malware and viruses can infect computers and cause a range of
problems, including data loss, system crashes, and identity theft.
3. Hardware failures: Computer hardware components can fail over time, leading to issues
like system crashes, data loss, and display problems.
4. Software glitches: Software applications can sometimes malfunction or crash, leading to
issues like data loss or unresponsive programs.
5. Driver problems: Drivers are software components that enable hardware devices to
communicate with the operating system. If drivers become outdated or corrupted, it can
lead to issues like hardware failures or system crashes.
6. Compatibility issues: Sometimes software applications or hardware components may not
be compatible with each other, leading to issues like system crashes or display problems.
7. Internet connectivity issues: Problems with internet connectivity can lead to issues like
slow loading web pages, interrupted downloads, and difficulty accessing online services.
8. User error: Users can sometimes make mistakes or accidentally delete files or programs,
leading to issues like data loss or unresponsive programs.
Bus structures
A computer bus is a communication system used to transfer data between components within a
computer or between different computers. It plays a crucial role in minimizing the number of
connections needed by centralizing communication over shared pathways.
1. Address Bus
A collection of wires used to identify particular location in main memory is called Address Bus.
Or in other words, the information used to describe the memory locations travels along the address
bus.
➢ The address bus transports memory addresses which the processor wants to access in order
to read or write data..
➢ The address bus is unidirectional.
➢ The size of address bus determines how many unique memory locations can be addressed.
Example:
✓ A system with 4-bit address bus can address 24 = 16 Bytes of memory.
✓ A system with 16-bit address bus can address 216 = 64 KB of memory
✓ A system with 20-bit address bus can address 220 = 1 MB of memory.
2. Data Bus
A collection of wires through which data is transmitted from one part of a computer to another is
called Data Bus. It can be thought of as a highway on which data travels within a computer.
➢ The main objective of data bus is transfer of the data between microprocessor to input/
output devices or memory.
➢ The data bus transfers instructions coming from or going to the processor.
➢ The data bus is bidirectional because the data can flow in either direction from CPU to
memory(or input/output device) or from memory to the CPU.
➢ The size (width) of bus determines how much data can be transmitted at one time.
Example:
✓ A 16-bit bus can transmit 16 bits of data at a time.
✓ 32-bit bus can transmit 32 bits at a time.
3. Control Bus
The connections that carry control information between the CPU and other devices within the
computer is called Control Bus. The control bus transports orders and synchronization signal
coming from the control unit and travelling to all other hardware components
➢ The main objective of control bus is all signals controller carried from processor to other
hardware device.
➢ The Control bus is bidirectional because the data can flow in either direction from CPU to
memory (or input/output device) or from memory to the CPU.
➢ it also transmits response signals from the hardware.
Example:
✓ This bus is used to indicate whether the CPU is reading from memory or writing to
memory.