Hardware and Software Fundamentals is part of Information and Communication Technology. Below are notes on 57 sub-topics, followed by practice MCQs from State PSC and UPSC papers.

CPU (Central Processing Unit)

The "brain" of a computer, responsible for executing instructions and processing data.

Arithmetic Logic Unit (ALU)

Performs arithmetic (+,-) and logical (AND, OR) operations.

Control Unit (CU)

Directs and coordinates CPU operations, fetches and decodes instructions.

    • Registers Small, high-speed storage locations within the CPU used to hold data, in‐
  • System Software Types: Operating Systems, Utility Software, Device Drivers.
  • Operating System (OS): Core software managing computer hardware/software resources and providing services for applications.
    • Functions: Process, memory, file, I/O management; security; user interface.
    • Examples: Windows, macOS, Linux, Android, iOS.
  • Utility Software: Assists OS in managing, optimizing, and maintaining the computer system.
    • Examples: Antivirus, Disk Defragmenter, Disk Cleaner, Backup, Compression utilities.
  • Device Drivers: Software enabling OS communication with specific hardware devices (e.g., printer, graphics card).
  • Power-On Self-Test (POST): First diagnostic test by computer's firmware (BIOS/UEFI) immediately after power-on; checks essential hardware before OS loads.

structions, and addresses during processing.

Fetch

Retrieves an instruction from main memory (RAM). 2.

Decode

Translates the instruction into CPUunderstandable commands. 3.

Execute Performs the operation specified by the instruction. 4.

Execute

1.

Write-back

Stores the result in memory or a register.

Program Counter (PC)

Holds the memory address of the next instruction to be fetched.

Instruction Register (IR)

Stores the instruction currently being executed.

Memory Address Register (MAR)

Stores the memory address for data read/write.

Memory Data Register (MDR) / Memory Buffer Register (MBR)

Temporarily stores data being transferred to/from memory.

Accumulator (AC)

A general-purpose register often used to store intermediate arithmetic/logic results.

General Purpose Registers (GPRs)

Used for various data manipulation tasks.

Clock Speed

Measured in Gigahertz (GHz), indicates cycles per second. Higher GHz generally means more instructions processed per second.

Cores

Independent processing units within a single physical CPU. More cores enable parallel processing.

Threads

Virtual components managed by the OS, allowing a single core to handle multiple instruction streams (e.g., Hyper-threading).

Cache Memory (L1, L2, L3)

Small, fast memory located near the CPU, storing frequently accessed data to reduce main memory access time. L1 is fastest/smallest, L3 is slowest/ largest.

Instructions Per Cycle (IPC)

Average number of instructions a CPU can execute per clock cycle. Higher IPC indicates greater efficiency.

Word Size

Number of bits the CPU can process at once (e.g., 32-bit, 64-bit). Affects addressable memory and data processing capacity.

Bus Speed

Speed at which data moves between CPU and other components.

Instruction Set Architecture (ISA)

Defines the set of instructions a CPU can execute.

RISC (Reduced Instruction Set Computer)

Fewer, simpler, fixed-length instructions, faster execution of individual instructions.

CISC (Complex Instruction Set Computer)

More complex, varied-length instructions, can accomplish more per instruction but may take more cycles.

AJIT

The first microprocessor conceptualized, designed, developed, and manufactured in India by IIT Bombay.

Data Representation Systems

Methods for representing numerical data in computers.

Binary (Base 2)

Uses digits 0 and 1. The fundamental system for digital computation.

Octal (Base 8)

Uses digits 0-7. Each octal digit corresponds to 3 binary digits.

Decimal (Base 10)

The standard number system we use (digits 0-9).

Hexadecimal (Base 16)

Uses digits 0-9 and letters A-F.

  • Hexadecimal letter values: A=10, B=11, C=12, D=13, E=14, F=15.
  • Each hexadecimal digit represents 4 binary digits (nibble). Used for compact representation of large binary numbers.

Hexadecimal to Decimal Conversion

Sum of (digit * Base^position). Example: A538 (hex) = (10 * 16^3) + (5 * 16^2) + (3 * 16^1) + (8 * 16^0) = 40960 + 1280 + 48 + 8 = 42296 (decimal).

Character Encoding

Schemes to represent text characters as digital codes.

ASCII (American Standard Code for Information Interchange)

  • 7-bit encoding, representing 128 characters.
  • Primarily covers English letters, numbers, and basic symbols.
  • Limited support for non-English languages.

EBCDIC (Extended Binary Coded Decimal Interchange Code)

  • 8-bit encoding developed by IBM.
  • Mainly used in IBM mainframe environments, not widely adopted globally.

