📌 Snapshot
- How a computer turns input into output: CPU, memory types, storage, software and the FOSS split explained.
- Why RAM forgets, ROM remembers and cache sits in between, with a speed ladder you can recite in the exam.
- The timeline from the abacus to the microprocessor, and what each invention added that the last one lacked.
- System, programming and application software compared, plus the traps in FOSS, freeware and proprietary questions.
📖 Detailed Notes
Written and reviewed by Rohit Singh, Computer Science & Commerce faculty at UniDrill (MCA, Osmania University · 6 years teaching). Based on NCERT Informatics Practices Class XI, Chapter 1.
What happens when you press a key?
You tap the letter "A". A fraction of a second later it appears on the screen, and a copy of it sits somewhere that vanishes if the power cuts out. In that instant, at least five different parts of the machine took part: one converted your key press into binary, one held it temporarily, one decided what to do with it, one calculated, and one displayed the result. This chapter names those parts, explains why a computer needs several kinds of memory instead of one big one, and then looks at the software that tells the hardware what to do.
The computer system: four parts working as one
A computer is an electronic device that can be programmed to accept data (input), process it and give a result (output). A computer together with its additional hardware and software is a computer system. It can be anything from a large server to a laptop, tablet or smartphone.
The physical parts, called hardware, are the CPU, the primary memory, the input devices and the output devices (with secondary storage kept alongside). Software is the other half, and the chapter ends with it.
The flow in one line: input device → primary memory ↔ CPU (CU + ALU + registers) → output device, with secondary storage attached to memory for permanent keeping.
| Part | Job in one line | Examples |
|---|---|---|
| Input device | Converts what you give into digital form | Keyboard, mouse, scanner, touch screen, braille keyboard, voice input |
| CPU | Fetches, decodes and executes instructions | Processor, microprocessor |
| Primary memory | Holds the program and data the CPU is using right now | RAM, ROM, cache |
| Secondary memory | Keeps data permanently | HDD, SSD, CD/DVD, memory card, pen drive |
| Output device | Converts digital results into a human-readable form | Monitor, projector, speaker, headphone, printer, 3D printer, braille display |
Inside the CPU: ALU, CU and registers
The CPU is the electronic circuitry that carries out the actual processing, which is why it is called the brain of the computer. It is also called the processor, and a CPU built on a single chip is a microprocessor. Physically it sits on one or more chips called integrated circuits (IC), made of semiconductor material.
The CPU works in a cycle. A program tells it what to do, it fetches the instructions and data from memory, performs arithmetic and logical operations, and stores the result back in memory.
| Component | What it does | Remember it as |
|---|---|---|
| ALU (Arithmetic Logic Unit) | Carries out every arithmetic and logic operation the instruction asks for | The calculator |
| CU (Control Unit) | Controls the order of instruction execution, interprets instructions and guides data flow between memory, ALU and the input/output devices | The traffic police |
| Registers | Very small, very fast memory inside the CPU chip for data, instructions and intermediate results | The CPU's scratch pad |
Why registers exist. Registers are limited in size and number, but they are inside the CPU, so reaching them costs almost no time. The CPU keeps what it needs this instant in registers, which is exactly why they sit at the top of the speed ladder later in this chapter.
Pause and predict: a student says "the ALU decides which instruction runs next". Which unit actually does that job?
Check your answer: the Control Unit. The ALU only computes (add, compare, AND, OR). Deciding the sequence, interpreting the instruction and directing the data flow is the CU's job.
Input and output devices
An input device sends control signals and data into the computer and converts them into digital form. An output device takes digital information from the computer and converts it into a form people can understand.
Special devices make computing accessible: a braille keyboard lets a visually impaired user enter data, and a braille display shows text output to them. Voice search is another input route. Data you type is first held in main memory (RAM), and only stored permanently if you save it to secondary memory.
| Printer type | Typical use |
|---|---|
| Inkjet | Home and office colour and text printing |
| Laserjet | Fast, sharp text printing in offices |
| Dot matrix | Impact printing, used for multi-part bills |
| 3D printer | Builds a physical replica of a digital 3D design, used to make prototypes in industry |
Why it matters. A printer is the most common device for hardcopy (paper output). A document saved on a hard disk or pen drive is a softcopy; print it and it becomes a hardcopy.
Evolution of computers: each invention fixed a limit
Computing grew from simple calculators to powerful data processors in a short time. Read the timeline as a chain of problems and fixes.
| Year | Invention | Who / what | Why it mattered |
|---|---|---|---|
| About 500 BC | Abacus | A mechanical device | Simple arithmetic only |
| 1642 | Pascaline | Blaise Pascal | Mechanical calculator: addition and subtraction directly, multiplication and division by repeated addition or subtraction |
| 1834 | Analytical Engine | Charles Babbage | Mechanical device for input, processing, storing and displaying output; the basis of modern computers |
| 1890 | Tabulating Machine | Herman Hollerith | Summarised data stored on punched cards; the first step towards programming |
| 1937 | Turing Machine | Alan Turing's concept | General purpose programmable machine that could solve any problem by executing a stored program |
| 1945 | EDVAC / ENIAC | John Von Neumann's stored program concept | Computers that store data and program in memory |
| 1947 | Transistor | Bell Labs | Replaced vacuum tubes, using semiconductor material |
| 1970 | Integrated Circuit | Silicon chip holding a whole circuit in a tiny area | Drastically reduced computer size |
A punched card is a piece of stiff paper that stores digital data as holes at fixed positions.
Von Neumann architecture. It has a CPU for arithmetic and logic, a memory that stores both data and programs, input and output devices, and communication channels between them. ENIAC is the first binary programmable computer based on this architecture.
Beyond the textbook. For the exam: ENIAC is the computer built on the Von Neumann stored program idea, and the timeline dates above are what get asked. In reality: the modern phone in your hand still follows the same layout of processor, memory and input/output, just shrunk onto chips. Only the scale changed, not the idea.
From chips to your pocket. In the 1970s, Large Scale Integration (LSI) put a complete CPU on one chip, the microprocessor. In the 1980s Very Large Scale Integration (VLSI) packed around 3 million components onto a chip, and Super Large Scale Integration (SLSI) pushed density higher still. IBM introduced its first personal computer for home users in 1981, and Apple introduced Macintosh in 1984. Graphical User Interface (GUI) operating systems replaced the command line interface of UNIX or DOS and made PCs popular, and the growth of the World Wide Web in the 1990s made computers part of everyday life. Laptops, smartphones and tablets followed, and the next wave is wearables such as smart watches and smart lenses, plus smart appliances in the Internet of Things (IoT).
Moore's Law. In 1965 Intel co-founder Gordon Moore predicted that the number of transistors on a chip would double every two years while costs would be halved. This is why a phone today outperforms a room-sized machine of the past.
Beyond the textbook. For the exam: Moore's Law says transistor count doubles every two years. In reality: it is an observation about the industry's trend, not a law of physics, and chip makers now find it harder to keep shrinking transistors, so the pace has slowed. Why it matters: it explains why newer devices are cheaper and faster, and why engineers now also add more processor cores instead of only shrinking parts.
Units of memory
A computer works in binary, so the basic unit of memory is the bit, a single 0 or 1. Bits are grouped into words. A 4-bit word is a nibble (for example 1001) and an 8-bit word, two nibbles, is a byte (for example 01000110).
| Unit | Equals |
|---|---|
| 1 Kilobyte (KB) | 1024 bytes |
| 1 Megabyte (MB) | 1024 KB |
| 1 Gigabyte (GB) | 1024 MB |
| 1 Terabyte (TB) | 1024 GB |
| 1 Petabyte (PB) | 1024 TB |
| 1 Exabyte (EB) | 1024 PB |
| 1 Zettabyte (ZB) | 1024 EB |
| 1 Yottabyte (YB) | 1024 ZB |
Why 1024 and not 1000? Memory is built from binary switches, so sizes come in powers of 2, and $2^{10} = 1024$ is the power of 2 closest to 1000. Every step up the table multiplies by $2^{10}$.
Worked example: converting to bytes. Convert 2 MB, 3.7 GB and 1.2 TB into bytes.
| Step | What we do | Result |
|---|---|---|
| 1 | Decide the path. Each unit is 1024 times the one below, so go down one step at a time | MB → KB → bytes |
| 2 | 2 MB | $2 \times 1024 \times 1024 = 2097152$ bytes |
| 3 | 3.7 GB: three steps down | $3.7 \times 1024^3 = 3.7 \times 1073741824 \approx 3972844749$ bytes |
| 4 | 1.2 TB: four steps down | $1.2 \times 1024^4 = 1.2 \times 1099511627776 \approx 1319413953331$ bytes |
The common wrong step is to multiply by 1000 each time, which gives 2000000 bytes for 2 MB. That is the decimal shortcut used by some storage sellers, not the binary 1024 the chapter uses.
Beyond the textbook. For the exam: 1 KB = 1024 bytes, always. In reality: disk makers often label 1 GB as one billion bytes, so a drive sold as 500 GB shows up as a smaller number in the operating system. A separate set of names (kibibyte, mebibyte and so on) exists to mean exactly 1024 steps. Why it matters: if a question says "as per the binary system", the factor is 1024.
Types of memory
A computer needs memory to hold data and instructions while it processes them. When people say "memory" they usually mean the main or primary memory. Secondary memory (the storage device) holds data, instructions and results permanently for future use.
Why not one big memory? Fast memory is expensive and loses data when power goes. Cheap, permanent memory is slow. So computers use layers: a little very fast memory near the CPU and a lot of slow permanent memory far away.
RAM (Random Access Memory) is the main memory. It is volatile: it keeps data only while power is supplied. Whenever the computer starts or you open an application, the required program and data are loaded into RAM. It is faster than secondary storage.
ROM (Read Only Memory) is non-volatile: contents stay when power is off. It is a small, faster permanent store for contents that rarely change, such as the boot loader, the startup program that loads the operating system into RAM.
Cache memory is very high speed memory placed between the CPU and primary memory. RAM is faster than storage but not as fast as the processor, so the CPU would have to wait. Cache keeps copies of data from frequently used RAM locations, reducing the average time to access data. The CPU looks in the cache first. If the data is there, it is read from the cache (a cache hit), otherwise RAM is accessed.
Secondary memory is non-volatile, larger than primary memory, slower and cheaper. The CPU cannot access it directly: contents must first be brought into main memory.
| Feature | Registers | Cache | RAM | ROM | Secondary memory |
|---|---|---|---|---|---|
| Location | Inside the CPU | Between CPU and RAM | Primary memory | Primary memory | Outside, accessed through RAM |
| Volatile? | Yes | Yes | Yes | No | No |
| Relative speed | Fastest | Very fast | Fast | Fast, read only | Slowest |
| Typical content | Current data, instructions, intermediate results | Copies of frequently used RAM data | Running programs and their data | Boot loader | Files, programs, results |
| Examples | — | — | — | — | HDD, SSD, CD/DVD, memory card, pen drive |
The speed ladder, fastest to slowest: registers → cache → RAM → secondary memory.
Pause and predict: you buy a computer with RAM but no secondary storage. Can you install a software on it?
Check your answer: no. Installing means storing the software permanently, and RAM loses everything when power goes off. Without a secondary storage device there is nowhere for the installed files to live, so every start would begin empty.
Beyond the textbook. For the exam: there is one cache between the CPU and primary memory. In reality: modern processors have several cache levels (commonly called L1, L2 and L3), with the smallest and fastest one closest to the processing core. Why it matters: the idea is unchanged. A small fast store near the processor holds copies of whatever is used most.
HDD vs SSD. The Hard Disk Drive (HDD) was the standard storage device. The Solid-State Drive (SSD) supports a much higher data transfer speed. Pen drives and flash drives make transfer between computers simple.
Data capturing, storage and retrieval
Before a computer can process data, it must be captured, then stored in a file or database, and retrieved whenever it is needed again.
| Stage | What it means | Example or challenge |
|---|---|---|
| Data capturing | Gathering data from different sources in digital form | Keyboard, barcode readers at shops, remote sensors, satellites, comments and posts on social media. Different sources make it complex |
| Data storage | Storing captured data for later processing | Data grows fast, so storage must be upgraded. Large organisations use data servers, which are costly to set up and maintain |
| Data retrieval | Fetching data from storage for processing | As databases grow, searching takes longer, so minimising data access time is crucial |
Data deletion and recovery
Data can be lost because a device crashes, a user deletes it by mistake, or malware or a hacker deletes it on purpose. Deleting data bit by bit is slow, so when you delete a file the system simply marks its address entry as free and shows the space as empty. The actual data is still there until something is written over it.
That leads to two facts. Recovery is possible only if the space has not been overwritten. And data recovery means retrieving deleted, corrupted or lost data from secondary storage.
| Security concern | Why it happens | Protection |
|---|---|---|
| Unauthorised deletion or modification | Another person or software gets access | Limit access, use passwords for user accounts and files, encrypt files |
| Unwanted recovery | Old or broken storage devices are thrown away with data still on them | Use proper tools to delete or shred data before disposing of the device |
Why it matters. Think of deleting as tearing out a library's index card but leaving the book on the shelf. Anyone who knows where to look can still read it. Only overwriting, or shredding, removes the book.
Beyond the textbook. For the exam: a deleted file can be recovered until its space is overwritten. In reality: on many modern SSDs a command called TRIM lets the drive clear freed blocks in the background, so recovery of deleted files is often less likely than on an old hard disk. Why it matters: never rely on "delete" for confidential data, whatever the drive. Use a data shredding tool before disposal.
Software
Software is a set of instructions and data that makes hardware functional. You cannot touch or view it physically. Hardware is of no use alone, and software cannot work without hardware. Software also acts as an interface between the user and the hardware, because we cannot instruct hardware directly.
Software has three broad categories:
| Category | Purpose | Examples |
|---|---|---|
| System software | Gives the basic functionality to operate the computer by interacting directly with hardware | Operating system, system utilities, device drivers |
| Programming tools | Help programmers write and translate programs | Compiler, assembler, text editor for code |
| Application software | Works on top of system software to meet end user needs | Word processor, spreadsheet, browser, school management software |
System software, in three parts.
| Type | Role | Examples |
|---|---|---|
| Operating system | The most basic system software; without it other software cannot work. It manages application programs and provides access and security to users | Windows, Linux, Macintosh, Ubuntu, Fedora, Android, iOS |
| System utility | Maintenance and configuration of the system. Some ship with the OS, others improve performance | Disk defragmentation, formatting and system restore tools (with the OS); anti-virus, disk cleaner, disk compression (separate) |
| Device driver | Controls one particular device at the hardware level and acts as an interface between that device and the OS, hiding hardware details | Printer driver, graphics driver |
Why device drivers exist. New devices appear every day, each with its own behaviour. The operating system cannot know them all, so the job of controlling one device is handed to that device's driver, which acts like a translator between the OS and the device.
Application software has two kinds:
| Feature | General purpose software | Customised software |
|---|---|---|
| Built for | A large audience | One organisation or individual |
| Availability | Ready made | Tailor made to special requirements |
| Examples | LibreOffice Calc, Adobe Photoshop, GIMP, Mozilla web browser, iTunes | Websites, school management software, accounting software |
| Everyday picture | Buying a ready made shirt | Buying cloth and getting it stitched to your size |
Pause and predict: your computer has no word processing software installed. Can you still use the computer? What if it has no operating system?
Check your answer: yes in the first case, no in the second. A computer can work without application software, but it cannot work without system software.
Proprietary, freeware and FOSS
Software is also classified by the terms on which its maker releases it.
| Type | Cost | Source code | Examples |
|---|---|---|---|
| FOSS (Free and Open Source Software) | Free to use | Freely available, so anyone with the knowledge can improve it | Ubuntu, Python, LibreOffice, OpenOffice, Mozilla Firefox |
| Freeware | Free to use | Not available | Skype, Adobe Reader |
| Proprietary software | Must be purchased from the vendor who holds the copyright | Not available | Microsoft Windows, Tally, Quickheal |
A software can be freeware, open source or proprietary depending on the terms and conditions of the person or group that developed and released it.
Worked example: classify the software. For each item, say whether it is system software, programming tool or application software: (a) Compiler, (b) Assembler, (c) Ubuntu, (d) text editor used for code.
| Step | What we do | Result |
|---|---|---|
| 1 | Ask: does it operate the hardware or manage other programs? | Ubuntu is an operating system, so it is system software |
| 2 | Ask: does it help a programmer translate or write a program? | A compiler and an assembler translate programs, so both are programming tools |
| 3 | A text editor used to write code is a tool in the programmer's kit | Programming tool |
| 4 | Common wrong step: calling a compiler "system software" because it sounds technical | Technical does not mean system software. The test is the purpose |
Exam traps
| The trap | Why it's tempting | The truth |
|---|---|---|
| "RAM keeps data when power is off." | Both RAM and ROM are primary memory | RAM is volatile. ROM is non-volatile |
| "The CPU reads directly from the hard disk." | A file seems to open instantly | Secondary memory is not directly accessible. Contents go to RAM first |
| "Cache is placed between RAM and the hard disk." | Cache sounds like a buffer for storage | Cache sits between the CPU and primary memory |
| "Cache is slower than RAM." | Cache is smaller, so it looks weaker | Cache is faster than RAM, and registers are faster than cache |
| "1 KB = 1000 bytes." | Everyday kilo means 1000 | In this chapter 1 KB = 1024 bytes |
| "Deleting a file erases its bits." | The space looks empty | Only the address entry is marked free. Data stays until overwritten |
| "Ubuntu and Adobe Reader are both FOSS." | Both are free of cost | Ubuntu is FOSS. Adobe Reader is freeware with no source code |
| "Android is only application software." | Phones feel like they run apps | Android is an operating system, so it is system software |
60-second revision
| Topic | Lock this in |
|---|---|
| Computer system | CPU, primary memory, input device, output device, plus secondary storage and software |
| CPU parts | ALU computes · CU controls and directs · registers hold current data |
| Speed ladder | Registers → cache → RAM → secondary memory |
| RAM / ROM | RAM volatile, working memory · ROM non-volatile, holds boot loader |
| Secondary memory | Non-volatile, larger, slower, cheaper, not directly accessible by the CPU |
| Units | Bit → nibble (4) → byte (8) → KB → MB → GB → TB, each step ×1024 |
| Timeline | Abacus → Pascaline 1642 → Analytical Engine 1834 → Hollerith 1890 → Turing 1937 → EDVAC/ENIAC 1945 → Transistor 1947 → IC 1970 |
| PC milestones | IBM PC 1981 · Macintosh 1984 · WWW in the 1990s |
| Moore's Law | 1965 · transistors double every two years |
| Data stages | Capture → store → retrieve; delete only marks space free |
| Software | System (OS, utilities, drivers) · programming tools · application (general, customised) |
| Licences | FOSS: free plus source · freeware: free, no source · proprietary: buy |
Where this chapter connects
- Next: Emerging Trends builds on this chapter's hardware vocabulary to explain AI, cloud and the Internet of Things.
- Same course: Understanding Data picks up the capture, storage and retrieval story and asks what to do with the data once you have it.
- Python link: Brief Overview of Python uses a language that is itself FOSS, and its interpreter is a programming tool of the kind this chapter classified.
🎯 Practice MCQs
First 3 questions free · create a free account to unlock the rest — answers & explanations included, no payment needed
Q1. Which part of the CPU controls the sequence of instruction execution and guides the flow of data between memory, the ALU and input or output devices?
▸ Show answer & explanation
Answer: B
The Control Unit interprets instructions and directs data flow. The ALU only performs arithmetic and logic operations, a register is small fast storage inside the CPU, and cache sits between the CPU and primary memory.
Q2. Consider the statements. (i) RAM is volatile. (ii) ROM stores the boot loader. (iii) RAM is slower than secondary memory. (iv) Contents of ROM are freely rewritten during normal use. Which are correct?
▸ Show answer & explanation
Answer: A
RAM loses its contents without power and ROM holds the startup program. Statement (iii) is wrong because RAM is faster than secondary memory, and (iv) is wrong because ROM holds rarely changed contents and is read only in normal use.
Q3. Match List I with List II. List I: (i) Pascaline (ii) Analytical Engine (iii) Transistor (iv) Tabulating Machine. List II: (p) Hollerith (q) 1642 (r) Babbage (s) 1947
▸ Show answer & explanation
Answer: A
Pascaline is from 1642, the Analytical Engine was invented by Charles Babbage, the transistor came from Bell Labs in 1947, and Herman Hollerith designed the tabulating machine. The other options mismatch at least two pairs.
🔒 12 more practice MCQs
Create a free account to unlock every MCQ in this chapter — answers and explanations included. No payment needed.
Already registered? Just log in and they'll all appear here.
Q4. Which of the following is Free and Open Source Software?
▸ Show answer & explanation
Answer: D
LibreOffice has freely available source code. Windows is proprietary, while Adobe Reader and Skype are freeware, which is free to use but without source code.
Q5. Assertion (A): A computer can work without application software but not without system software. Reason (R): Application software works on top of system software.
▸ Show answer & explanation
Answer: A
System software is the base layer that operates the hardware. Application software depends on it, so without system software nothing else can run. That dependency explains the assertion.
Q6. Memory X lies between the CPU and primary memory. Memory Y loses its data when power is switched off. Memory Z is non-volatile and cannot be accessed directly by the CPU. Memory W is non-volatile and stores the boot loader. Identify X, Y, Z and W.
▸ Show answer & explanation
Answer: A
Cache sits between CPU and primary memory, RAM is volatile, secondary memory is non-volatile and not directly accessible, and ROM holds the boot loader. In options B, C and D a volatile memory is assigned a non-volatile role or the position of cache is wrong.
Q7. The correct order of memory from fastest to slowest is:
▸ Show answer & explanation
Answer: B
Registers are inside the CPU and fastest, then cache, then RAM, and secondary storage is slowest. The other orders put RAM or secondary memory above the memory closer to the CPU.
Q8. Which of the following is NOT a primary memory?
▸ Show answer & explanation
Answer: D
An SSD is a secondary storage device. RAM and ROM are the two types of primary memory, and cache is a very high speed memory placed with it between the CPU and main memory.
Q9. Who invented the Analytical Engine, considered the basis of modern computers?
▸ Show answer & explanation
Answer: B
Charles Babbage invented the Analytical Engine in 1834. Pascal built the Pascaline, Hollerith designed the tabulating machine and Von Neumann introduced the stored program concept.
Q10. A file of size 2 MB is stored. How many bytes is this, using the binary measurement units of the chapter?
▸ Show answer & explanation
Answer: C
2 MB is 2 times 1024 times 1024 which is 2097152 bytes. Option A uses 1000 at each step, option B mixes 1000 and 1024, and option D is only the KB conversion with 1000.
Q11. Which of the following is an example of customised software?
▸ Show answer & explanation
Answer: C
Customised software is tailor made for a specific organisation. The other three are ready made, general purpose applications meant for a wide audience.
Q12. Which of the following is an operating system and also FOSS?
▸ Show answer & explanation
Answer: B
Ubuntu is an operating system whose source code is freely accessible. Windows is a proprietary OS, Tally is proprietary application software and Skype is freeware.
Q13. Assertion (A): Cache memory makes the CPU faster at reading data. Reason (R): Cache stores copies of frequently accessed primary memory locations.
▸ Show answer & explanation
Answer: A
The CPU checks the cache first, and frequently used data found there is read without going to the slower RAM. The reason therefore directly explains why the average access time falls.
Q14. When a file is deleted from a storage device in the usual way, what happens?
▸ Show answer & explanation
Answer: B
Erasing every bit is time consuming, so the system only marks the space as free. This is why recovery is possible until new data overwrites the space. Options C and D describe things that do not happen.
Q15. Which one of the following is a device driver's role?
▸ Show answer & explanation
Answer: B
A device driver controls a specific device at the hardware level and hides the hardware detail from the OS. Option A is the role of ROM, option C is the role of the ALU, and option D describes general purpose application software.
📊 Previous-Year Questions
Practise with real CUET Computer Science previous-year papers — every question solved, with the correct answer and a step-by-step explanation.
View solved CUET PYQ papers →Ready to drill Computer Science?
Unlock all MCQs, chapter tests, mocks & PYQs for ₹199/year.
Get UniDrill Pro