Unit 1: Introduction to Computer [3 Hours]
A computer is an electronic device that accepts data, processes it according to instructions, stores data and results, and produces meaningful information. This unit introduces the basic idea of computers, their major characteristics, historical development, generations, classifications, functional organization, and common applications. It also explains how analog computers and digital computers represent and process information differently.
Tested Topics
- Analog and digital computers — 2x (2080, 2078)
- Characteristics of computer — 2x (2081, 2081 Old)
- Classification of computer by size — 1x (2083)
1.1 Introduction to Computer
Definition
A computer is an electronic programmable device that accepts data as input, processes it according to a set of instructions, stores it when required, and produces useful information as output.
A computer takes raw facts, works on them according to given instructions, and gives a useful result. For example, when marks of five subjects are entered, the computer can calculate the total, percentage, and grade within a fraction of a second.
Detailed Explanation
The word computer is associated with computation, but modern computers perform much more than mathematical calculations. They can create documents, play multimedia, control machines, communicate through networks, process business transactions, analyze scientific data, and run complex software systems.
Data, Processing and Information
The basic purpose of a computer can be understood through three connected ideas:
- Data: raw facts and figures that have not yet been processed. Examples include 72, 81, 64, a student's name, or a product price.
- Processing: operations performed on data, such as calculation, comparison, sorting, classification, or modification.
- Information: processed data that has meaning and can be used for decision-making.
For example:
Marks entered by a teacher → computer calculates total and percentage → final percentage and grade are displayed.
Here, the individual marks are data, calculation is processing, and the resulting percentage and grade are information.
Basic Working Cycle of a Computer
Most computer operations follow a basic cycle:
Input → Processing → Storage → Output
- Input: data and instructions are supplied to the computer.
- Processing: the computer performs operations on the input.
- Storage: data, instructions, or results are saved when required.
- Output: processed information is presented to the user.
Let's Clarify
Consider calculating a semester result. You enter marks using a keyboard. These marks are the input. The computer adds them and calculates the percentage during processing. The marks and result may be saved on a storage device. Finally, the percentage and grade appear on the screen as output.
Summary
- A computer is an electronic programmable device that processes data according to instructions.
- Raw facts are called data, while processed and meaningful data is called information.
- The basic computer cycle is input → processing → storage → output.
- Computers perform calculations as well as communication, control, data management, multimedia, and many other tasks.
Test Yourself
- Define a computer and explain its basic working cycle.
- Differentiate between data and information with an example.
Hints:
- A computer accepts data and instructions, processes them, stores them when necessary, and produces output. The cycle is input → processing → storage → output.
- Data means raw facts; information means processed meaningful data. Marks are data, while the calculated percentage and grade are information.
1.2 Digital and Analog Computers
Definition
An analog computer processes data represented by continuously changing physical quantities such as temperature, pressure, speed, voltage, or distance.
A digital computer processes data represented by discrete values, usually using the binary digits 0 and 1.
An analog computer works with values that change continuously, like the movement of a speedometer needle. A digital computer works with separate numerical values, like a calculator displaying 68, 69, or 70.
Detailed Explanation
Analog and digital computers differ mainly in the way they represent and process data. Analog systems represent a quantity through another continuously varying physical quantity. Digital systems convert information into discrete numerical values that can be processed electronically.
Analog Computer
An analog computer operates on continuous signals. Between two values, an analog quantity can take an extremely large number of intermediate values.
For example, temperature does not normally jump directly from 20°C to 21°C. It may pass through 20.1°C, 20.25°C, 20.7°C, and many other intermediate values. An analog system represents this continuous variation directly.
Characteristics of Analog Computers
- Continuous data: they process continuously changing physical quantities.
- Measurement-oriented: results are commonly obtained through measurement rather than exact numerical counting.
- Fast response: they can react immediately to changes in physical signals.
- Approximate results: accuracy depends on the precision of components and measuring instruments.
- Specialized use: traditional analog computers were commonly designed for particular scientific or engineering problems.
Examples of analog computing or analog measuring systems include traditional differential analyzers and systems that model physical variables using electrical signals.
Digital Computer
A digital computer works with discrete data. Internally, modern digital computers represent information using the binary number system, in which information is encoded using 0s and 1s.
Personal computers, laptops, smartphones, calculators, servers, and modern supercomputers are digital computers.
Characteristics of Digital Computers
- Discrete representation: data is represented using separate numerical states.
- High accuracy: calculations can be performed with very high precision when correct data and instructions are provided.
- Programmability: the same hardware can perform different tasks by running different programs.
- Storage: large amounts of data and programs can be stored and retrieved.
- Versatility: digital computers can perform calculations, communication, document processing, multimedia, simulation, and many other tasks.

