Current Affairs updated daily
KalviGavaniKalviGavani
Class 11

CBSE Class 11 Computer Science Chapter 1 Notes: Computer System

Complete NCERT-aligned guide for CBSE Class 11 Computer Science Chapter 1 — Computer System covering hardware, software, I/O devices, memory types, CPU components, and operating systems with exam tips and revision notes.

Updated 11 June 202619 min read

CBSE Class 11 Computer Science Chapter 1 — Computer System

A computer system is a combination of hardware and software that works together to process data and produce meaningful results. Understanding the components of a computer system is the foundation of computer science. In this chapter, you will learn about the physical parts of a computer (hardware), the programs that run on it (software), how data flows through the system, and how the operating system manages everything. This guide follows the NCERT syllabus for CBSE Class 11 Computer Science and covers every concept you need for your exams.


Key Definitions

TermDefinition
ComputerAn electronic device that accepts data as input, processes it, and produces output.
HardwareThe physical, tangible components of a computer system that you can see and touch.
SoftwareThe set of instructions or programs that tell the hardware what to do.
CPUCentral Processing Unit — the brain of the computer that executes instructions.
ALUArithmetic Logic Unit — performs arithmetic and logical operations inside the CPU.
Control UnitDirects and coordinates all operations of the CPU and computer system.
RegisterA small, high-speed storage location inside the CPU for temporary data.
RAMRandom Access Memory — volatile primary memory that temporarily stores data and programs in use.
ROMRead Only Memory — non-volatile memory that stores permanent instructions like the boot program.
Cache MemoryExtremely fast, small memory between RAM and CPU that stores frequently accessed data.
Operating SystemSystem software that manages hardware and software resources and provides user interface.
Input DeviceHardware that sends data to the computer (keyboard, mouse, scanner).
Output DeviceHardware that presents data from the computer to the user (monitor, printer, speaker).
BusA set of wires that carries data, addresses, and control signals between CPU, memory, and peripherals.
PortA connection point on the computer where peripheral devices can be attached.

Detailed Concepts

Computer Hardware

Hardware refers to all the physical components of a computer system. These are the parts you can see and touch. Hardware can be divided into four main categories: input devices, output devices, the CPU, and memory/storage devices.

Input Devices

Input devices allow users to send data and commands into the computer.

  • Keyboard: The most common input device. Uses a QWERTY layout. Each key press sends a specific code to the computer. Standard keyboards have 101 or 104 keys including function keys, alphanumeric keys, navigation keys, and a numeric keypad.
  • Mouse: A pointing device that controls the cursor on screen. Types include mechanical mouse (with a ball), optical mouse (uses LED light), and wireless mouse (uses Bluetooth or radio signals). Actions include click, double-click, right-click, drag, and scroll.
  • Scanner: Converts physical documents and images into digital format. Uses light sensors to capture the image. Flatbed scanners are the most common type for document scanning.
  • Microphone: Converts sound waves into electrical signals that the computer can process. Used for voice input, video calls, and voice recognition software.
  • Webcam: Captures live video and sends it to the computer. Used for video conferencing and recording.
  • Touchscreen: Acts as both an input and output device. Accepts input through touch gestures like tapping, swiping, and pinching. Found in smartphones, tablets, and some laptops.
  • Barcode Reader: Scans barcode patterns and converts them into digital data. Widely used in retail stores and warehouses.
  • Joystick: A lever-style input device used primarily for gaming and simulation applications.

Output Devices

Output devices present processed data to the user in a human-readable form.

  • Monitor (Display Screen): The most common output device. Types include LCD (Liquid Crystal Display), LED (Light Emitting Diode), and OLED (Organic LED). Key specifications include resolution (e.g., 1920x1080 for Full HD), refresh rate (measured in Hz), and screen size (measured diagonally in inches).
  • Printer: Produces hard copy output on paper. Types include inkjet printers (spray ink droplets, good for photos), laser printers (use toner and laser beam, fast and sharp text), and dot matrix printers (impact printing, used for invoices and billing).
  • Speaker: Converts electrical signals into sound waves. Used for audio output including music, alerts, and voice. Headphones and earphones are personal audio output devices.
  • Projector: Projects the computer display onto a large screen or wall. Used in classrooms, meetings, and presentations.

