UNIT 1: COMPUTER FUNDAMENTALS, NUMBER SYSTEM AND DIGITAL LOGIC

 




1.1 Fundamentals of Computer

1.1.1 What is a Computer?

A computer is an electronic programmable machine that accepts data as input, processes it according to a set of instructions, stores it, and produces meaningful information as output.

In simple words:

Computer = Input → Processing → Output → Storage

For example, when we calculate the total marks of a student:

  • We enter the marks → Input
  • Computer calculates the total → Processing
  • It displays the total marks → Output
  • The result can be saved → Storage

Simple Definition

A computer is an electronic device that accepts data, processes it according to instructions, produces information, and stores the results for future use.


1.1.2 Basic Functions of a Computer

A computer mainly performs four basic functions:

1. Input

Input means entering data and instructions into a computer.

Examples:

  • Keyboard
  • Mouse
  • Scanner
  • Microphone
  • Webcam

Example: Typing 80, 75, 90 as marks.


2. Processing

Processing means performing operations on the input data to convert it into useful information.

The CPU (Central Processing Unit) performs most processing operations.

Example:

80 + 75 + 90 = 245

The calculation is processing.


3. Output

Output is the meaningful result produced after processing.

Examples:

  • Monitor
  • Printer
  • Speaker
  • Projector

Example: Displaying Total = 245 on the monitor.


4. Storage

Storage means saving data, instructions, and results for future use.

Examples:

  • Hard Disk
  • SSD
  • Pen Drive
  • Memory Card
  • CD/DVD

Example: Saving a student's marks in a computer.


Basic Computer Working

             ┌──────────────┐
             │    INPUT     │
             │ Keyboard     │
             │ Mouse        │
             │ Scanner      │
             └──────┬───────┘
                    ↓
             ┌──────────────┐
             │  PROCESSING  │
             │     CPU      │
             └──────┬───────┘
                    ↓
             ┌──────────────┐
             │    OUTPUT    │
             │ Monitor      │
             │ Printer      │
             └──────────────┘
                    ↕
             ┌──────────────┐
             │   STORAGE    │
             │ HDD / SSD    │
             └──────────────┘

Remember:

Input → Process → Output → Storage

This is one of the most important basic concepts of computer fundamentals.


1.1.3 Data and Information

These two terms are often confused.

Data

Data means raw and unprocessed facts and figures.

Examples:

  • 50
  • 70
  • Ram
  • 25 years
  • 101101

Data by itself may not have a clear meaning.

Information

Information is processed and meaningful data.

For example:

Data:

Ram
70
80
90

After processing:

Ram's average marks = 80

The second one is information.

Difference Between Data and Information

DataInformation
Raw factsProcessed data
May not have clear meaningHas meaningful interpretation
Input to processingOutput of processing
Example: 80, 90, 70Average = 80

Easy way to remember:

Raw data + Processing = Information


1.1.4 Characteristics of a Computer

Computers have several important characteristics.

1. Speed

A computer can perform millions or billions of operations in a very short time.

For example, a computer can perform complex calculations much faster than humans.


2. Accuracy

A computer normally produces highly accurate results when:

  • correct data is given, and
  • correct instructions/program are used.

Important point:

Computer does not normally make mistakes by itself; wrong input or instructions can produce wrong results.

This is commonly expressed as:

GIGO = Garbage In, Garbage Out

If the input is wrong, the output may also be wrong.


3. Diligence

Unlike humans, a computer does not become tired or bored after performing repetitive tasks.

For example, it can calculate thousands of records repeatedly without losing concentration.


4. Storage Capacity

Computers can store a large amount of data.

Modern computers can store:

  • Documents
  • Photos
  • Videos
  • Programs
  • Databases
  • Audio files

5. Automation

Once a program and required data are provided, a computer can perform tasks automatically with little human intervention.

For example, an ATM automatically processes a withdrawal after the user provides the required information.


6. Versatility

A computer can perform many different types of tasks.

For example, the same computer can be used for:

  • Word processing
  • Internet browsing
  • Programming
  • Video editing
  • Accounting
  • Gaming
  • Database management

