Skip to content
Computer Aptitude · 2-4 Qs

Fundamentals of Computer

Read the notes once, then practise. Every question shows the full solution right after you answer.

Study notes

What a computer does

A computer is an electronic device that accepts data (input), processes it according to a set of instructions (program), stores it and produces information (output). This is the IPO cycle: Input → Process → Output, with Storage supporting every step. Raw facts are data; processed, meaningful data is information. If the input is wrong the output is wrong: GIGO (Garbage In, Garbage Out).

Parts of the CPU

UnitJobRemember
ALU (Arithmetic Logic Unit)Arithmetic (+, −, ×, ÷) and logical operations (AND, OR, NOT, comparisons)The calculator of the CPU
CU (Control Unit)Fetches and decodes instructions, sends control signals, coordinates all unitsDoes not process data itself; acts like a traffic controller
RegistersTiny, fastest storage locations inside the CPUAccumulator, Program Counter (PC), Instruction Register (IR), MAR, MDR

The CPU is called the brain of the computer. It sits on the motherboard (main circuit board) with RAM slots, chipset, BIOS/UEFI chip and expansion slots. Processor speed (clock speed) is measured in hertz – modern CPUs run at a few GHz (1 GHz = 10⁹ cycles per second). A multi-core processor has two or more processing cores on one chip.

System bus

  • Data bus – carries data; bidirectional.
  • Address bus – carries the memory address the CPU wants; unidirectional (CPU to memory). A 32-bit address bus can address 2³² bytes = 4 GB.
  • Control bus – carries control signals such as read/write and clock.

Number systems

SystemBaseDigits usedExample
Binary20, 11010₂ = 10
Octal80–717₈ = 15
Decimal100–945₁₀
Hexadecimal160–9 and A–F (A=10 … F=15)2A₁₆ = 42
  • Decimal to binary: divide repeatedly by 2 and read the remainders from bottom to top (25 → 11001).
  • Binary to decimal: add place values 1, 2, 4, 8, 16, 32 … where the bit is 1 (101101 = 32+8+4+1 = 45).
  • One octal digit = 3 bits; one hex digit = 4 bits (a nibble).
  • 1's complement: flip every bit (10110 → 01001). 2's complement = 1's complement + 1 (used to store negative numbers).
  • Binary addition rules: 0+0=0, 0+1=1, 1+1=10 (0 carry 1), 1+1+1=11.

Units of data

Bit (binary digit) is the smallest unit. 4 bits = 1 nibble; 8 bits = 1 byte; a word is the number of bits a CPU processes at a time (for example 32 or 64 bits).

Character codes

CodeFull formBits / use
ASCIIAmerican Standard Code for Information Interchange7 bits, 128 characters (extended ASCII: 8 bits, 256)
EBCDICExtended Binary Coded Decimal Interchange Code8 bits, IBM mainframes
UnicodeUniversal character standardCovers almost all scripts including Devanagari; UTF-8 is the common web encoding
BCDBinary Coded DecimalEach decimal digit stored in 4 bits

Types of computers

By working principle: Analog (continuous quantities, e.g. speedometer), Digital (discrete 0/1 data, e.g. PCs), Hybrid (both, e.g. ICU patient monitors, petrol pumps).

By size and power: Supercomputer (fastest, weather forecasting, measured in FLOPS; India's PARAM series) > Mainframe (bank and railway reservation servers, thousands of users) > Minicomputer (mid-range) > Microcomputer (PCs, laptops, tablets, smartphones).

Hardware, software and firmware

  • Hardware – physical parts you can touch.
  • Software – programs: system software (OS, drivers, utilities) and application software (Word, Tally, browsers).
  • Firmware – software stored permanently on a chip (ROM/flash), e.g. BIOS/UEFI.

Booting

Cold booting starts a computer from the power-off state; warm booting restarts a running computer without cutting power. During boot the firmware runs POST (Power-On Self-Test), then the bootloader loads the operating system into RAM. BIOS = Basic Input/Output System; modern PCs use UEFI.

Exam tip: For conversion questions, check each option by converting back to decimal – it is faster than converting forward and avoids silly slips.
Free SBI Clerk practice with solutionsStart free →