1st PUC CS : Computer System full easy notes
Computer System
Chapter 1 β Complete Notes & Exam Preparation
Easy-to-understand notes based on the NCERT textbook
π Chapter Introduction
Computer systems are an important part of modern life. A computer accepts data as input, processes it according to instructions and produces useful output.
This chapter introduces the basic components of a computer system and explains the evolution of computers, computer memory, communication between CPU and memory, microprocessors, data and information, software and operating systems.
π Table of Contents
1.1 Introduction to Computer System
π» What is a Computer?
A computer is an electronic device that accepts input data, processes it according to instructions and produces output.
π₯οΈ Computer System
A computer system consists of the computer hardware together with software. Hardware provides the physical components, while software provides the instructions required to operate the hardware.
π§ Central Processing Unit β CPU
Parts of CPU
ALU
The Arithmetic Logic Unit performs arithmetic and logical operations.
CU
The Control Unit controls instruction execution and data flow.
Registers
Registers are small and fast storage locations inside the CPU used for data, instructions and intermediate results.
β¨οΈ Input Devices
Input devices send data or control signals to the computer and convert the input into digital form.
Examples:
Keyboard Mouse Scanner Touch Screen Voice Input Braille Keyboardπ¨οΈ Output Devices
Output devices receive the processed result from the computer and present it in a form understandable to humans.
Examples:
Monitor Projector Speaker Headphone PrinterPrinter Types
- Inkjet printer
- Laserjet printer
- Dot matrix printer
- 3D printer
1.2 Evolution of Computer
Computers developed gradually from simple mechanical calculating devices to modern electronic and connected computing systems.
| Development | Important Point |
|---|---|
| Abacus | Mechanical device used for simple arithmetic. |
| Pascaline | Mechanical calculator associated with Blaise Pascal. |
| Analytical Engine | Mechanical computing device associated with Charles Babbage. |
| Turing Machine | General-purpose programmable-machine concept. |
| Hollerith’s Tabulating Machine | Used punched cards for processing data. |
| Stored-Program Concept | Associated with John Von Neumann. |
| Transistor | Replaced vacuum tubes. |
| Integrated Circuit | Integrated electronic circuits and reduced computer size. |
| Microprocessor | CPU implemented on a single chip. |
| Personal Computer | Made computing accessible for individual users. |
| GUI | Made computer interaction easier using graphical elements. |
| WWW | Helped expand computer and internet usage. |
| Laptops, Smartphones and Tablets | Made computing portable. |
| Wearables and IoT | Extended computing into connected devices. |
ποΈ Von Neumann Architecture
The stored-program concept associated with Von Neumann architecture includes the CPU, memory, input/output devices and communication channels.
π Moore’s Law
1.3 Computer Memory
Computer memory stores data and instructions required for processing.
π’ Units of Memory
| Unit | Equivalent |
|---|---|
| 1 Bit | Binary digit β 0 or 1 |
| 1 Nibble | 4 bits |
| 1 Byte | 8 bits |
| 1 KB | 1024 Bytes |
| 1 MB | 1024 KB |
| 1 GB | 1024 MB |
| 1 TB | 1024 GB |
| 1 PB | 1024 TB |
| 1 EB | 1024 PB |
| 1 ZB | 1024 EB |
| 1 YB | 1024 ZB |
πΎ Primary Memory
Primary memory is directly accessed by the CPU.
RAM β Random Access Memory
- Volatile memory
- Temporarily stores data and programs
- Contents are lost when power is switched off
ROM β Read Only Memory
- Non-volatile memory
- Stores permanent or rarely changed contents
- Startup information is an example
β‘ Cache Memory
Cache memory is very high-speed memory placed between the CPU and primary memory. It stores frequently accessed data and reduces average access time.
πΏ Secondary Memory
Secondary memory provides large, non-volatile storage for data and programs. It is generally slower and cheaper than primary memory.
Examples:
HDD SSD CD/DVD Memory Card Pen Drive1.4 Data Transfer Between Memory and CPU
π What is a Bus?
Types of Bus
| Bus | Purpose | Direction |
|---|---|---|
| Data Bus | Transfers data | Bidirectional |
| Address Bus | Carries memory addresses | Unidirectional |
| Control Bus | Carries control signals | Unidirectional |
Read Operation
During a read operation, the CPU specifies the memory address and the required data is transferred from memory to the CPU through the data bus.
Write Operation
During a write operation, the CPU places data on the data bus and specifies the destination address through the address bus.
1.5 Microprocessors
A microprocessor performs data processing and arithmetic and logical operations.
Microprocessor Generations
| Generation | Period | Word Size | Technology | Example |
|---|---|---|---|---|
| First | 1971β73 | 4/8-bit | LSI | Intel 8080 |
| Second | 1974β78 | 8-bit | LSI | Intel 8085 |
| Third | 1979β80 | 16-bit | VLSI | Intel 8086 |
| Fourth | 1981β95 | 32-bit | VLSI | Intel 80386 |
| Fifth | 1995βdate | 64-bit | SLSI | Pentium, Celeron, Xeon |
Important Specifications
Word Size
Maximum number of bits a processor can process at a time.
Clock Speed
Number of clock pulses generated per second.
Memory Size
Amount of memory supported by the processor/system.
Core
A basic computation unit of a CPU.
Core Types
- 2 cores β Dual-core
- 4 cores β Quad-core
- 8 cores β Octa-core
Microcontroller
Microcontrollers are designed for specific tasks and are used in devices such as washing machines, digital cameras, remote controllers and microwaves.
1.6 Data and Information
Types of Data
| Type | Meaning | Examples |
|---|---|---|
| Structured Data | Data organised using a predefined structure. | Attendance, sales transactions, railway bookings, ATM transactions |
| Unstructured Data | Data without a predefined record format. | Audio, video, graphics, text documents, social media posts |
| Semi-structured Data | Data without a fixed structure but with tags or markings. | Email, HTML pages, CSV files |
π₯ Data Capturing
Data capturing means gathering data from different sources in digital form.
πΎ Data Storage
Data storage means keeping captured data for later processing.
π Data Retrieval
Data retrieval means fetching stored data for processing according to user requirements.
ποΈ Data Deletion and Recovery
Deleted data may sometimes remain recoverable if the storage space has not been overwritten.
Data recovery means retrieving deleted, corrupted or lost data from secondary storage.
- Passwords
- Access control
- Encryption
- Proper deletion/shredding of storage devices
1.7 Software
Major Categories of Software
System Software
Provides basic functionality and interacts directly with hardware.
Programming Tools
Help programmers create, translate, test and debug programs.
Application Software
Performs tasks required by users.
System Software
System software provides basic functionality and interacts directly with hardware.
System Utilities
- Disk defragmentation
- Formatting utilities
- System restore
- Antivirus
- Disk cleaner
- Disk compression
Device Drivers
A device driver acts as an interface between a particular hardware device and the operating system.
Programming Languages
| Type | Examples | Characteristics |
|---|---|---|
| Low-Level Language | Machine Language, Assembly Language | Machine-dependent |
| High-Level Language | C++, Java, Python | Machine-independent and easier for humans |
Language Translators
| Translator | Function |
|---|---|
| Assembler | Converts assembly language into machine language. |
| Compiler | Translates high-level source code as a whole. |
| Interpreter | Translates and executes one line at a time. |
Program Development Tools
- Text Editor: Used to create source code.
- IDE: Combines text editor, building tools and debugger.
- Debugger: Helps detect and correct source-code errors.
Examples mentioned in the chapter include Python IDLE, NetBeans, Eclipse, Atom and Lazarus.
Application Software
General-Purpose Software
Designed to satisfy common requirements of users.
Customised Software
Tailor-made for a specific person or organisation.
FOSS, Freeware and Proprietary Software
| Type | Meaning |
|---|---|
| FOSS | Source code is freely available for use and improvement. |
| Freeware | Available free of charge, but source code may not be available. |
| Proprietary Software | Supplied under vendor/copyright owner’s terms. |
1.8 Operating System
π― Objectives of Operating System
- Provides services for building and running application programs.
- Provides a user interface for interaction with the computer.
π±οΈ Types of User Interfaces
| Interface | Description |
|---|---|
| Command-Based Interface | User enters commands using a keyboard. |
| Graphical User Interface | Uses icons, menus and visual options. |
| Touch-Based Interface | Uses touchscreen input. |
| Voice-Based Interface | Uses spoken commands. |
| Gesture-Based Interface | Uses gestures such as waving, tilting, eye motion and shaking. |
βοΈ Functions of Operating System
Process management handles running processes, allocates resources and supports information exchange between processes.
Memory management allocates and frees main memory for processes and keeps track of free and occupied memory locations.
File management creates, updates, deletes and protects files stored in secondary storage and controls authorised access.
Device management manages input/output devices, works with device drivers and controls device configuration and access.
β Short Questions & Answers
A computer is an electronic device that accepts input, processes it and produces output.
CPU is the main processing unit of a computer.
ALU performs arithmetic and logical operations.
CU controls instruction execution and data flow.
A bit is a binary digit represented by 0 or 1.
A byte consists of 8 bits.
RAM is volatile primary memory used for temporary storage.
ROM is non-volatile primary memory used to store permanent or rarely changed contents.
Cache is high-speed memory between CPU and primary memory.
A bus is a physical connection used for transferring information between computer components.
Data bus, address bus and control bus.
A microprocessor is a CPU implemented on a single microchip.
A microcontroller integrates CPU, fixed RAM, ROM and peripherals on one chip.
Structured, unstructured and semi-structured data.
Software is a set of instructions and data that makes hardware useful and operational.
An operating system is system software that manages computer resources and provides user interaction.
π Important Differences
RAM vs ROM
| RAM | ROM |
|---|---|
| Volatile | Non-volatile |
| Temporary storage | Permanent/rarely changed storage |
| Contents are lost when power is off | Contents remain after power is off |
Primary Memory vs Secondary Memory
| Primary Memory | Secondary Memory |
|---|---|
| Directly accessed by CPU | Not directly accessed by CPU |
| Smaller capacity | Larger capacity |
| Faster | Generally slower |
| RAM and ROM | HDD, SSD, CD/DVD etc. |
Compiler vs Interpreter
| Compiler | Interpreter |
|---|---|
| Translates the program as a whole. | Translates one line at a time. |
Microprocessor vs Microcontroller
| Microprocessor | Microcontroller |
|---|---|
| CPU implemented on a chip. | CPU, RAM, ROM and peripherals integrated on one chip. |
| Used as a processing unit. | Designed for specific tasks. |
Structured vs Unstructured Data
| Structured | Unstructured |
|---|---|
| Has predefined structure. | Does not have predefined record structure. |
| Examples: attendance, sales records. | Examples: audio, video, graphics. |
π Important Questions for Exam
Very Short Answer
- Define computer.
- What is CPU?
- What is ALU?
- What is CU?
- Define bit.
- Define byte.
- What is cache memory?
- What is a bus?
- Name the types of buses.
- What is a microprocessor?
- What is a microcontroller?
- Define software.
- What is an operating system?
Short Answer
- Explain the main components of CPU.
- Explain primary and secondary memory.
- Explain RAM and ROM.
- Explain cache memory.
- Explain the three types of buses.
- Explain microprocessor generations.
- Explain microprocessor specifications.
- Explain microcontroller.
- Explain structured, unstructured and semi-structured data.
- Explain data capturing, storage and retrieval.
- Explain system software.
- Explain language translators.
- Explain application software.
- Explain FOSS, freeware and proprietary software.
- Explain operating-system interfaces.
- Explain the functions of an operating system.
Difference-Based Questions
- Differentiate RAM and ROM.
- Differentiate primary and secondary memory.
- Differentiate compiler and interpreter.
- Differentiate microprocessor and microcontroller.
- Differentiate structured and unstructured data.
- Differentiate freeware and proprietary software.
- Differentiate low-level and high-level languages.
β‘ Quick Revision
Computer Basics
- Computer β Input β Processing β Output
- CPU is the main processing unit.
- CPU contains ALU, CU and registers.
Memory
- 1 Byte = 8 bits
- 1 KB = 1024 Bytes
- RAM = Volatile
- ROM = Non-volatile
- Cache = High-speed memory
- Secondary memory = Large, non-volatile storage
Bus
- Data Bus β Data
- Address Bus β Address
- Control Bus β Control signals
- System Bus = Data + Address + Control
Microprocessor
- Microprocessor = CPU on a single chip.
- Word size = Maximum bits processed at a time.
- Clock speed = Clock pulses per second.
- Core = Basic computation unit.
- Microcontroller integrates CPU, memory and peripherals on one chip.
Data
- Structured data
- Unstructured data
- Semi-structured data
Software
- System Software
- Programming Tools
- Application Software
- Assembler β Assembly to machine language
- Compiler β Whole program translation
- Interpreter β Line-by-line translation
Operating System
- Command-based interface
- GUI
- Touch-based interface
- Voice-based interface
- Gesture-based interface
- Process Management
- Memory Management
- File Management
- Device Management
π― Final Chapter Revision
For examination preparation, revise the chapter in this order:
- Computer components and CPU
- Evolution of computers
- Memory and memory units
- Data, address and control buses
- Microprocessor and microcontroller
- Structured, unstructured and semi-structured data
- Software classification and translators
- Operating-system interfaces
- Operating-system functions
- Important differences and definitions
RAM vs ROM β’ Primary vs Secondary Memory β’ System Bus β’ Microprocessor Generations β’ Microprocessor vs Microcontroller β’ Data Types β’ Compiler vs Interpreter β’ Software Categories β’ OS Interfaces β’ OS Functions β’introduction of Computer β’ block diagram of computer system