7. Reliability

Computers can perform the same operation repeatedly with consistent results, provided the hardware and software are functioning correctly.


8. Multitasking

A computer can handle multiple tasks/programs apparently at the same time.

For example, you can:

  • Listen to music
  • Browse the internet
  • Download a file
  • Work on a document

at the same time.


9. No Intelligence of Its Own

A computer does not normally think or make decisions like a human by itself.

It follows instructions given through programs.

Computer is fast and powerful, but it works according to instructions.


1.1.5 Limitations of a Computer

Although computers are powerful, they also have limitations.

1. No Common Sense

A computer does not have human common sense.

2. No Emotions

A computer cannot naturally feel:

  • Happiness
  • Sadness
  • Anger
  • Love

3. Dependent on Instructions

A computer needs appropriate instructions/programs to perform tasks.

4. GIGO

Wrong input or incorrect instructions can result in incorrect output.

5. Dependence on Electricity

Most computers require electrical power to operate.

6. Security and Privacy Risks

Computer systems can be affected by:

  • Malware
  • Viruses
  • Unauthorized access
  • Data theft
  • Cyberattacks

1.1.6 Components of a Computer System

A complete computer system is not only hardware.

The major components are:

  1. Hardware
  2. Software
  3. Data
  4. Users/People
  5. Procedures

Let's understand them.


1. Hardware

Hardware refers to the physical components of a computer that we can see and touch.

Examples:

  • Keyboard
  • Mouse
  • Monitor
  • CPU
  • RAM
  • Hard disk
  • Printer
  • Motherboard

Easy definition:

Hardware = Physical parts of a computer.


2. Software

Software is a set of programs or instructions that tells the computer what to do.

Examples:

  • Windows
  • Linux
  • Microsoft Word
  • Excel
  • Chrome
  • Photoshop

Easy definition:

Software = Instructions/programs used to operate a computer.


3. Data

Data is the raw material that a computer processes.

Examples:

  • Names
  • Numbers
  • Marks
  • Images
  • Text
  • Audio

4. People / Users

People who operate, manage, develop, or use computer systems are called users or peopleware.

Examples:

  • Computer operator
  • Programmer
  • System administrator
  • Teacher
  • Student
  • IT officer

5. Procedures

Procedures are the rules or steps that explain how a computer system should be used.

For example, an organization may have a procedure for:

  • Taking backup
  • Logging into a system
  • Entering data
  • Protecting passwords

1.1.7 Hardware vs Software

This is a very important examination question.

HardwareSoftware
Physical componentsPrograms/instructions
Can be seen and touchedCannot normally be physically touched
ManufacturedDeveloped/programmed
Can be damaged physicallyCan be corrupted/deleted
Example: KeyboardExample: MS Word

Easy example

Think about a human body:

  • Hardware ≈ Body
  • Software ≈ Instructions/knowledge

A computer needs both hardware and software to work effectively.

Hardware without software is useless, and software without hardware cannot run.


1.1.8 Classification of Computers

Computers can be classified in different ways.

The common classifications are:

A. Based on Purpose

  1. General-purpose computer
  2. Special-purpose computer

B. Based on Data Handling

  1. Analog computer
  2. Digital computer
  3. Hybrid computer

C. Based on Size/Processing Power

  1. Microcomputer
  2. Minicomputer
  3. Mainframe computer
  4. Supercomputer

1.1.9 General-Purpose Computer

A general-purpose computer is designed to perform many different types of tasks.

Examples:

  • Desktop computer
  • Laptop
  • Tablet

A laptop can be used for:

  • Internet
  • Programming
  • Office work
  • Video editing
  • Education

Therefore, it is a general-purpose computer.


1.1.10 Special-Purpose Computer

A special-purpose computer is designed to perform a specific task or a limited set of tasks.

Examples:

  • ATM
  • Traffic light controller
  • Washing machine controller
  • Embedded control systems

Difference

General PurposeSpecial Purpose
Performs many tasksDesigned for specific tasks
FlexibleLess flexible
Example: LaptopExample: ATM controller