Analog Computer vs. Digital Computer
| Basis | Analog Computer | Digital Computer |
|---|---|---|
| Data representation | Uses continuously varying quantities. | Uses discrete values. |
| Internal representation | Physical quantities such as voltage, pressure, or rotation may represent data. | Information is commonly represented using binary digits 0 and 1. |
| Nature of result | Usually produces continuous or approximate results. | Produces numerical or discrete results with high precision. |
| Accuracy | Limited by measurement and component precision. | Generally provides greater numerical accuracy. |
| Storage | Traditional analog systems have limited general-purpose data storage. | Can store large quantities of data and programs. |
| Programmability | Traditional systems are often specialized for particular problems. | Highly programmable and suitable for many different applications. |
| Examples | Differential analyzer and specialized analog simulation systems. | Desktop computer, laptop, smartphone, calculator, server. |
Common Mistake
An instrument with a needle is not automatically an analog computer. A traditional analog speedometer is an analog measuring device, while an analog computer specifically performs computation using continuous physical quantities.
Summary
- Analog computers process continuously varying physical quantities.
- Digital computers process discrete data and normally represent information using binary digits.
- Analog results are usually measurement-based and approximate; digital results are numerical and highly precise.
- Modern personal computers, smartphones, servers, and supercomputers are digital computers.
- The main difference is continuous data representation in analog systems versus discrete representation in digital systems.
Test Yourself
- Give two practical differences between analog and digital computers.
- What is digital computer? Compare digital computers with analog computers. (2080)
- Differentiate analog computer with digital computer. (2078)
Hints:
- Compare data representation and result: analog uses continuous physical quantities and usually approximate measurement; digital uses discrete values and gives precise numerical output.
- Define a digital computer as a computer processing discrete binary data, then compare data type, accuracy, storage, programmability, and examples.
- Use points such as continuous vs. discrete data, approximate vs. precise result, physical-signal representation vs. binary representation, and specialized vs. general-purpose use.
1.3 Characteristics of Computer
Definition
Characteristics of a computer are the major capabilities that make computers suitable for processing information, including high speed, accuracy, diligence, automation, large storage capacity, reliability, and versatility.
Computers are useful because they can perform huge numbers of operations quickly, repeat the same task without becoming tired, store large amounts of information, and follow instructions consistently.
Detailed Explanation
A computer does not possess human intelligence by itself. Its strength comes from its ability to execute programmed instructions at high speed and with consistent accuracy. Several characteristics together make computers effective across scientific, commercial, educational, industrial, and personal applications.
1. Speed
Speed is the ability of a computer to perform a very large number of operations in a short time. Modern processors can execute billions of elementary operations per second.
Tasks such as searching thousands of records, calculating salaries for an organization, or processing a large spreadsheet can be completed much faster by a computer than by manual methods.
2. Accuracy
Accuracy means a computer can produce highly precise results when the input data, program, and hardware are correct.
A computer normally does not make arithmetic mistakes because of tiredness or lack of concentration. However, incorrect input or incorrect instructions can still produce incorrect results.
This relationship is commonly described as Garbage In, Garbage Out (GIGO): incorrect input or faulty instructions can lead to incorrect output.
3. Diligence
Diligence is the ability of a computer to perform repetitive work for long periods without becoming tired, bored, or losing concentration.
For example, a computer can process thousands of similar banking transactions with the same consistency from the first transaction to the last.
4. Automation
Automation means that after a program and required data are supplied, the computer can carry out a sequence of operations automatically with little or no human intervention.
For example, payroll software can automatically calculate salary, tax, allowances, deductions, and net payment according to predefined rules.
5. Storage Capacity
Storage capacity is the ability of a computer to store large quantities of data, instructions, documents, images, audio, video, and software for later use.
Stored information can usually be retrieved much faster than searching through large collections of physical records.
6. Versatility
Versatility means that the same computer can perform many different types of tasks by using different software.
A single laptop can be used to write reports, develop software, attend video meetings, edit photographs, watch films, perform calculations, and access databases.
7. Reliability and Consistency
Reliability refers to the ability of a computer system to operate dependably and produce consistent results when it is functioning correctly.
The same program supplied with the same valid input will normally produce the same result repeatedly. This consistency is valuable in banking, accounting, scientific computation, and industrial control.
8. Multitasking
Multitasking is the ability of a computer system to manage multiple tasks during the same period by rapidly sharing processor time and other resources among programs.
For example, a user may listen to music while downloading a file, editing a document, and keeping a web browser open.
How These Characteristics Support Different Applications
| Characteristic | Practical Benefit | Example Application |
|---|---|---|
| Speed | Large workloads can be completed rapidly. | Processing examination results or banking transactions. |
| Accuracy | Reduces calculation errors when correct data and programs are used. | Scientific calculation and accounting. |
| Diligence | Repetitive work can continue without fatigue. | Automated transaction processing. |
| Automation | Processes can run with minimal repeated human action. | Payroll and industrial control systems. |
| Storage | Large collections of information can be preserved and retrieved. | Hospital records and digital libraries. |
| Versatility | One computer can support many different activities. | Education, communication, programming, and multimedia. |
| Reliability | Provides repeatable and consistent operation. | Banking and reservation systems. |
Let's Clarify
Consider a university processing results for 20,000 students. Speed allows calculations to finish quickly. Accuracy gives correct totals when the entered marks and formulas are correct. Diligence allows the same operation to be repeated thousands of times. Storage keeps the results for later retrieval. Automation allows the entire calculation process to run once the required rules and data have been entered.
Common Mistake
Accuracy does not mean a computer always produces a correct answer. A computer accurately follows the instructions it receives. Incorrect input, an incorrect formula, or faulty software can still generate a wrong result.
Summary
- Computers perform operations at extremely high speed.
- They provide accurate and consistent results when correct data and instructions are supplied.
- Diligence allows repetitive work without fatigue or loss of concentration.
- Automation enables predefined operations to continue with little human intervention.
- Large storage capacity, versatility, reliability, and multitasking allow computers to serve many applications.
Test Yourself
- Why does computer accuracy still depend on the user and program?
- List out the characteristics of a computer. How do these characteristics make computers efficient for various applications? (2081)
- Explain different characteristics of computers. (2081)
Hints:
- A computer follows supplied data and instructions. Wrong data or an incorrect program can produce incorrect output, described by Garbage In, Garbage Out.
- Cover speed, accuracy, diligence, automation, storage, versatility, reliability, and multitasking, then connect each characteristic with practical tasks such as banking, science, payroll, and data storage.
- Explain each major characteristic separately: speed, accuracy, diligence, automation, storage capacity, versatility, reliability, and multitasking.
1.4 History of Computer
Definition
The history of computers is the development of calculating and information-processing devices from early manual tools to mechanical, electromechanical, and modern electronic computers.
Modern computers did not appear in a single invention. They developed gradually as people created better methods for counting, calculating, storing instructions, and processing information.
Detailed Explanation
The development of computers can be understood as a progression:
Manual calculating devices → Mechanical calculators → Programmable mechanical concepts → Electromechanical machines → Electronic computers → Modern microprocessor-based systems
Early Calculating Devices
Abacus
The abacus is one of the earliest known calculating devices. It uses beads or counters arranged on rods or wires to support arithmetic operations such as addition and subtraction.
Napier's Bones
In 1617, Scottish mathematician John Napier introduced a set of numbered rods known as Napier's Bones. They helped perform multiplication and division using arranged numerical tables.
Pascaline
In 1642, Blaise Pascal developed a mechanical calculator called the Pascaline. It used wheels and gears and could perform addition and subtraction.
Leibniz Calculator
In the seventeenth century, Gottfried Wilhelm Leibniz developed a mechanical calculating machine that extended earlier designs and could perform multiplication and division in addition to basic arithmetic.
Jacquard Loom
In 1801, Joseph Marie Jacquard developed a loom controlled by punched cards. Different patterns of holes represented instructions that controlled the weaving process.
The idea of using punched media to control a machine later influenced the development of programmable computing systems.
Charles Babbage and the Mechanical Computer Concept
Charles Babbage designed two major mechanical computing machines during the nineteenth century.
- Difference Engine: designed to calculate mathematical tables automatically.
- Analytical Engine: designed as a general-purpose programmable mechanical computer.
The Analytical Engine included concepts similar to major parts of a modern computer:
- A store for holding data and intermediate results.
- A mill for performing arithmetic operations.
- Punched cards for supplying data and instructions.
- A mechanism for producing results.
Because of these designs, Babbage is widely known as the father of the computer.
Ada Lovelace
Ada Lovelace studied Babbage's Analytical Engine and described a sequence of operations that the machine could theoretically perform. Her work is commonly associated with the earliest published algorithm intended for implementation on such a machine.
Herman Hollerith and Punched-Card Data Processing
Herman Hollerith developed an electromechanical punched-card tabulating system used to process data from the 1890 United States Census. His system demonstrated how machines could greatly accelerate large-scale information processing.
Electromechanical Computers
The Harvard Mark I, completed in 1944, was an electromechanical calculating machine. It used electrical and mechanical components and could execute long sequences of calculations automatically.
Electronic Computers
The development of electronic components changed computing dramatically. Electronic machines could operate much faster because electronic signals replaced many slow mechanical movements.
Electronic Numerical Integrator and Computer (ENIAC), completed in the 1940s, was a large general-purpose electronic digital computer that used thousands of vacuum tubes.
Later systems increasingly adopted the stored-program concept, in which program instructions and data could be stored in electronic memory instead of requiring extensive physical rewiring for each new task.
Universal Automatic Computer I (UNIVAC I), delivered in 1951, became one of the earliest commercially produced electronic computers in the United States.
Historical Development at a Glance
| Device or Development | Person | Main Contribution |
|---|---|---|
| Abacus | Ancient origin | Manual counting and arithmetic. |
| Napier's Bones | John Napier | Assisted multiplication and division. |
| Pascaline | Blaise Pascal | Mechanical addition and subtraction. |
| Stepped Reckoner | Gottfried Wilhelm Leibniz | Extended mechanical arithmetic operations. |
| Jacquard Loom | Joseph Marie Jacquard | Used punched cards to control operations. |
| Difference Engine | Charles Babbage | Automatic calculation of mathematical tables. |
| Analytical Engine | Charles Babbage | Concept of a programmable general-purpose mechanical computer. |
| Tabulating Machine | Herman Hollerith | Machine processing of punched-card census data. |
| Harvard Mark I | Howard Aiken and collaborators | Large electromechanical automatic calculator. |
| ENIAC | John Mauchly and J. Presper Eckert and team | Large electronic general-purpose digital computing. |
| UNIVAC I | Eckert-Mauchly team | Early commercial electronic computer. |
Summary
- Computer development progressed from manual counting tools to mechanical, electromechanical, and electronic machines.
- Punched cards introduced an important method for representing instructions and data.
- Charles Babbage's Analytical Engine introduced concepts resembling processing, memory, input, and output.
- Hollerith demonstrated large-scale machine-based information processing using punched cards.
- Electronic computers such as ENIAC and later stored-program systems established the foundation of modern computing.
Test Yourself
- Explain the major stages in the historical development of computers.
- Why is Charles Babbage associated with the development of the modern computer concept?
- What was the significance of punched cards in computer history?
Hints:
- Describe the progression from abacus and mechanical calculators to Babbage's designs, punched-card systems, electromechanical machines, and electronic computers.
- His Analytical Engine included ideas corresponding to memory, processing, input, output, and programmable instructions.
- Punched cards provided a physical method for representing machine instructions and data, as seen in the Jacquard Loom and Hollerith's tabulating systems.
1.5 Generations of Computer
Definition
Generations of computers are stages in the development of electronic computers, commonly classified according to the major hardware technology used in each period.
Each new generation replaced an older core technology with a more advanced one. Vacuum tubes were replaced by transistors, transistors by integrated circuits, and integrated circuits eventually led to microprocessors containing huge numbers of electronic components on very small chips.
Detailed Explanation
The generation model shows how computers became smaller, faster, cheaper, more reliable, and easier to program over time. The exact dates used for generation boundaries can vary slightly among textbooks, but the technological progression is consistent.
First Generation: Vacuum Tubes
The first generation of electronic computers developed mainly during the 1940s and 1950s. Their major electronic component was the vacuum tube.
- Used thousands of vacuum tubes for electronic switching.
- Occupied large physical spaces.
- Consumed large amounts of electricity.
- Generated considerable heat.
- Required frequent maintenance.
- Programming was mainly performed using machine-level instructions.
Examples include ENIAC and UNIVAC I.
Second Generation: Transistors
The second generation replaced vacuum tubes with transistors. Transistors were much smaller, consumed less power, generated less heat, and were more reliable than vacuum tubes.
- Computers became smaller and faster.
- Reliability improved.
- Electricity consumption decreased.
- Assembly language became widely used.
- High-level programming languages such as Formula Translation (FORTRAN) and Common Business-Oriented Language (COBOL) became important.
Third Generation: Integrated Circuits
The third generation used Integrated Circuits (ICs). An IC places many electronic components on a small semiconductor chip.
- Reduced physical size further.
- Improved processing speed and reliability.
- Reduced power consumption and heat generation.
- Supported more advanced operating systems.
- Enabled improved interaction using keyboards and monitors.
- Made multiprogramming and broader commercial use more practical.
Fourth Generation: Microprocessors
The fourth generation began with the development of the microprocessor, which integrates the major processing functions of a Central Processing Unit (CPU) onto a small chip.
- Very Large Scale Integration (VLSI) allowed very large numbers of transistors to be placed on a chip.
- Personal computers became widespread.
- Processing speed and storage capacity increased greatly.
- Computers became much smaller and more affordable.
- Graphical user interfaces and computer networking expanded rapidly.
- Laptops, smartphones, embedded systems, servers, and modern personal computers developed from microprocessor technology.
Fifth Generation: Intelligent and Highly Parallel Systems
The term fifth generation is commonly used for advanced systems emphasizing Artificial Intelligence (AI), parallel processing, natural-language interaction, machine learning, and highly integrated semiconductor technology.
- Focuses on systems capable of advanced decision support and learning.
- Uses highly integrated processors and large-scale parallel computing.
- Supports natural-language processing, computer vision, robotics, and intelligent software.
- Includes modern AI-based computing systems and advanced high-performance computer architectures.
Let's Clarify
The generations are easiest to understand as changes in the computer's electronic building blocks: vacuum tubes → transistors → integrated circuits → microprocessors → advanced intelligent and parallel computing systems. Each transition placed more computing capability into less physical space.
Comparison of Computer Generations
| Generation | Main Technology | Major Characteristics | Representative Examples |
|---|---|---|---|
| First | Vacuum tubes | Very large, high power consumption, high heat, machine-level programming. | ENIAC, UNIVAC I |
| Second | Transistors | Smaller, faster, more reliable, lower power use. | IBM 1401 and similar transistorized systems |
| Third | Integrated Circuits | Greater reliability, smaller size, improved operating systems. | IBM System/360 family |
| Fourth | Microprocessors and VLSI | Personal computers, high speed, compact size, networking. | Modern desktops, laptops, smartphones |
| Fifth | Advanced integration, AI and parallel processing | Machine learning, natural-language processing, intelligent systems. | Modern AI and high-performance computing systems |
Memory Hook
Remember the hardware progression: Vacuum Tube → Transistor → Integrated Circuit → Microprocessor → Artificial Intelligence-oriented systems.
Common Mistake
A computer generation is not determined merely by its manufacturing year. The classification is mainly based on the dominant computing technology and architectural developments associated with that stage.
Summary
- Computer generations describe major stages of technological development.
- First-generation computers used vacuum tubes, while second-generation systems used transistors.
- Third-generation computers introduced integrated circuits.
- Fourth-generation systems are based on microprocessors and large-scale chip integration.
- Fifth-generation computing emphasizes artificial intelligence, advanced integration, and parallel processing.
Test Yourself
- Explain the five generations of computers on the basis of their main technology.
- How did the transistor improve computers compared with vacuum tubes?
- What technological change defines the fourth generation of computers?
Hints:
- Use the sequence vacuum tube → transistor → integrated circuit → microprocessor → AI-oriented and parallel systems, and explain the major improvement in each stage.
- Transistors were smaller, more reliable, consumed less power, produced less heat, and allowed faster and more compact computers.
- The fourth generation is identified by microprocessors and Very Large Scale Integration, enabling compact and affordable personal computers.
1.6 Classification of Computer
Definition
Classification of computers means grouping computers according to common characteristics such as their size and processing capacity, purpose, or method of handling data.
Not every computer is designed for the same type or scale of work. A smartphone and a supercomputer are both digital computers, but their processing capacity, number of users, cost, and intended applications are very different.
Detailed Explanation
Computers can be classified using different criteria. The most common introductory classifications are:
- By size and processing capacity
- By purpose
- By method of data handling
The analog and digital classification based on data handling builds directly on 1.2 Digital and Analog Computers. The size-based classification is traditionally divided into microcomputers, minicomputers, mainframe computers, and supercomputers.
Classification by Size and Processing Capacity
1. Microcomputer
A microcomputer is a relatively small computer built around a microprocessor and designed mainly for individual or small-scale use.
Common forms include:
- Desktop computer: designed for regular use at a fixed location.
- Laptop computer: portable computer combining screen, keyboard, processor, memory, storage, and battery.
- Tablet computer: portable touch-screen computing device.
- Smartphone: handheld digital device combining computing and communication functions.
- Workstation: high-performance single-user computer designed for demanding technical or professional applications.
Microcomputers are widely used in homes, colleges, offices, shops, laboratories, and small businesses.
2. Minicomputer
A minicomputer is a traditional class of medium-sized multi-user computer with greater capacity than early microcomputers but less capacity than mainframe systems.
Minicomputers were widely used by departments, laboratories, factories, and medium-sized organizations. As modern servers and powerful personal computers developed, the traditional minicomputer category became less distinct.
3. Mainframe Computer
A mainframe computer is a powerful computer designed to handle very large amounts of data, high input/output workloads, and large numbers of users or transactions reliably.
Mainframes are commonly associated with:
- Banking transaction processing.
- Large government databases.
- Airline and reservation systems.
- Insurance processing.
- Large organizational information systems.
The strength of a mainframe is not only raw calculation speed. It is designed for reliable, secure, high-volume processing involving many simultaneous users and transactions.
4. Supercomputer
A supercomputer is a computer designed to provide extremely high computational performance for complex scientific, engineering, and mathematical problems.
Supercomputers typically use massive parallel processing, where many processing units work together on portions of a large problem.
Applications include:
- Weather and climate modelling.
- Scientific simulation.
- Computational physics.
- Aerospace research.
- Molecular and medical research.
- Large-scale Artificial Intelligence computation.