Central Processing Unit (CPU)

The CPU is the most important component of a computer. It is called the brain of the computer because it executes all instructions and performs all calculations. The CPU is located on the motherboard inside a socket. Modern CPUs are built as a single integrated circuit called a microprocessor.

The CPU has three main components:

1. Arithmetic Logic Unit (ALU): Performs all arithmetic operations (addition, subtraction, multiplication, division) and logical operations (comparison, AND, OR, NOT). The ALU receives data from registers, processes it, and stores the result back in a register.

2. Control Unit (CU): Does not process data itself. Instead, it directs and coordinates the entire computer system. It fetches instructions from memory, decodes them, and controls the execution by sending signals to other components. The CU manages the fetch-decode-execute cycle.

3. Registers: Small, high-speed storage locations inside the CPU. They hold data that the CPU is currently processing. Common registers include:

  • Accumulator (AC): Stores intermediate results of calculations.
  • Memory Address Register (MAR): Holds the address of the memory location to be accessed.
  • Memory Data Register (MDR): Holds the data being transferred to or from memory.
  • Instruction Register (IR): Holds the current instruction being executed.
  • Program Counter (PC): Holds the address of the next instruction to be fetched.

The Fetch-Decode-Execute Cycle (Machine Cycle):

1. Fetch: The CU retrieves the next instruction from memory (address pointed to by the Program Counter) and places it in the Instruction Register. 2. Decode: The CU interprets the instruction to determine what operation to perform and what data is needed. 3. Execute: The ALU performs the operation, or data is moved between memory and registers as specified by the instruction. 4. Store: The result is written back to memory or a register.

This cycle repeats millions of times per second. The speed of the CPU is measured in clock speed (GHz). A 3 GHz CPU performs approximately 3 billion cycles per second.

Memory

Computer memory stores data, instructions, and results. Memory is classified into two main types: primary memory and secondary memory.

Primary Memory (Main Memory):

Primary memory is directly accessible by the CPU and is located on the motherboard. It is much faster than secondary storage but has limited capacity. Primary memory is of two types:

  • RAM (Random Access Memory): This is volatile memory — data is lost when the computer is turned off. RAM stores the operating system, application programs, and data currently being processed. Any byte of RAM can be accessed directly (randomly) without reading the preceding bytes, hence the name. Types of RAM include SRAM (Static RAM, faster and more expensive, used for cache) and DRAM (Dynamic RAM, slower and cheaper, used for main memory). Typical modern computers have 4 GB to 32 GB of RAM.
  • ROM (Read Only Memory): This is non-volatile memory — data is not lost when the computer is turned off. ROM stores permanent instructions such as the BIOS/UEFI firmware that boots the computer. Data in ROM can only be read, not written to (in most types). Types of ROM include PROM (Programmable ROM, written once), EPROM (Erasable Programmable ROM, erased with UV light), and EEPROM (Electrically Erasable Programmable ROM, erased electrically — used in flash memory).

Cache Memory:

Cache is a small, extremely fast memory located between the CPU and RAM. It stores frequently accessed data and instructions so the CPU does not have to wait for the slower RAM. Cache is organized in levels:

  • L1 Cache: Smallest (8-64 KB), fastest, located inside the CPU core.
  • L2 Cache: Larger (256 KB-1 MB), slightly slower, may be inside or outside the CPU core.
  • L3 Cache: Largest (2-64 MB), slowest cache level, shared across all CPU cores.

Secondary Memory (Secondary Storage):

Secondary memory is non-volatile and used for long-term storage. It has much larger capacity than primary memory but is significantly slower. The CPU cannot access secondary memory directly — data must first be loaded into RAM.

  • Hard Disk Drive (HDD): Uses magnetic platters to store data. Capacities range from 500 GB to several TB. Data is read/written by a magnetic head that moves across spinning platters. Relatively slow access time (5-10 ms) due to mechanical movement.
  • Solid State Drive (SSD): Uses flash memory (NAND) with no moving parts. Much faster than HDD (access time under 0.1 ms). More expensive per GB but increasingly common. Available in SATA and NVMe interfaces.
  • Optical Disc: CD (700 MB), DVD (4.7-8.5 GB), Blu-ray (25-50 GB). Uses laser to read/write data. Becoming less common with the rise of cloud storage and USB drives.
  • USB Flash Drive: Portable, plug-and-play storage using flash memory. Capacities from 2 GB to 2 TB. Connects via USB port.
  • Memory Card (SD Card): Small, portable flash memory card used in cameras, phones, and other devices.