ISO/IEC 646

An international standard for 7-bit character codes, of which ASCII is a prominent variant.

Unicode

  • Universal character encoding standard.
  • Designed to support virtually all writing systems worldwide, including complex scripts like Indian scripts (e.g., Devanagari, Tamil, Bengali).
  • Used on most modern computer systems, operating systems, and smartphones.
  • Common Unicode encodings include UTF-8, UTF-16, UTF-32.

Firmware

Software permanently embedded in hardware devices (e.g., ROM, EPROM, Flash Memory).

Firmware Role

Provides low-level control, initializes device hardware, manages basic input/output operations, and enables device functionality.

Firmware Examples

BIOS/UEFI (Basic Input/Output System/Unified Extensible Firmware Interface) on motherboards, firmware in hard drives, SSDs, printers, routers, and embedded systems.

Firmware Characteristic

Semi-permanent, rarely updated, critical for device operation independent of OS.

Device Drivers

Specialized software that acts as an interface between an operating system (OS) and a specific hardware device.

Device Driver Role

Translates generic commands from the OS into hardware-specific instructions, and viceversa, allowing the OS to communicate with and control the device.

Necessity of Drivers

Each unique hardware component (e.g., graphics card, printer, sound card, mouse) requires a specific driver for the OS to utilize it.

Input Device Driver

Interprets signals/data from an input device (e.g., keyboard presses, mouse movements) into a format the OS can process.

Output Device Driver

Interprets digital data from the computer/OS into a format the specific output device (e.g., monitor, printer, speaker) can render or present in a user-understandable form.

Importance of Drivers

Essential for hardware functionality; without correct drivers, devices cannot be recognized or used by the operating system.

System Software

Programs designed to operate and control computer hardware and application software. Essential for overall computer functionality.

Application Software

Programs that perform specific tasks for users. E.g., MS-Word (word processor), Oracle/MySQL/MS-Access (Database Management System). (MS-Word is NOT a database management software).

Language Translators (System Software)

Convert programming language code into machine-executable code.

Compiler

Translates an *entire* source code program (high-level language) into machine code (object code) at once. Generates an executable file. Faster execution post-compilation.

Interpreter

Translates and executes source code (high-level language) *line by line*.

4. Operating Systems and Types

Linker (System Software)

Combines object files (produced by compilers/assemblers) with necessary library routines and other object modules into a single executable program. It resolves external references between modules. (Not a language translator itself, but works with their output).

Loader (System Software)

Places the executable program (generated by the linker) into the computer's main memory (RAM) and prepares it for execution by the CPU.

Utility Software (System Software)

Assists in managing, maintaining, and optimizing computer resources and performance.

    • Examples: Antivirus software, Disk Defragmenters, Backup utilities, File Managers, Disk Cleaners, Compression tools.

Practice MCQs: Hardware and Software Fundamentals

Central Processing Unit (CPU): Architecture, Registers, Performance Metrics

  1. Which is the first microprocessor to be conceptualized, designed, developed and manufactured in India?

    Asked in: COMPUTER PROGRAMMER 2019

    1. AMD Athlon
    2. AJIT
    3. MC68000
    4. Atmel
    Show answer

    Answer: B. AJIT

    This question tests knowledge of India's technological advancements in the field of microprocessors and indigenous development.

Data Representation: Binary, Octal, Decimal, Hexadecimal, ASCII, Unicode

  1. The hexadecimal number A538 is equivalent to

    Asked in: UPSC CISF AC EXE 2019

    1. 10538
    2. 26435
    3. 26438
    4. 10535
    Show answer

    Answer: C. 26438

    - Standard conversion of hexadecimal to decimal. - Potential for errors in question transcription in exams. - Back-calculation from options can sometimes reveal probable intended questions when there are clear discrepancies.

  2. For the use of Indian scripts for data entry, which encoding scheme is used on most modern computer systems and smartphones?

    Asked in: UPSC CISF AC EXE 2019

    1. ASCII
    2. EBCDIC
    3. Unicode
    4. ISO/IEC 646
    Show answer

    Answer: C. Unicode

    - Character encoding standards map characters to numerical values for digital representation. - Older standards like ASCII and EBCDIC have limited character sets. - Unicode is a modern, comprehensive standard designed to support characters from all languages globally.