Comparison of Computers by Size
| Type | Typical Scale | Users or Workload | Common Uses |
|---|---|---|---|
| Microcomputer | Smallest traditional class | Mainly individual or small-scale use | Personal work, education, office applications, programming |
| Minicomputer | Medium traditional class | Multiple users | Departmental and organizational computing |
| Mainframe computer | Large enterprise system | Very high transaction and multi-user workloads | Banking, airlines, government, large databases |
| Supercomputer | Highest computational class | Massive computational workloads | Scientific simulation, climate modelling, advanced research |
Classification by Purpose
General-Purpose Computer
A general-purpose computer is designed to perform many different tasks by running different programs.
Examples include desktop computers, laptops, smartphones, and general business servers.
Special-Purpose Computer
A special-purpose computer is designed primarily to perform a specific task or a limited group of closely related tasks.
Examples include embedded systems in vehicles, digital appliances, traffic-control equipment, industrial machines, and dedicated control systems.
| Basis | General-Purpose Computer | Special-Purpose Computer |
|---|---|---|
| Purpose | Designed for many different applications. | Designed for a specific application. |
| Programming | Runs many types of software. | Usually runs software dedicated to its particular function. |
| Flexibility | Highly flexible. | Limited to its designed purpose. |
| Example | Laptop computer. | Embedded controller in a washing machine. |
Classification by Data Handling
Based on the way data is represented, computers may be grouped as analog, digital, or systems combining analog and digital techniques. The analog and digital categories were explained in detail in 1.2 Digital and Analog Computers.
Common Mistake
A mainframe and a supercomputer are designed for different strengths. Mainframes emphasize reliable, high-volume transaction and multi-user processing. Supercomputers emphasize maximum computational performance for complex numerical problems.
Summary
- Computers may be classified by size, purpose, or data-handling method.
- The traditional size classes are microcomputer, minicomputer, mainframe computer, and supercomputer.
- Microcomputers are mainly used for individual computing, while mainframes support large transaction workloads.
- Supercomputers provide extremely high computational performance for scientific and engineering problems.
- By purpose, computers are divided into general-purpose and special-purpose systems.
Test Yourself
- Differentiate a mainframe computer from a supercomputer.
- Based on size, describe the classes of a computer. (2083)
Hints:
- Mainframes emphasize high-volume, reliable multi-user and transaction processing; supercomputers emphasize extremely high computational performance for complex scientific calculations.
- Describe microcomputer, minicomputer, mainframe computer, and supercomputer separately, including their scale, users, and typical applications.
1.7 The Computer System
Definition
A computer system is a complete set of interconnected hardware, software, data, procedures, and users that work together to accept input, process data, store it, and produce useful output.
A computer is more than the box containing the processor. A usable computer system needs physical equipment, programs that instruct the equipment, data to work on, and people or processes that use the results.
Detailed Explanation
The functional organization of a basic computer follows this sequence:
Input → Processing ↔ Storage → Output
The Central Processing Unit (CPU) performs the main processing operations. Data and instructions enter through input devices, processing takes place in the CPU, memory and storage preserve information, and output devices present results.