Computer Software

Software is the set of instructions or programs that tell the hardware what to do. Without software, hardware is useless — like a car without a driver. Software is classified into three main categories.

System Software

System software manages the computer's hardware and provides a platform for application software. The user does not directly interact with system software for everyday tasks.

  • Operating System: The most important system software. Manages all hardware and software resources. Examples: Windows 11, macOS, Linux (Ubuntu, Fedora), Android, iOS.
  • Language Translators: Convert programming code into machine language that the CPU can execute. Types include:
  • Compiler: Translates the entire program at once into machine code. Examples: C compiler, Java compiler.
  • Interpreter: Translates and executes one line at a time. Examples: Python interpreter, JavaScript interpreter.
  • Assembler: Translates assembly language into machine code.
  • Device Drivers: Small programs that allow the operating system to communicate with hardware devices. Each device (printer, graphics card, network adapter) needs its own driver.

Application Software

Application software performs specific tasks for the user. These are the programs people use every day.

  • General Purpose Software: Can be used for a wide range of tasks. Examples:
  • Word processors (Microsoft Word, Google Docs)
  • Spreadsheets (Microsoft Excel, Google Sheets)
  • Presentation software (PowerPoint, Google Slides)
  • Database management systems (MySQL, PostgreSQL)
  • Web browsers (Chrome, Firefox, Safari)
  • Specific Purpose Software: Designed for a particular task or industry. Examples:
  • Accounting software (Tally, QuickBooks)
  • Payroll management systems
  • Inventory management systems
  • Reservation systems (railway, airline)
  • Computer Aided Design (CAD) software
  • Custom Software: Developed specifically for an organization to meet its unique requirements. Examples: banking software, hospital management systems, school ERP systems.

Utility Software

Utility software helps maintain and optimize the computer system. These are tools that keep the system running smoothly.

  • Antivirus Software: Detects and removes viruses, malware, and other threats. Examples: Windows Defender, Avast, Norton.
  • Disk Cleanup: Removes temporary files, cache, and other unnecessary data to free up disk space.
  • Disk Defragmenter: Reorganizes fragmented data on the hard disk so files are stored in contiguous blocks, improving access speed (relevant for HDD, not SSD).
  • File Compression: Reduces file size for storage and transfer. Examples: WinZip, 7-Zip.
  • Backup Software: Creates copies of data for recovery in case of data loss.

Input/Output Devices — Detailed Comparison

DeviceTypeFunctionExample Use
KeyboardInputEnters text and commandsTyping documents, entering data
MouseInputPoints, clicks, dragsNavigating GUI, selecting items
ScannerInputConverts documents to digitalDigitizing photos, scanning forms
MicrophoneInputCaptures audioVoice recording, video calls
WebcamInputCaptures videoVideo conferencing, streaming
TouchscreenInput + OutputTouch-based interactionSmartphones, ATMs, kiosks
MonitorOutputDisplays visual outputViewing documents, videos
PrinterOutputProduces hard copiesPrinting reports, photos
SpeakerOutputProduces audio outputListening to music, alerts
ProjectorOutputProjects display on large screenPresentations, classrooms

Memory Types — Comparison Table

FeatureRAMROMCacheHDDSSD
VolatilityVolatileNon-volatileVolatileNon-volatileNon-volatile
SpeedFastVery fast (read)FastestSlowFast
Capacity4-32 GB4-64 MB8 KB-64 MB500 GB-10 TB128 GB-4 TB
Cost per GBModerateLowVery highLowModerate
LocationMotherboardMotherboardInside CPUSeparate drive bayDrive bay or M.2 slot
Access TypeRead/WriteMostly ReadRead/WriteRead/WriteRead/Write
Data RetentionLost on power offRetainedLost on power offRetainedRetained
Primary UseRunning programsBoot firmwareSpeed up CPUBulk storageFast storage

Operating System

