Chapter 1 Computer System-1
Chapter 1 Computer System-1
Chapter 1 Computer System-1
Introduction
Definition: Computers are electronic devices designed to accept input, process
it, and produce output.
Components:
1
Input Devices
Definition: Devices that capture data and send it to the computer.
Examples: - Keyboard: Most common input device for text entry. - Mouse:
Pointing device for graphical interaction. - Scanner: Converts physical docu-
ments into digital form. - Touch Screen: Allows direct interaction with the
display.
Output Devices
Definition: Devices that convert digital data into a human-understandable
form.
2
Examples: - Monitor: Displays visual output. - Printer: Produces physical
copies of digital documents. - Speaker: Outputs sound. - 3D Printer: Creates
physical objects from digital models.
3
Evolution of Computers
Computer Memory
Purpose: A computer system needs memory to store data and instructions
for processing. The secondary memory is used to store data, instructions, and
results permanently for future use.
4
Units of Memory
• Bit: 0 or 1
• Nibble: 4 bits
• Byte: 8 bits
Types of Memory
Primary Memory
• RAM (Random Access Memory): Volatile memory used for temporary
data storage.
• ROM (Read-Only Memory): Non-volatile memory used for permanent
storage of boot instructions.
• Cache Memory: High-speed memory located between the CPU and
RAM to speed up processing.
Secondary Memory
• Non-volatile storage for long-term data retention, including hard drives,
SSDs, CDs, and DVDs.
5
Data Transfer between Memory and CPU
System Bus: A communication system that transfers data between components
inside a computer. - Data Bus: Carries data. - Address Bus: Carries memory
addresses. - Control Bus: Carries control signals.
6
Steps in Data Transfer
1. Data Request: CPU requests data from secondary storage.
2. Transfer to Main Memory: Data is transferred from secondary storage
to RAM.
3. Bus Utilization: Data transfer uses the system bus, including the data
bus, address bus, and control bus.
4. CPU Access: CPU accesses data from RAM for processing.
5. Data Storage: Processed data is either sent to output devices or stored
back in secondary storage.
7
Generations of Microprocessors
Types of Data
• Structured Data: Organized in fixed formats (e.g., databases).
8
• Semi-Structured Data: Partially organized but not fixed (e.g., email
metadata, HTML documents).
9
Software
Definition: Software comprises a set of instructions which, on execution, deliver
the desired outcome.
Types of Software
• System Software
• Programming Tools
• Application Software
System Software
• Operating System: Manages hardware resources and provides common
services for application software.
• Utilities: System management tools.
• Device Drivers: Control the hardware components.
Programming Tools
• Compilers: Convert high-level language code into machine code in a
single batch.
• Interpreters: Convert and execute high-level language code line-by-line.
• Assemblers: Convert assembly language into machine code.
Application Software
• General Purpose Software: Application software developed for generic
applications to cater to a bigger audience.
10
• Customized Software: Tailor-made application software developed to
meet the requirements of a specific organization or individual.
Operating Systems
Definition: System software that manages hardware resources and provides
common services for application software.
OS User Interface
• Command-Line Interface (CLI): Allows users to interact with the
computer using text commands.
• Graphical User Interface (GUI): Uses visual elements like windows,
icons, and menus for interaction.
• Touch Interface: Enables interaction through touch gestures.
• Voice Interface: Allows interaction using voice commands.
• Gesture Interface: Uses physical gestures for interaction.
11
Functions of OS
• Process Management: Handles the execution of multiple processes.
• Memory Management: Allocates memory to processes and manages
memory usage.
• File Management: Organizes and manages data storage.
• Device Management: Controls and coordinates hardware devices.
12