



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




A computer is an electronic device that accepts data as input, processes it according to instructions, stores data/information, and produces useful information as output.
Basic working: Input โ Processing โ Output โ Storage
Example: You enter marks of 5 subjects โ the computer calculates the total โ displays the result โ stores it.
Data: Raw facts and figures that may not be meaningful by themselves. Example: 80, 75, 90.
Information: Processed and meaningful data. Example: Average marks = 81.67.
Speed: Performs a very large number of operations in a short time.
Accuracy: Produces accurate results when the input and instructions are correct.
Diligence: Can repeat tasks without getting tired or bored.
Storage: Can store large amounts of data and retrieve it when required.
Versatility: Can perform many different types of tasks.
Automation: Can perform tasks automatically after receiving instructions and data.
Reliability: Performs repetitive operations consistently.
GIGO: Garbage In, Garbage Out โ incorrect input or instructions can produce incorrect output.
A computer system mainly consists of Hardware + Software + Users.
Hardware: Physical parts that can be seen and touched, such as keyboard, monitor, CPU, RAM and printer.
Software: Programs/instructions that tell the computer what to do, such as Windows, Linux, Python and web browsers.
The major functional units are: Input Unit, CPU, Memory/Storage Unit, and Output Unit.
Input Unit: Accepts data and instructions from the user and sends them for processing.
CPU: Performs processing and controls computer operations.
Memory: Stores data, instructions, programs and results.
Output Unit: Presents processed results to the user.
Examples include keyboard, mouse, scanner, microphone, webcam, touchscreen, joystick and barcode reader.
The input unit accepts data, converts it into a form the computer can process, and sends it to memory/CPU.
Examples include monitor, printer, speakers, projector and headphones.
Soft copy: Electronic output such as information displayed on a monitor or played as audio.
Hard copy: Physical output, such as a printed document.
The CPU is commonly called the brain of the computer because it performs processing and controls operations.
Its major parts are ALU, Control Unit (CU), and Registers.
The ALU performs arithmetic operations such as addition, subtraction, multiplication and division.
It also performs logical operations such as comparisons (>, <, =) and logical operations such as AND, OR and NOT.
Remember: ALU = Arithmetic + Logic.
The Control Unit controls and coordinates the activities of the computer.
It fetches instructions, decodes them, controls their execution, and coordinates different components.
Registers are very small and very fast storage locations inside the CPU. They temporarily hold data, instructions, addresses and intermediate results.
Program Counter (PC): Stores the address of the next instruction to be executed.
Instruction Register (IR): Holds the current instruction being executed.
Memory Address Register (MAR): Holds the address of the memory location being accessed.
Memory Data Register (MDR): Holds data being transferred to or from memory.
Accumulator (ACC): Holds intermediate arithmetic/logic results in systems that use an accumulator.
Memory stores data, instructions, programs and results.
It is broadly divided into Primary Memory and Secondary Memory.
Primary memory is directly accessible by the CPU. Important examples are RAM, ROM and Cache memory.
RAM is the main working memory of a computer.
It stores programs and data currently being used.
Characteristics: volatile, read/write, and faster than secondary storage.
When power is switched off, the contents of RAM are normally lost.
ROM is non-volatile memory that retains information without power.
It is used for persistent instructions such as firmware/start-up instructions.
Computers ultimately execute instructions in machine language. Translators convert programs written in other programming languages into a form the computer can execute.
Compiler: Translates a complete program before execution and produces object/executable code depending on the system.
Interpreter: Translates and executes statements one by one.
Assembler: Converts assembly language into machine language.
Compiler: Translates the program as a whole; errors are generally reported after compilation; compiled execution can be faster.
Interpreter: Translates/executes statement by statement; errors are encountered during interpretation; execution is generally slower.
Booting is the process of starting a computer and loading the operating system into memory.
Cold boot: Starting from a powered-off state.
Warm boot: Restarting an already running computer.
Q1. What is a computer?
A computer is an electronic device that accepts data, processes it according to instructions, stores it, and produces information.
Q2. What is hardware?
The physical components of a computer are called hardware.
Q3. What is software?
Software is a collection of programs/instructions used to operate a computer and perform tasks.
Q4. What is ALU?
ALU stands for Arithmetic Logic Unit. It performs arithmetic and logical operations.
Q5. What is RAM?
RAM is volatile primary memory used to store data and programs currently being used.
Q6. What is ROM?
ROM is non-volatile memory that stores persistent instructions such as firmware.
Q7. What is an operating system?
An operating system is system software that manages hardware/software resources and provides an interface between the user and computer.
Q8. What are the three major parts of the CPU?
ALU, Control Unit and Registers.
Q9. Differentiate RAM and ROM.
RAM is volatile and read/write working memory; ROM is non-volatile and stores persistent instructions.
Q10. Name three language translators.
Compiler, Interpreter and Assembler.
Computer System nnn Hardware n nnn Input Devices n nnn CPU โ ALU + CU + Registers n nnn Output Devices nnn Memory n nnn Primary โ RAM + ROM + Cache n nnn Secondary โ HDD + SSD + Pen Drive + Memory Card nnn Software nnn System Software โ OS + Drivers + Utilities + Translators nnn Application Software