Functional Units of a Computer System
1. Input Unit
The input unit accepts data and instructions from users or other devices and converts them into a form that the computer can process.
Common input devices include:
- Keyboard
- Mouse
- Touch screen
- Scanner
- Microphone
- Camera
- Sensors
For example, when a user types a number using a keyboard, the input system converts the key press into an electronic representation that can be processed.
2. Central Processing Unit
The Central Processing Unit (CPU) is the main processing component that executes program instructions and controls many operations of the computer.
Its basic logical components include:
- Arithmetic Logic Unit (ALU): performs arithmetic calculations and logical comparisons.
- Control Unit (CU): coordinates and directs the execution of instructions and the movement of data among system components.
- Registers: very small, high-speed storage locations inside the processor used to hold data, instructions, addresses, or intermediate results during processing.
Arithmetic Logic Unit
The Arithmetic Logic Unit (ALU) performs operations such as addition, subtraction, multiplication-related processor operations, comparisons, and logical operations.
For example, when a program checks whether 80 is greater than 50, the comparison is performed through processor logic.
Control Unit
The Control Unit (CU) manages the execution of instructions. It coordinates the processor, memory, input devices, and output devices so operations occur in the correct sequence.
A simplified instruction flow is:
Fetch instruction → Decode instruction → Execute operation → Store or use result
3. Memory and Storage
Memory holds data and instructions needed during computer operation, while storage preserves information for later use.
Primary Memory
Primary memory is directly accessible to the processor and stores information needed during active processing.
Important forms include:
- Random Access Memory (RAM): temporary working memory used by currently running programs and data. Most RAM loses its contents when electrical power is removed.
- Read-Only Memory (ROM): non-volatile memory used to store instructions or data that should remain available without continuous power.
Secondary Storage
Secondary storage provides long-term storage for programs and data.
Examples include:
- Solid-State Drive (SSD)
- Hard Disk Drive (HDD)
- Memory card
- USB flash drive
- Optical storage media
4. Output Unit
The output unit converts processed results into a form that users or other systems can understand.
Common output devices include:
- Monitor
- Printer
- Speaker
- Projector
Elements of a Complete Computer System
Beyond the four functional units, a complete computer system involves several interacting elements:
- Hardware: physical components such as CPU, keyboard, monitor, memory, and storage devices.
- Software: programs and instructions that tell the hardware what to do.
- Data: raw facts processed by the computer.
- Users: people who operate, manage, program, or use the computer system.
- Procedures: established steps or rules for operating and using the system correctly.
Let's Clarify
Suppose a student enters two numbers into a calculator program. The keyboard provides input. The CPU interprets the instruction and the Arithmetic Logic Unit performs the calculation. Temporary values are held in memory. The result is then displayed on the monitor. If the student saves the result, it is written to secondary storage.
How a Basic Computer System Processes Data
- Input: the user supplies data and instructions.
- Transfer: the input is represented electronically and moved to memory or the processor.
- Fetch: the processor obtains the required instruction and data.
- Decode: the Control Unit interprets what operation must be performed.
- Execute: the processor performs the required arithmetic, logical, data-transfer, or control operation.
- Store: an intermediate or final result may be placed in memory or secondary storage.
- Output: the processed result is presented through an output device or transmitted to another system.
Common Mistake
Memory and secondary storage are related but not identical. Random Access Memory is working space used during active processing, while devices such as Solid-State Drives and Hard Disk Drives preserve files and programs for long-term use.
Summary
- A computer system combines hardware, software, data, procedures, and users.
- The basic functional cycle is input → processing ↔ storage → output.
- The Central Processing Unit includes the Arithmetic Logic Unit, Control Unit, and high-speed registers.
- Primary memory supports active processing, while secondary storage preserves information for longer periods.
- Input devices supply data and instructions, and output devices present processed results.
Test Yourself
- Explain the functional organization of a basic computer system.
- What are the roles of the Arithmetic Logic Unit and Control Unit?
- Trace the processing of data from input to output.
Hints:
- Explain input unit, CPU, memory/storage, and output unit, including the flow input → processing ↔ storage → output.
- ALU performs arithmetic and logical operations; CU fetches and interprets instructions and coordinates their execution.
- Input is accepted → data and instructions are transferred → instruction is fetched and decoded → operation is executed → result is stored if needed → output is produced.
1.8 Applications of Computers
Definition
Applications of computers are the different fields and activities in which computer systems are used to process information, automate work, solve problems, control equipment, communicate, or support decisions.
Computers are used wherever information must be calculated, stored, searched, communicated, controlled, or analyzed efficiently. Their applications range from classroom learning and banking to hospitals, transportation, manufacturing, and scientific research.
Detailed Explanation
The characteristics explained in 1.3 Characteristics of Computer, especially speed, accuracy, automation, storage, reliability, and versatility, allow computers to perform useful work across many sectors.
1. Education
Computers support teaching, learning, administration, research, and assessment.
- Digital learning platforms and virtual classrooms.
- Presentation and multimedia-based teaching.
- Computer-Based Training (CBT).
- Online examinations and result processing.
- Digital libraries and academic research.
- Student information and attendance systems.
2. Business and Office Work
Businesses use computers to automate routine operations and manage large amounts of commercial information.
- Accounting and financial reporting.
- Payroll processing.
- Inventory management.
- Billing and invoicing.
- Customer information management.
- Data analysis and business reporting.
- Document preparation and communication.
3. Banking and Finance
Computer systems are essential for modern banking because transactions must be processed accurately and records must remain continuously available.
- Account management.
- Electronic fund transfer.
- Automated Teller Machine (ATM) services.
- Online and mobile banking.
- Transaction monitoring.
- Financial analysis.
4. Science and Engineering
Computers allow scientists and engineers to process large datasets and simulate conditions that may be expensive, slow, or dangerous to reproduce physically.
- Mathematical and scientific computation.
- Simulation and modelling.
- Computer-Aided Design (CAD).
- Scientific visualization.
- Research data analysis.
- Weather and climate modelling.
5. Medicine and Healthcare
Healthcare organizations use computers for clinical, administrative, diagnostic, and research activities.
- Electronic patient records.
- Medical image processing.
- Laboratory information systems.
- Appointment and hospital management.
- Monitoring of patients.
- Medical and pharmaceutical research.
6. Communication
Computers and networks enable information to travel rapidly between people and organizations across long distances.
- Electronic mail.
- Instant messaging.
- Voice and video communication.
- Social networking.
- File sharing.
- Web-based collaboration.
7. Government and Public Administration
Government organizations use computer systems to maintain records and provide public services efficiently.
- Citizen databases.
- Tax and revenue systems.
- Online government services.
- National statistics.
- Document and record management.
- Administrative information systems.
8. Manufacturing and Industry
Computers improve industrial production through planning, design, automation, monitoring, and control.
- Computer-Aided Manufacturing (CAM).
- Robotic systems.
- Production planning.
- Quality monitoring.
- Machine control.
- Inventory and supply-chain management.
9. Transportation
Computers support both the operation and management of transportation systems.
- Airline and railway reservation systems.
- Traffic-control systems.
- Vehicle navigation.
- Fleet tracking.
- Route planning.
- Vehicle diagnostics and embedded control.
10. Entertainment and Media
Computers are used to create, distribute, and experience digital entertainment.
- Video games.
- Music production.
- Video editing.
- Animation and visual effects.
- Digital photography.
- Online streaming.
11. Agriculture
Computing is increasingly used in agriculture to collect information and improve planning and resource management.
- Weather-data analysis.
- Crop monitoring.
- Sensor-based irrigation.
- Farm record management.
- Satellite and Geographic Information System (GIS) based land analysis.
12. Research and Artificial Intelligence
Modern research uses computers for data-intensive experiments, machine learning, simulation, pattern recognition, and intelligent systems.
- Machine learning model development.
- Natural-language processing.
- Computer vision.
- Robotics.
- Large scientific simulations.
- Analysis of very large datasets.
Applications and the Characteristics That Enable Them
| Application Area | Typical Computer Use | Major Characteristics Used |
|---|---|---|
| Education | Online learning, results, digital libraries | Storage, versatility, communication |
| Banking | Transactions and account processing | Speed, accuracy, reliability |
| Healthcare | Records, diagnostics, monitoring | Storage, accuracy, reliability |
| Scientific research | Simulation and data analysis | Speed, accuracy, processing capacity |
| Manufacturing | Automation and machine control | Automation, diligence, reliability |
| Communication | Messaging, video meetings, data exchange | Speed, versatility, networking capability |
Summary
- Computers are used wherever data must be processed, stored, communicated, analyzed, or used to control operations.
- Education, business, banking, science, healthcare, government, manufacturing, and transportation depend heavily on computer systems.
- Communication applications allow rapid information exchange across networks.
- Scientific and engineering applications use computers for complex calculations, simulation, modelling, and data analysis.
- Computer applications are enabled by characteristics such as speed, accuracy, storage, automation, reliability, and versatility.
Test Yourself
- Explain any five major application areas of computers with examples.
- How do the characteristics of computers support applications in banking, healthcare, and scientific research?
Hints:
- Select areas such as education, business, banking, healthcare, science, manufacturing, communication, or transportation and explain what computers do in each.
- Banking depends on speed, accuracy, and reliability; healthcare depends on storage and reliable information processing; scientific research depends heavily on speed, accuracy, and large-scale computation.
Exam Questions
- Based on size, describe the classes of a computer. (2083)
- List out the characteristics of a computer. How do these characteristics make computers efficient for various applications? (2081)
- Explain different characteristics of computers. (2081)
- What is digital computer? Compare digital computers with analog computers. (2080)
- Differentiate analog computer with digital computer. (2078)
Whole Chapter Summary
Introduction to Computer
A computer accepts data and instructions, processes them, stores information when necessary, and produces meaningful output. Its basic functional cycle is input → processing → storage → output.
Digital and Analog Computers
Analog computers process continuously varying physical quantities, while digital computers process discrete values represented electronically, normally in binary form. Modern general-purpose computers are digital systems.
Characteristics of Computer
Computers provide high speed, accuracy, diligence, automation, large storage, versatility, reliability, and multitasking. These capabilities allow them to perform large and repetitive workloads efficiently.
History of Computer
Computer technology developed from manual tools such as the abacus through mechanical calculators, punched-card systems, electromechanical machines, and electronic computers. Babbage's Analytical Engine introduced several concepts that resemble the organization of modern computers.
Generations of Computer
The technological progression is commonly summarized as vacuum tubes → transistors → integrated circuits → microprocessors → advanced intelligent and parallel systems. Each stage increased computing capability while generally reducing size and power requirements.
Classification of Computer
By size, computers are traditionally classified as microcomputers, minicomputers, mainframes, and supercomputers. They may also be classified as general-purpose or special-purpose systems and according to their method of handling data.
The Computer System
A complete computer system combines hardware, software, data, users, and procedures. Functionally, input data is processed by the Central Processing Unit, supported by memory and storage, and delivered through output devices.
Applications of Computers
Computers are used in education, banking, business, healthcare, scientific research, government, manufacturing, transportation, communication, agriculture, entertainment, and Artificial Intelligence because they process and manage information rapidly and consistently.
Last-Minute Revision Sheet
| Concept | Trigger Phrase | Recall Cue |
|---|---|---|
| Computer | Electronic programmable device | Input → process → store → output |
| Data | Raw facts | Unprocessed values |
| Information | Processed data | Meaningful result |
| Analog computer | Continuous quantities | Voltage, pressure, temperature |
| Digital computer | Discrete values | Binary 0 and 1 |
| Speed | Huge operations quickly | Very short processing time |
| Accuracy | Correct processing | Depends on valid input + program |
| GIGO | Wrong input → wrong output | Garbage In, Garbage Out |
| Diligence | No fatigue | Repeated work consistently |
| Automation | Program controls sequence | Minimal repeated human action |
| History | Manual → mechanical → electronic | Abacus → Babbage → electronic computer |
| First generation | Vacuum tubes | Large + hot + high power |
| Second generation | Transistors | Smaller + reliable |
| Third generation | Integrated Circuits | Many components on chip |
| Fourth generation | Microprocessor | Personal computing |
| Fifth generation | AI + parallel processing | Intelligent systems |
| Microcomputer | Individual computing | Desktop, laptop, smartphone |
| Minicomputer | Traditional medium multi-user system | Departmental computing |
| Mainframe | High-volume transactions | Bank + airline + large organization |
| Supercomputer | Maximum computation | Science + simulation + climate |
| CPU | Main processor | ALU + CU + registers |
| ALU | Arithmetic + logic | Calculate + compare |
| CU | Control and coordination | Fetch → decode → execute |
| RAM | Working memory | Temporary active data |
| Secondary storage | Long-term storage | SSD + HDD + flash storage |
| Applications | Information processing everywhere | Education + business + health + science + communication |