The operating system (OS) is the most critical system software. It acts as an intermediary between the user and the computer hardware. No computer can function without an operating system.

Functions of an Operating System

1. Process Management: Creates, schedules, and terminates processes. Allocates CPU time to each process using scheduling algorithms. Manages process states (new, ready, running, waiting, terminated). Handles multitasking — allowing multiple programs to run simultaneously.

2. Memory Management: Allocates and deallocates memory space to processes. Keeps track of which parts of memory are in use and by which process. Uses techniques like paging and segmentation to manage memory efficiently. Prevents one process from accessing another process's memory (memory protection).

3. File Management: Organizes files into directories (folders). Provides operations like create, delete, open, close, read, write, and rename files. Maintains file attributes (name, size, type, permissions, timestamps). Manages file access permissions and security.

4. Device Management: Manages all input/output devices through device drivers. Controls device allocation and deallocation. Handles device communication and data transfer. Manages device queues and buffering.

5. User Interface: Provides a way for users to interact with the computer. Two types:

  • Command Line Interface (CLI): User types text commands. Example: Linux terminal, Windows Command Prompt.
  • Graphical User Interface (GUI): User interacts through icons, menus, and windows. Example: Windows Desktop, macOS Finder.

6. Security and Access Control: Prevents unauthorized access to the system. Manages user accounts and passwords. Controls file permissions (read, write, execute). Provides firewall and encryption features.

7. Error Detection and Handling: Monitors the system for errors. Displays error messages to the user. Maintains error logs. Handles system crashes gracefully.

Types of Operating Systems

1. Batch Operating System: Users submit jobs (programs + data) to the operator. The OS groups similar jobs into batches and executes them one after another. No user interaction during execution. Example: early IBM mainframe systems. Advantage: efficient resource usage. Disadvantage: no interaction, long waiting time.

2. Interactive (Time-Sharing) Operating System: Multiple users can interact with the computer simultaneously. The CPU switches rapidly between users so each feels they have exclusive access. Each user gets a small time slice (quantum). Example: Unix, Linux. Advantage: quick response time. Disadvantage: reliability concerns with many users.

3. Real-Time Operating System: Used when strict time constraints exist. Must process data and produce results within a guaranteed time frame. Two types:

Examples: VxWorks, RTLinux.

  • Hard Real-Time: Missing a deadline causes system failure (airbag deployment, nuclear plant control).
  • Soft Real-Time: Missing a deadline degrades performance but does not cause failure (video streaming, online gaming).

4. Distributed Operating System: Multiple computers connected by a network work together as a single system. Resources are shared across the network. A single OS manages all nodes. Example: LOCUS, Amoeba. Advantage: resource sharing and fault tolerance. Disadvantage: network dependency and security concerns.

5. Embedded Operating System: Designed for embedded systems with limited resources (small memory, low power). Found in devices like washing machines, microwaves, digital watches, and car engine control units. Example: Embedded Linux, FreeRTOS. Advantage: compact and efficient. Disadvantage: limited functionality.

6. Mobile Operating System: Designed specifically for smartphones and tablets. Supports touch input, mobile apps, and wireless connectivity. Examples: Android (Google), iOS (Apple).

Number Systems — Brief Introduction

At the most fundamental level, computers process all data in binary (base 2) because electronic circuits have two states: ON (1) and OFF (0). Every piece of data — text, images, video, instructions — is ultimately represented as sequences of binary digits (bits). The binary number system is the foundation of all computing. Number systems are covered in detail in Chapter 2, but it is important to understand here that the entire computer system architecture is built on the binary system. A single bit can store 0 or 1. Eight bits form a byte, which can represent 256 different values (2^8). Modern computers process data in chunks of 32 or 64 bits at a time.


Common Mistakes Students Make

1. Confusing RAM and ROM: Students often mix up RAM (volatile, read/write, stores running programs) with ROM (non-volatile, read-only, stores boot firmware). Remember: RAM loses data when power is off; ROM retains it.

2. Calling the monitor the CPU: The monitor is an output device. The CPU is a chip on the motherboard inside the cabinet/tower. The box that contains the CPU is the system unit, not the CPU itself.

3. Confusing system software and application software: An operating system is system software, not application software. Application software runs ON TOP of the system software. If you need the OS to run it, it is application software.