Firmware and Device Drivers: Role and Importance

  1. A device driver of an output device

    Asked in: UPSC CISF AC EXE 2019

    1. interprets input provided by the user into a computer-usable form
    2. interprets computer output into user- understandable form
    3. translates user inputs into output device
    4. facilitates user to communicate with the output device
    Show answer

    Answer: B. interprets computer output into user- understandable form

    A device driver is a software component that allows the operating system to communicate with a hardware device. For an output device (like a monitor or printer), the device driver receives data and instructions from the operating system or applications in a standardized format. It then translates this data into commands and signals that are specific to the particular output device, enabling the device to produce output in a form that is understandable or usable by the user (e.g., displaying graphics on a screen, printing text on paper). Option B accurately describes this translation process from computer output to a user- understandable form.

System Software: Compilers, Interpreters, Assemblers, Linkers, Loaders, Utility Software

  1. Which one of the following is *not* a database management software ?

    Asked in: UPSC CISF AC EXE 2018

    1. Oracle
    2. MySQL
    3. MS-Access
    4. MS-Word
    Show answer

    Answer: D. MS-Word

    - A Database Management System (DBMS) is a software system used for creating, managing, and interacting with databases. - DBMS software allows users to store, organize, retrieve, and manipulate large amounts of data efficiently.

  2. Compiler, Interpreter and Assembler are

    Asked in: UPSC CISF AC EXE 2018

    1. System software
    2. Hardware
    3. Application software
    4. None of the above
    Show answer

    Answer: A. System software

    - System software is software that manages and controls computer hardware and provides a platform for running application software. Examples include operating systems, device drivers, utilities, and language processors like compilers and interpreters. - Compilers translate source code written in a high-level programming language into machine code or an intermediate code all at once before execution. - Interpreters translate and execute source code line by line. - Assemblers translate assembly language code into machine code.

  3. In the context of computer graphics, which one of the following is not a raster image format?

    Asked in: UPSC CISF AC EXE 2019

    1. JPEG
    2. TIFF
    3. SVG
    4. GIF
    Show answer

    Answer: C. SVG

    Raster image formats represent images as a grid of pixels (Picture Elements), where each pixel has a color value. Examples include JPEG, TIFF, GIF, PNG, and BMP. Vector image formats, however, represent images using mathematical equations to define lines, curves, and shapes. They are resolution-independent and can be scaled without loss of quality. SVG (Scalable Vector Graphics) is a prominent example of a vector image format.

  4. In MS-Excel 2007, NPV(rate, value1, [value 2], ...) is a financial function that returns

    Asked in: UPSC CISF AC EXE 2019

    1. the net present value of an investment based on discount rate and series of future payments and income
    2. the number of periods for an investment based on periodic, constant payments and constant interest rate
    3. the future value of an investment based on periodic, constant payments and constant interest rate
    4. the future value of an initial principal after applying a series of compound interest rates
    Show answer

    Answer: A. the net present value of an investment based on discount rate and series of future payments and income

    In MS-Excel, the NPV (Net Present Value) function calculates the present value of a series of cash flows based on a specified discount rate. It is used to evaluate the profitability of an investment or project by bringing all future cash flows (both positive and negative) back to their present-day value. Option A accurately describes this function: "the net present value of an investment based on discount rate and series of future payments and income".

  5. In MS-Excel 2007, STDEV[numberl, number 2, ...] is a statistical function that

    Asked in: UPSC CISF AC EXE 2019

    1. estimates standard deviation based on a sample by ignoring logical values and text in the sample
    2. estimates standard deviation based on a sample by including logical values and text in the sample
    3. calculates standard deviation based on the entire population by ignoring logical values and text
    4. calculates standard deviation based on the entire population by including logical values and text
    Show answer

    Answer: A. estimates standard deviation based on a sample by ignoring logical values and text in the sample

    In MS-Excel 2007 (and later versions with STDEV.S), the STDEV function (or STDEV.S) calculates the standard deviation based on a sample. It measures the dispersion or spread of data points around the mean. Importantly, the standard STDEV function in Excel ignores logical values (TRUE/FALSE) and text within the range of numbers provided as arguments when calculating the standard deviation.

  6. Which one of the following is not a language translator?

    Asked in: UPSC CISF AC EXE 2019

    1. Assembler
    2. Linker
    3. Interpreter
    4. Compiler
    Show answer

    Answer: B. Linker

    A language translator is a program that converts code written in one programming language into another. Assemblers translate assembly language to machine code. Compilers translate high-level language (like C++, Java) into machine code or an intermediate form. Interpreters execute high- level language code directly, translating and executing it line by line. A Linker, however, is a program that takes one or more object files (produced by a compiler or assembler) and combines them with necessary library code to create an executable program. It resolves references between different code modules but does not perform language translation itself.