1.1.11 Analog Computer

An analog computer works with continuous physical quantities.

Examples of quantities:

  • Temperature
  • Pressure
  • Speed
  • Voltage

Analog systems are useful where continuously changing values need to be measured or represented.


1.1.12 Digital Computer

A digital computer processes data in discrete values, normally using the binary number system, 0 and 1.

Examples:

  • Desktop
  • Laptop
  • Smartphone
  • Digital calculator

Most modern computers are digital computers.


1.1.13 Hybrid Computer

A hybrid computer combines features of both analog and digital computers.

It can deal with continuous measurements while also performing digital processing.

Easy way:

Analog + Digital = Hybrid


1.1.14 Microcomputer

A microcomputer is a relatively small computer generally based on a microprocessor.

Examples:

  • Desktop
  • Laptop
  • Tablet
  • Personal computer

1.1.15 Minicomputer

Historically, minicomputers were medium-sized systems with greater processing capability than typical microcomputers.

They were commonly used by organizations for multi-user computing.

Note: The traditional classification of computers into micro, mini, mainframe, and supercomputer is historical; modern computing systems do not always fit neatly into these categories.


1.1.16 Mainframe Computer

A mainframe is a powerful computer designed to process large volumes of data and support many users and transactions.

It is commonly associated with large organizations such as:

  • Banks
  • Airlines
  • Government organizations
  • Large enterprises

1.1.17 Supercomputer

A supercomputer is a computer designed for extremely high-performance computation.

It is used for problems requiring enormous amounts of calculation.

Examples of applications:

  • Weather forecasting
  • Climate modeling
  • Scientific research
  • Space research
  • Nuclear simulations
  • Large-scale scientific calculations

Remember:

Supercomputer = Extremely high computational performance


1.1.18 Computer System Block Diagram

A basic computer system can be represented as:

              ┌─────────────┐
              │    INPUT    │
              └──────┬──────┘
                     ↓
        ┌────────────────────────┐
        │          CPU           │
        │ ┌────────┐ ┌─────────┐ │
        │ │  CU    │ │   ALU   │ │
        │ └────────┘ └─────────┘ │
        └───────────┬────────────┘
                    ↕
              ┌─────────────┐
              │   MEMORY    │
              └──────┬──────┘
                     ↓
              ┌─────────────┐
              │   OUTPUT    │
              └─────────────┘

Where:

  • CPU = Central Processing Unit
  • CU = Control Unit
  • ALU = Arithmetic Logic Unit

We will study these in detail in Section 1.3 Computer Architecture.


1.1.19 What is CPU?

CPU stands for Central Processing Unit.

It is the main processing unit of a computer and is often called the "brain of the computer".

The CPU performs:

  • Arithmetic operations
  • Logical operations
  • Instruction execution
  • Control of computer operations

Major components include:

1. ALU

Arithmetic Logic Unit

Performs:

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Comparison
  • Logical operations

2. Control Unit

Controls and coordinates the activities of the computer.

3. Registers

Small, very fast storage locations inside/closely associated with the CPU used to hold data, instructions, and intermediate results.


1.1.20 What is a Program?

A program is a set of instructions written to tell a computer how to perform a particular task.

For example:

Input two numbers
↓
Add the numbers
↓
Display the result

This set of instructions forms the basic idea of a program.

Examples of programming languages:

  • C
  • C++
  • Java
  • Python
  • JavaScript

1.1.21 What is an Operating System?

An Operating System (OS) is system software that manages computer hardware and provides services for application programs and users.

Examples:

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

The operating system manages resources such as:

  • CPU
  • Memory
  • Storage
  • Input/output devices
  • Files

We will study Operating Systems in greater detail in the relevant unit.


1.1.22 Data Processing Cycle

A computer processes data through a sequence commonly called the data processing cycle.

Main stages:

INPUT
  ↓
PROCESSING
  ↓
OUTPUT
  ↓
STORAGE

Example: Student Result System

Input:

Name = Ram
Math = 80
Science = 70
Computer = 90

Processing:

80 + 70 + 90 = 240
240 / 3 = 80

Output:

Ram's Average = 80

Storage:

The result is saved in a database/file.


1.1.23 Applications of Computers

Computers are used in almost every field.

1. Education

  • Online classes
  • Digital learning
  • Presentations
  • Online examinations
  • E-books
  • Learning management systems

2. Banking

  • ATM
  • Online banking
  • Mobile banking
  • Transaction processing
  • Account management

3. Healthcare

  • Patient records
  • Medical imaging
  • Laboratory systems
  • Hospital management
  • Telemedicine

4. Business

  • Accounting
  • Payroll
  • Inventory management
  • Customer management
  • Business analysis

5. Government

  • Digital government services
  • Record management
  • Online applications
  • Tax systems
  • Population databases

6. Communication

  • Email
  • Messaging
  • Video conferencing
  • Social media

7. Science and Research

  • Data analysis
  • Simulation
  • Scientific calculations
  • Weather forecasting

8. Entertainment

  • Movies
  • Music
  • Games
  • Video editing
  • Animation

1.1.24 Advantages of Computers

The major advantages are:

  • Very high speed
  • High accuracy
  • Large storage capacity
  • Automation
  • Reliability
  • Multitasking
  • Versatility
  • Easy communication
  • Fast data processing
  • Useful for large-scale data management

1.1.25 Disadvantages / Limitations

Major limitations include:

  • No human-like common sense
  • No emotions
  • Dependence on instructions
  • Security threats
  • Privacy problems
  • Hardware/software failures
  • Dependence on electricity
  • Incorrect output from incorrect input/program
  • Excessive dependence can reduce human involvement in some tasks

1.1.26 Important Terms at a Glance

TermSimple Meaning
ComputerElectronic programmable device that processes data
DataRaw facts and figures
InformationProcessed, meaningful data
HardwarePhysical parts
SoftwarePrograms/instructions
CPUMain processing unit
ALUPerforms arithmetic and logical operations
CUControls computer operations
InputData/instructions entered into computer
OutputResult produced by computer
StorageSaving data for future use
ProgramSet of instructions
OSSoftware that manages computer resources
GIGOGarbage In, Garbage Out

⭐ Most Important Exam Points

For 1.1 Fundamentals of Computer, make sure you can answer these questions:

Very Important

  1. What is a computer?
  2. Explain the basic functions of a computer.
  3. What is data? What is information?
  4. Differentiate between data and information.
  5. What are the characteristics of a computer?
  6. What are the limitations of a computer?
  7. What are hardware and software?
  8. Differentiate between hardware and software.
  9. What are the components of a computer system?
  10. Explain the data processing cycle.
  11. What is a general-purpose computer?
  12. What is a special-purpose computer?
  13. Differentiate between analog, digital and hybrid computers.
  14. Classify computers according to size/processing capability.
  15. What is a CPU?
  16. What are ALU, CU and registers?
  17. What is a program?
  18. What is an operating system?
  19. Explain the applications of computers.
  20. Explain GIGO with an example.

🧠 Quick Revision — 1.1 in One Page

                  COMPUTER
                      │
       ┌──────────────┼──────────────┐
       ↓              ↓              ↓
     INPUT         PROCESSING      OUTPUT
       │              │              │
 Keyboard           CPU           Monitor
 Mouse              ALU           Printer
 Scanner             CU            Speaker
                     │
                     ↓
                  STORAGE
                  HDD / SSD

Remember these:

Computer = Electronic + Programmable + Data Processing

Basic cycle:

Input → Processing → Output → Storage

Data:

Raw facts

Information:

Processed and meaningful data

Hardware:

Physical components

Software:

Programs/instructions

CPU:

Main processing unit

ALU:

Arithmetic + Logic

CU:

Controls and coordinates operations

GIGO:

Garbage In → Garbage Out

Computer characteristics:

Speed + Accuracy + Storage + Diligence + Automation + Versatility + Reliability

Computer limitations:

No emotions + No common sense + Instruction dependent + GIGO




Post a Comment

0 Comments