4. Thinking cache is the same as RAM: Cache is much smaller and faster than RAM and is located inside or very close to the CPU. It stores only frequently used data. RAM stores all active programs and data.

5. Forgetting that ROM is non-volatile: Many students write that all primary memory is volatile. Only RAM is volatile. ROM is primary memory AND non-volatile. This distinction is important for exam questions.

6. Mixing up compiler and interpreter: A compiler translates the entire program at once and creates an executable file. An interpreter translates and executes one line at a time without creating a separate executable.

7. Confusing input and output devices: A touchscreen is both an input and output device. A scanner is only input. A printer is only output. Pay attention to devices that serve dual purposes.

8. Ignoring the fetch-decode-execute cycle: Students often forget the order. The correct sequence is Fetch (get instruction from memory), Decode (interpret the instruction), Execute (perform the operation), Store (save the result).


Exam Tips

1. Draw diagrams: The CPU structure diagram showing ALU, CU, and Registers with their connections is a frequently asked diagram question. Practice drawing it neatly with proper labels.

2. Use tables for comparisons: When asked to compare RAM vs ROM, HDD vs SSD, or types of OS, present your answer in a table format. Examiners find tables easier to evaluate and you are less likely to miss points.

3. Define terms before explaining: Always start with a one-line definition, then elaborate. For example: "An operating system is system software that manages hardware and software resources. It performs the following functions: (1) Process management..."

4. Remember the memory hierarchy: Cache is fastest and smallest, then RAM, then SSD, then HDD is slowest and largest. Questions often ask you to arrange memory types by speed or capacity. Draw the hierarchy pyramid.

5. Know the differences clearly: Prepare comparison tables for these pairs: RAM vs ROM, Compiler vs Interpreter, System Software vs Application Software, HDD vs SSD, CLI vs GUI. These are very common exam questions.

6. Cover all functions of OS: When asked about OS functions, list at least 5-6 functions. Many students list only 2-3 and lose marks. The key functions are: process management, memory management, file management, device management, user interface, security, and error handling.

7. Give examples for everything: When you mention a type of software or hardware, always give 2-3 real examples. For instance, do not just say "antivirus software" — say "antivirus software like Windows Defender, Avast, or Norton."

8. Understand real-time OS types: Be clear about the difference between hard real-time and soft real-time systems. This is a specific, testable distinction that examiners love to ask about.


Quick Revision Notes

  • A computer system consists of hardware (physical parts) and software (programs/instructions).
  • Input devices send data into the computer: keyboard, mouse, scanner, microphone, webcam.
  • Output devices present data to the user: monitor, printer, speaker, projector.
  • The CPU is the brain of the computer with three parts: ALU (calculations), CU (control), Registers (temporary storage).
  • The fetch-decode-execute cycle is how the CPU processes instructions: Fetch, Decode, Execute, Store.
  • RAM is volatile primary memory for running programs; ROM is non-volatile primary memory for boot firmware.
  • Cache is the fastest memory, located near/inside the CPU, storing frequently used data in L1, L2, and L3 levels.
  • Secondary storage (HDD, SSD) is non-volatile, high-capacity, slower than primary memory.
  • HDD uses magnetic platters; SSD uses flash memory with no moving parts and is faster.
  • System software manages the computer: OS, language translators, device drivers.
  • Application software does user tasks: word processors, browsers, spreadsheets.
  • Utility software maintains the system: antivirus, disk cleanup, defragmenter, backup tools.
  • Operating system manages processes, memory, files, devices, provides user interface and security.
  • Types of OS: batch, interactive/time-sharing, real-time (hard and soft), distributed, embedded, mobile.
  • CLI uses text commands; GUI uses icons and windows.
  • A compiler translates entire programs at once; an interpreter translates line by line.
  • Computers use the binary number system (base 2) because circuits have two states: ON and OFF.
  • Buses carry data, addresses, and control signals between CPU, memory, and peripherals.
  • Touchscreen is both an input and output device — do not forget this in exams.
  • Always start answers with a definition, then elaborate with functions, types, and examples.

Frequently Asked Questions

Hardware refers to the physical components of a computer (CPU, monitor, keyboard), while software is the set of instructions that tells the hardware what to do.

Related Notes