Comprehensive Study Guide to Computer Basics and Architecture

Fundamentals and Functional Organization of a Computer System

  • Definition of a Computer:

    • A computer is an electronic device that transforms raw data into meaningful and structured information.
    • Data: Unprocessed facts and figures, such as marks obtained by a student in various subjects, or a collection of demographic details including name, age, sex, weight, and height of students in a class.
    • Information: The processed, organized, and structured output produced after executing operations on raw data.
  • Core Operational Capabilities of a Computer System:

    • Accepts data and instructions via input channels.
    • Stores data and instructional programs in memory units.
    • Processes data according to program specifications.
    • Retrieves stored data whenever needed.
    • Outputs and prints results in desired formats.
  • Major System Characteristics:

    • High Speed: Executes complex calculations and data manipulations in fractions of a second.
    • Accuracy: Consistently provides error-free results, governed by correct instructional programming.
    • Diligence: Free from monotony, tiredness, or lack of concentration over prolonged operational cycles.
    • Versatility: Capable of executing a wide array of distinct tasks ranging from simple calculations to complex simulations.
    • Storage: Houses substantial volumes of data and instructions for immediate or subsequent access.
  • The Five Basic Computer Operations:

    • Inputting: The process of entering raw data and instructional programs into the computer system.
    • Storing: Retaining data and instructions permanently or temporarily for immediate processing.
    • Processing: Performing arithmetic operations and logical decision-making on inputted data.
    • Outputting: Generating and rendering processed data into meaningful, human-readable results.
    • Controlling: Directing the sequence, timing, and execution of all operations within the system.
  • Functional Units of Computer Architecture:

    • Input Unit: Captures external data and instructional commands and feeds them into the system.
    • Control Unit (CU):
    • Supervises and coordinates input, output, processing, and storage operations.
    • Decides when to accept data, when to terminate receiving, where to store data, and manages the step-by-step sequencing of all machine operations.
    • Arithmetic Logic Unit (ALU):
    • Performs all arithmetic computations: addition (++), subtraction (−-), multiplication (×\times), and division (//).
    • Executes logical decisions and comparative operations (e.g., greater than, less than, equal to).
    • Central Processing Unit (CPU):
    • Composed jointly of the Arithmetic Logic Unit (ALU) and the Control Unit (CU).
    • Acts as the brain of the computer system, executing instructions and managing internal activities.
    • Memory Unit: Stores operational programs, intermediate results, and output data.
    • Output Unit: Conveys the processed results back to the user.

Block diagram of Computer Organisation showing interaction between Input unit, Output unit, Memory Unit, Control Unit, and Arithmetic Logic Unit

Peripheral Hardware: Input Devices

  • Definition of Peripheral Devices:
    • Hardware components connected externally to the computer system designed to carry out specific operational functions.
    • Classified into Input Devices, Output Devices, and Other Peripherals (e.g., storage disk drives).

Different peripheral devices of Computer including monitor, disk drives, mouse, and keyboard

  • Overview of Input Devices:

    • Hardware components that accept data and instructions from the user and convert them into machine-readable digital form.
  • Keyboard:

    • The primary, most ubiquitous input peripheral.
    • The dominant mechanical layout is the standard QWERTY keyboard.
    • Typically incorporates 104 keys104\text{ keys}.
    • Cursor control keys are duplicated on the board to facilitate convenient navigation alongside the dedicated numeric keypad.

Standard QWERTY computer keyboard layout

  • Mouse:

    • An electro-mechanical, hand-held pointing device designed to control cursor movement on the display screen.
    • Executes system actions such as selecting menu commands, dragging icons, resizing open windows, launching applications, and choosing options.
    • Traditional mechanical versions employ an internal, magnetically coated tracking ball to sense movement along a flat desktop surface.
    • Modern variants utilize optical or laser sensors to register positional changes.
    • Replaces complex keyboard key combinations with point-and-click functionality, serving as an alternative for command-line inputs (though it does not completely replace standard alphanumeric keyboard operations).
  • Light Pen:

    • A pen-shaped pointing mechanism featuring a built-in light-sensitive detector.
    • Enables direct interaction with a display screen by detecting light emitted from screen phosphors.
    • Allows users to point directly to objects, select graphical elements, or draw on the screen surface.
  • Optical Scanners:

    • Automated data collection devices that digitize printed physical media, eliminating manual keyboard entry.
    • Barcode Reader: A specialized optical scanner designed to read and interpret printed zebra-stripe bar codes.
    • Image Scanner: Translates hardcopy photographs and printed pages into electronic bitmaps stored in memory, which can be modified using image processing software.
    • Optical Character Recognition (OCR): Scans printed or typewritten text and converts the graphical image of the letters into editable ASCII or text formats; widely deployed in banking and institutional documentation workflows.
  • Touch Screen:

    • An input display overlay that enables users to interact directly with the system by touching graphical buttons or icons on the screen using fingers or a stylus/light pen.
    • Acts as a direct alternative to keyboard and mouse hardware in interactive kiosks and mobile terminals.
  • Microphone:

    • An audio input peripheral that captures sound and human voice, transforming acoustic waves into digital signals.
    • Voice recognition input is comparatively more prone to recognition errors than standard keyboard entry.
    • Available in two physical form factors:
    • Desktop Microphones.
    • Hand-held Microphones.
  • Trackball:

    • A pointing device conceptually configured as an inverted mouse resting on its back.
    • Operates by having the user manually rotate an exposed sphere using the thumb, fingers, or palm of the hand while the base housing remains stationary.
    • Incorporates one to three physical click buttons flanking the ball.
    • Advantages over a mouse:
    • Requires negligible desk workspace due to its stationary footprint.
    • Functional across arbitrary surfaces, including the user's lap.
    • Favored in portable computer equipment and space-constrained environments.

Peripheral Hardware: Output Devices

  • Overview of Output Devices:

    • Mechanisms that transmit processed digital information from the CPU back to the end user in a human-perceivable audio, visual, or printed format.
  • Monitors (Visual Display Units - VDU):

    • The primary, most frequently interacted-with output device.
    • Visual display generation relies on the coordination between the physical monitor and the internal video adapter card.
    • The video adapter transforms internal CPU data into visual signals, mirroring television broadcasting conventions.
    • Cathode Ray Tube (CRT) Monitors:
    • Employs a large, vacuum-sealed glass cathode ray tube.
    • Resembles standard analog television sets in operation and form factor.
    • Liquid Crystal Display (LCD) Monitors:
    • Employs flat panel liquid crystal technology to generate images.
    • Significantly thinner, lighter, and more energy-efficient than CRT units; standard in modern computing and notebook systems.
    • Display Resolution Metrics:
    • Resolution indicates visual sharpness and pixel capacity.
    • Standard base monitors feature resolutions of at least 800×600 pixels800 \times 600\text{ pixels}.
    • High-end monitors provide resolutions of 1024×768 pixels1024 \times 768\text{ pixels} or 1280×1024 pixels1280 \times 1024\text{ pixels}.
  • Printers:

    • Generates permanent, hard-copy physical printouts on paper.
    • Laser Printers:
    • Produces high-definition typography and graphics suitable for commercial publishing.
    • High-speed, near-silent operation with automatic paper feeder trays and zero risk of ribbon ink smudging.
    • Performance benchmarks: Speeds can reach up to 200 pages per minute200\text{ pages per minute} in monochrome and up to 100 pages per minute100\text{ pages per minute} in full colour.
    • Ink-Jet Printers:
    • Sprays minute droplets of liquid ink directly onto paper via arrays of up to 64 tiny nozzles64\text{ tiny nozzles}.
    • Delivers print quality slightly below high-end laser output but substantially clearer than impact printers.
    • Quiet and convenient; serves as an intermediate solution in price and performance between dot-matrix and laser systems (typically costs roughly half the purchase price of a laser printer).
    • Dot Matrix Printers:
    • Impact-based technology where physical print pins strike an inked ribbon against the paper surface to construct characters from dot matrices.
    • Measured in Characters Per Second (CPS).
    • Low acquisition cost and highly versatile, but marked by slow print speeds, loud acoustic noise, and low graphical resolution.
    • Line Printers:
    • Heavy-duty impact printers designed for enterprise data processing installations, producing text-based mainframe reports.
    • High-speed throughput ranging from 100 to 3800 lines per minute100\text{ to }3800\text{ lines per minute}.
    • Historically characterized by low aesthetic typography; unit acquisition costs reach several lacs of Rupees.
  • Plotters:

    • Specialized vector graphic hard-copy output devices engineered to render extensive engineering diagrams, construction blueprints, architectural drawings, and mechanical schematics.
    • Operates through a robotic arm holding an array of colored drafting pens retrieved from a clip rack.
    • Draws curves and shapes by converting instructions (consisting of designated pen colors and precise starting and ending line coordinates) into dense sequences of tiny straight-line vectors.
    • Configurations:
    • Flat Bed Plotters: Compact desktop units constrained to fixed, maximum sheet sizes.
    • Drum Plotters: Large-format industrial units feeding continuous rolls of paper across a rotating drum, capable of outputting drawings of unlimited length.
  • Speakers:

    • Audio output transducers that convert digital sound data into acoustic waves for music, system notifications, speech synthesis, and telecommunications.

Software Systems and Classifications

  • Definition of Software:
    • Hardware cannot function independently; it requires user guidance regarding what actions to execute, how to execute them, and their operational timing.
    • Program: An ordered sequence of explicit instructions designed to accomplish a defined task.
    • Software: A coordinated collection of programs that directs computer hardware to carry out tasks in an exact sequence.

Classification of Software into System Software and Application Software

  • System Software:

    • Foundational software infrastructure that manages system hardware, initiates low-level processes upon boot, controls peripheral operations, and orchestrates resource allocation.
    • Upon powering on the computer, bootstrap routines stored in Read-Only Memory (ROM) execute to initialize system components.
    • Operating System (OS):
    • Acts as the primary operational intermediary between computer hardware, user applications, and end users.
    • Responsibilities: Manages connected peripherals (keyboards, monitors, disk drives), orchestrates file systems on secondary storage media, and provides execution environments for application software.
    • Prominent operating systems: UNIX, Microsoft Windows, and Linux.
    • Utility Programs (Utilities):
    • System-level service applications that extend, optimize, and maintain operating system capabilities.
    • Examples: File compression and decompression utilities (e.g., zip/unzip), anti-virus defense suites, and file splitting/joining utilities.
  • Application Software:

    • Specialized software programs developed to perform distinct user-oriented workflows and real-world problem-solving.
    • Examples include Library Information Systems (cataloging books, tracking borrower details, and processing loan/return logistics) and Student Information Systems (recording student roll numbers, guardian data, residential addresses, class sections, and exam grading).
    • Generalized Packages:
    • Mass-market, user-friendly general-purpose toolkits designed to address broad computational requirements.
    • Word Processing Software: Prepares, formats, and edits text documents (e.g., WordPerfect, Microsoft Word, OpenOffice.org Writer).
    • Spreadsheets: Tabular calculation and mathematical data analysis tools (e.g., Lotus SmartSuite, Microsoft Excel, OpenOffice.org Calc, Apple Numbers).
    • Presentation Software: Graphical slide creation for public presentations (e.g., Presentation Graphics, Microsoft PowerPoint, OpenOffice.org Impress).
    • Database Management Systems (DBMS): Structured data repositories (e.g., Microsoft Access, OpenOffice.org Base, Microsoft SQL Server, ORACLE).
    • Graphics Tools: Digital raster and vector design suites (e.g., Paint Shop Pro, Adobe Photoshop).
    • Customized Packages:
    • Bespoke software applications commissioned and engineered to satisfy the particularized organizational workflows of a specific enterprise or institution.
    • Examples: Corporate payroll systems, tailored student records applications, inventory management systems.
    • Implemented using high-level programming languages.

Computer Languages and Language Translators

  • Principles of Computer Communication:

    • Computers require formal symbolic language systems to bridge human intent and hardware operation.
    • Syntax: The immutable grammatical rules and structural conventions governing code composition in a given programming language.
  • Low-Level Languages:

    • Languages engineered close to the underlying physical architecture and machine execution mechanisms.
    • Machine Language:
    • Pure binary code consisting exclusively of strings of zeroes (00) and ones (11).
    • Directly understood and executed by the internal logic gates of the CPU without translation.
    • Strictly machine-dependent (tied directly to specific chip instruction sets).
    • Exceptionally difficult for human operators to read, memorize, or write error-free.
    • Assembly Language:
    • A low-level programming paradigm where cryptic binary patterns are replaced with mnemonic codes (symbolic operation tags like ADD, SUB, MOV).
    • Simplifies code readability and structural debugging relative to raw binary programming.
    • Retains strict machine dependency, requiring developers to possess comprehensive architectural knowledge of the underlying micro-architecture.
  • High-Level Languages (HLL):

    • Human-readable, machine-independent programming languages employing English-like statements and mathematical expressions.
    • Abstract away processor-specific architectures, streamlining program authoring.
    • Notable High-Level Languages:
    • BASIC (Beginners All-Purpose Symbolic Instruction Code): Highly accessible, general-purpose language widely utilized in early microcomputer development.
    • COBOL (Common Business Oriented Language): Standardized, English-like syntax engineered for large-scale enterprise data handling and commerce.
    • FORTRAN (Formula Translation): High-performance language engineered for complex scientific calculations and numerical analysis.
    • C: Structured, procedural language extensively utilized for system software, game engines, scientific modeling, and commercial tools.
    • C++: Object-oriented language offering general-purpose utility and object abstraction.
  • Language Translators:

    • Hardware can only interpret binary machine code (00s and 11s). Mnemonic assembly instructions and high-level source codes require translation into executable object code.
    • Compiler:
    • A software utility that scans and translates an entire high-level programming language script (source program) into equivalent machine code (object program).
    • Assembler:
    • A translation program that converts assembly language mnemonics (source program) into native binary instructions (object program).

Compiler translating Source Program in Higher Level Language to Object Program in Machine Language

Assembler translating Source Program in Assembling Language to Object Program in Machine Language

Intext & Terminal Review Questions

  • Intext Questions Section 1.3:

    • Question 1: What are the five basic operations performed by the computer?
    • Answer: Input, storage, processing, output, and control.
    • Question 2: Define ALU, CU, and CPU.
    • Answer:
      • ALU: Arithmetic Logic Unit; performs all arithmetic computations and logical comparison operations.
      • CU: Control Unit; manages, sequences, and coordinates operational timing across all computer components.
      • CPU: Central Processing Unit; the core operational brain composed jointly of the ALU and CU.
    • Question 3: Multiple Choice Questions:
    • (a) The task of performing arithmetic and logical operations is called:
      • Options: (i) ALU, (ii) editing, (iii) storage, (iv) Output.
      • Answer: (i) ALU.
    • (b) The ALU and CU jointly are known as:
      • Options: (i) RAM, (ii) ROM, (iii) CPU, (iv) None of above.
      • Answer: (iii) CPU.
    • (c) The process of producing results from the data for getting useful information is called:
      • Options: (i) output, (ii) input, (iii) processing, (iv) storage.
      • Answer: (i) output.
  • Intext Questions Section 1.6:

    • Question 4: True or False Statements:
    • (a) Mouse is an output device.
      • Answer: False (it is an input device).
    • (b) OCR stands for Optical Content Reader.
      • Answer: False (it stands for Optical Character Recognition).
    • (c) LCD Monitor is used in notebook computer.
      • Answer: True.
    • (d) Speed of DOT Matrix Printer is measured in Characters Per Second.
      • Answer: True.
    • (e) Plotters are used to produce high quality drawings and images, such as construction plans for buildings or blueprints for mechanical objects.
      • Answer: True.
  • Intext Questions Section 1.9:

    • Question 5: True or False Statements:
    • (a) Operating System (OS) is an Application Software.
      • Answer: False (it is System Software).
    • (b) High level languages are easy to program than low level language.
      • Answer: True.
    • (c) Computer language FORTRAN is used to solve Scientific and Mathematical problems.
      • Answer: True.
    • (d) C is an object oriented programming language.
      • Answer: False (it is a structured procedural language; C++ is object-oriented).
    • (e) Compiler converts high level languages into machine language.
      • Answer: True.
  • Terminal Conceptual Inquiries:

    • Functional Description of Computer Organization:
    • Computations proceed through cyclical transfers where the input unit collects data, the memory unit houses raw code and states, the control unit issues synchronized execution commands, the arithmetic logic unit evaluates conditions and math, and the output unit presents the final results.
    • Input Devices Overview:
    • Keyboard (QWERTY layout), Mouse (electro-mechanical, optical), Light Pen (phosphor light-sensitive stylus), Scanners (OCR, Barcode), Touch Panels, Microphones (desktop/handheld acoustic inputs), and Trackballs (stationary ergonomic balls).
    • Comparative Analysis of CRT vs. LCD Monitors:
    • CRT displays depend on vacuum glass tubes and cathode electron guns, generating substantial physical volume and weight.
    • LCD displays utilize liquid crystal matrices to produce slim, lightweight, flat-panel viewports with lower electrical consumption.
    • Distinction Between System Software and Application Software:
    • System Software (e.g., OS, device drivers, disk utilities) operates directly on bare metal to initialize, coordinate, and maintain hardware.
    • Application Software (e.g., word processors, spreadsheets, inventory engines) operates on top of system software to resolve specific user-facing tasks.
    • Printers, Plotters, Translators, and Programming Paradigms:
    • Laser Printer: High-speed, non-impact page printer utilizing electro-photographic imaging for high-clarity typography.
    • Plotter: Coordinate-driven line drafting peripheral moving colored pens across media to render blueprints.
    • Compiler: Translation suite translating entire high-level programs into machine language object code.
    • High-Level Languages: Hardware-independent problem-solving languages offering readable, English-like syntax.