Computer Fundamentals for UPSC EPFO 2025
Computer Fundamentals for UPSC EPFO 2025
Computer Knowledge
What is Computer?
Programmable Electronic
Device
The Input Unit is used for giving instructions and data by using input devices.
Purpose:
• Accept Instruction
• Convert and Supply Instruction
Device Type Use
Keyboard Text input Typing
Mouse Pointing device Selecting items
Touchscreen Touch input Smartphones, ATMs
Scanner Image input Digitizing documents
Mic Audio input Recording
Webcam Video input Online meetings
OMR Special input Exam checking
OCR Text recognition Document scanning
MICR Bank input Cheque processing
Biometric Security input Attendance & identity
Central Processing Unit
A microprocessor = Central processing unit (CPU) that is implemented as a single integrated circuit (IC) on a
chip.
Executes instructions
Controls devices
A. Arithmetic Logic Unit
The Arithmetic Logic Unit (ALU) is a crucial component within a processor, responsible for executing arithmetic and
logical operations on data. It utilizes electronic circuitry and registers to process the data efficiently.
Logical operations
AND, NOT, OR, XOR
Arithmetic
operations Addition, Subtraction, Multiplication And Division
Bit-shifting
operations Left Shift, Right Shift
Comparison
operations =, <=, >, >=
B. Control Unit
The Control Unit (CU) is a vital component of a computer's central processing unit (CPU), responsible for coordinating the
operation of various hardware components, including input and output devices, registers, and the Arithmetic Logic Unit
(ALU).
Instruction
Fetching
Synchronization
with Instruction
Input/Output Decoding
Devices
Coordination
Control Signal
with ALU and
Generation
Registers
C. Register Memory
•Fastest
•Smallest
•Not the part of Main Memory
•Temporarily Holds data, Instruction etc
Output Unit
The Output Unit in a computer system is responsible for delivering processed results to the user in a format that is easily
understandable. It interacts with various output devices such as monitors, printers, plotters, etc., to present the desired
output to the user.
MROM
Primary PROM
Memory ROM
Memory EPROM
EEPROM
Winchester Disk
Magnetic Memory
Hard Disk
Tape Cassette
Magnetic Tapes
Memory Secondary Memory
CD
Optical Memory
DVD
A Bus is a set of wires used for interconnection where each wire can carry 1 bit of data.
Computer Bus
External Bus/
Internal Bus Expansion Bus
Control Bus
Address Bus
Data Bus
Interconnection of Units
Interface Name Introduced in Purpose
Peripheral Component 1992 Standard bus for connecting peripheral devices to a computer's
Interconnect (PCI) motherboard. Evolved into PCI-X and PCIe.
Universal Serial Bus (USB) 1996 Widely used interface for connecting peripherals to computers.
Supports plug-and-play functionality. Handles various devices.
Serial Advanced Technology 2003 Used for connecting storage devices like HDDs and SSDs to a
Attachment (SATA) computer's motherboard. Provides high-speed data transfer rates.
Small Computer System 1986 Set of standards for connecting peripherals like hard drives, tape
Interface (SCSI) drives, scanners, and printers to a computer.
Industry Standard Architecture 1981 Early standard bus architecture for IBM-compatible computers.
(ISA) Largely replaced by newer standards like PCI.
Accelerated Graphics Port 1996 Specialized high-speed bus for connecting graphics cards to the
(AGP) motherboard. Mostly replaced by PCIe for modern systems.
Peripheral Component 2004 Latest standard for connecting internal components like graphics
Interconnect Express (PCIe) cards, network cards, and SSDs to a motherboard.
IEEE 1394 (FireWire) 1995 High-speed serial bus interface for connecting multimedia devices
like camcorders, digital cameras, and external hard drives.
Thunderbolt 2011 High-speed interface combining PCI Express and DisplayPort into a
single connection. Used for peripherals like external hard drives and
monitors.
Serial Attached SCSI (SAS) 2004 High-speed serial interface for connecting storage devices like hard
drives and tape drives in enterprise environments.
Memory Measurement
Name Size
1 bit Single digit 0 or 1
1 nibble 4 bits
1 byte 8 bits
1 Kilobyte (KB) 1024 Bytes
1 Megabyte (MB) 1024 KB
1 Gigabyte (GB) 1,024 MB
1 Terabyte (TB) 1,024 GB
1 Petabyte (PB) 1,024 TB
1 Exabyte (EB) 1,024 PB
1 Zetta byte (ZB) 1,024 EB
1 Yotta Byte (YB) 1,024 ZB
1 Brontobyte (BB) 1,024 YB
1 Geop Byte 1,024 BB
Software
Software, is a collection of instructions, data, or programs that are designed to enable a computer system to perform
specific tasks or functions.
Types of Software
Software
Device drivers
Language
Translators
Types of System Software
System Software
Language
Operating System Utility Programs Device drivers
Translators
Operating System
• Intermediary between users and the computer
hardware.
• Recognize the input from keyboard and display
• Makes sure that the program running at the
same time does not interfere.
• Responsible for the security
Microsoft-Disk Operating System
MS-DOS: developed by Microsoft in 1980 for microcomputers. MS-DOS was the first operating
system that run on PC developed by IBM corporation in 1981
1. [Link]
1. Boot Record 1. Internal
2. Auto [Link]
2. Basic Input/ Output System Commands
3. [Link] Program 2. External Commands
4. [Link] Program
Features of MS-DOS
[Link]-tasking → could run only one program at a time.
[Link]-line interface (no graphics, only text commands).
3.16-bit operating system → worked with older Intel 8086/8088 processors.
[Link] system: Used FAT (File Allocation Table) system.
[Link] → small memory footprint.
[Link] hardware access → user had more control but also higher risk of errors.
Anti-virus • Scans computer for viruses and prevents corruption Kaspersky, AVG, McAfee, Avira
• Facilitates text creation and correction with features
Text Editor like typing, editing, finding, and replacing text. MS Word, WordPad, Notepad
• Supports special commands for text editing.
Types of System Software
Device Drivers
Controls A Device
Types of System Software
Language Translator
Machine
High Languag
Level e
Languag
e
Assembler Interpreter
Compiler
Types of Language Translator
Assembler
Interpreter
Compiler
Low-Level Language
Application Software
Network topology refers to the arrangement of nodes (devices such as computers, printers, servers, etc.) and the
links (connections like cables or wireless signals) between them in a computer network.
Hybrid
Topology • The combination of various different topologies
Identifying Nodes in a Networked
Communication
IP (Internet
3 Network Routing packets
Protocol)
MAC Address,
2 Data Link Error detection in frames
Switch
Transmission through cables, radio Ethernet
1 Physical
waves cable, Wi-Fi
OSI Model
Layer Description Protocols
- Physically connects communicating systems - Transmits data in bits -
Physical ATM, RS232,
Manages simplex or duplex transmission by modem - Manages hardware
Layer Ethernet
interface to the network
Data Link - Firmware layer of Network Interface Card - Assembles datagrams into
Layer frames - Adds start and stop flags to each frame - Resolves problems
caused by damaged or lost frames
Sub-layers:
HDLC, LSL,
- Media Access Control (MAC): Responsible for physical address of sender ATM
and/or receiver - Protocols: CSMA/CD, Ethernet
- Logical Link Control (LLC): Manages frame, error checking, and flow
control of data
OSI Model
Internet
Routing & addressing packets
- Also known as the network layer. - Responsible for routing packets across
Internet Layer networks, ensuring they reach their destination regardless of the route
taken.
File
Language Purpose / Use Example Tag Comment Style
Extension
HTML (HyperText Markup
.html/ .htm Creates web pages <p>Hello</p> <!-- comment -->
Language)
XML (eXtensible Markup
.xml Data storage & transport <name>Rahul</name> <!-- comment -->
Language)
XHTML .xhtml Stricter HTML (follows XML rules) <br /> <!-- comment -->
SGML (Standard
Generalized Markup .sgml Parent of HTML/XML, publishing (Defines rules for tags) Same as XML style
Language)
LaTeX .tex Scientific/technical documents \textbf{bold} % comment
To Binary To Octal To
Hexadecimal
Convert 13₁₀ → Binary Convert 90₁₀ to Octal Convert 200₁₀ to Hexadecimal
From
From Binary From Octal
Hexadecimal
Bit Place Value Product Digit Place Value Product Hex Place
Value Product
Digit Value
1 2³ = 8 8 1 8² = 64 64
3 3 16¹ = 16 48
1 2² = 4 4 7 8¹ = 8 56
F 15 16⁰ = 1 15
0 2¹ = 2 0 5 8⁰ = 1 5
1 2⁰ = 1 1
Other Base System to Non-Decimal Number
System
Step 1: Recall the Bases Example 1: Convert 47₈ → Binary
We will go like this:
Octal base: 8 Step 1: Octal → Decimal
Decimal: 10 Digits: 4 and 7
Binary: 2
(47)8 =(4×81)+(7×80)
=(4×8)+(7×1)
Octal → Decimal → Binary = 32 + 7 = 39 = 3910
Peripheral
SPOOL Burst time
Configuration