CHAPTER 1

πŸ’» Computer Fundamentals

The absolute basics: what a computer is, where it came from, what's inside it, and how it keeps your files organized. Start here β€” everything else builds on this.

1.1What is a computer?

Definition

A computer is an electronic machine that accepts data as input, processes it according to a set of stored instructions, and produces output β€” and does all of this very, very fast.

Think of it like a momo shop. You give the cook your order (input), they follow a recipe (stored program), they actually make the momos (processing), and you get a plate (output). A computer is the same loop β€” just running on electricity instead of dalle chutney.

History β€” quick tour

Generations of computers

GenYearsMain techVibe
1st1940–56Vacuum tubesHuge, hot, fragile
2nd1956–63TransistorsSmaller, cooler, faster
3rd1964–71Integrated Circuits (ICs)Keyboards, OS, monitors arrive
4th1971–presentMicroprocessorsPersonal computers, GUIs
5thpresent–futureAI, parallel, quantumSpeak, see, reason

Characteristics

Types of computers

Applications

1.2Overview of a computer system

1.2.1 Data and data processing

Data = raw, unorganized facts (numbers, names, dates). Information = data after it's been processed into something useful. Data processing is the conversion: Input β†’ Process β†’ Output.

Think of it like tea leaves. Loose leaves in a packet = data. Boiled with milk, sugar and cardamom = information (a cup of chiya you can actually enjoy). The act of boiling and mixing = processing.

1.2.2 Hardware

Hardware is every physical part of a computer β€” anything you can touch. It has three jobs: take input, process it, give output (plus store stuff).

Input Unit

Devices that send data into the computer.

CPU β€” Central Processing Unit

The "brain." It has three sub-parts:

Output Unit

Devices that show you the result.

Storage devices

Memory is split into two big families:

RAM vs hard disk = kitchen counter vs pantry. RAM is the small counter where you're actually cooking right now β€” fast to reach, but empties when you leave. The hard disk is the pantry at the back β€” holds everything, but you have to walk there to fetch an ingredient.
FeatureRAM (primary)Hard disk / SSD (secondary)
SpeedVery fastSlower
Size4–32 GB typically256 GB – 2 TB+
Volatile?Yes (empties when power off)No (keeps data)
Cost per GBHighLow

RAM vs ROM

Cache memory

A tiny, ultra-fast memory sitting between CPU and RAM. Stores the things the CPU uses most often.

Cache = keeping the TV remote on the sofa arm. You could put it back in the cupboard every time, but since you use it every 2 minutes, keeping it within arm's reach saves 1000 trips a day.

1.2.3 Software

Software = a set of instructions (programs) that tell hardware what to do. Hardware without software is a paperweight.

Types of software

OS = momo-shop manager. Applications = the customers walking in. The manager (OS) decides who gets the stove, who sits where, who pays first. Customers (apps like Word or Chrome) just want their work done β€” they don't care how.

Programming language & its types

A programming language is the language humans use to write instructions for a computer.

Compiler = translating a whole book into Nepali, then handing it over. Interpreter = a live translator repeating each sentence as it's spoken. Compiler is faster for long runs; interpreter is better when you're still editing.

1.3Concept of Multimedia

Multimedia = combining multiple media forms β€” text, graphics, audio, video, animation β€” in one computer program.

A textbook = one medium. YouTube = multimedia. Same information, but suddenly you actually finish watching it.

Elements of multimedia

Uses

1.4File Management

1.4.1 Physical structure of the disk

A hard disk is made of stacked circular plates (platters) with magnetic surfaces. Data is stored on concentric circles called tracks, each split into sectors. Same-position tracks across all platters together form a cylinder. A moving arm with a read/write head reads the magnetic bits.

Think of an LP record. Tracks = the grooves. Sectors = slices of pie you cut the disc into. The read/write head = the needle that reads whichever groove-slice you point it at.

SSDs (solid-state drives) have no moving parts β€” they store data in flash chips instead of spinning platters. Much faster, no seek time.

1.4.2 File and folder

Files = documents. Folders = almirah drawers. Nothing stops you from tossing every file into one folder, just like nothing stops you from dumping your entire wardrobe on one chair. But good luck finding anything next week.

1.4.3 Types of files and file extensions

CategoryExamples
Text / Documents.txt, .doc, .docx, .pdf, .rtf
Spreadsheet.xls, .xlsx, .csv
Presentation.ppt, .pptx
Image.jpg, .jpeg, .png, .gif, .bmp, .svg
Audio.mp3, .wav, .aac, .flac
Video.mp4, .avi, .mkv, .mov
Compressed.zip, .rar, .7z
Executable.exe, .msi, .apk
Web.html, .css, .js
Code.c, .cpp, .py, .java

Tip: the part after the last dot in a filename is the extension. It tells Windows/Linux which app should open it.

Ready for MCQs?

Gemini will write 10 fresh questions from this chapter's syllabus. Hit "Generate more" for another round.

Back to Home