Arihant Computer

Definition, Functions, and Features of Computer Systems

The word computer is derived from the Latin language and describes an electronic device that manipulates information or data according to a specific set of instructions. A computer possesses the inherent ability to store, retrieve, and process data, making it suitable for typing documents, navigating the Internet, and handling complex database management, accounting, and presentations. The functioning of a computer revolves around four basic operations: Input, which is the data or instructions entered via devices to be sent to the Central Processing Unit (CPUCPU); Processing, the sequence of actions that converts raw data into meaningful information through calculations or comparisons; Output, the process of displaying processed results to the user; and Storage, the permanent preservation of data and programs during and after execution.

Key features of modern computers include high speed, where data is processed at a rate of millions of instructions per second, and a high degree of accuracy. Their storage capacity is defined by the hard disk's volume, allowing for massive data retention. Computers are characterized by versatility, performing multiple tasks simultaneously, and automation, executing instructions independently once initiated. Unlike humans, computers exhibit diligence, meaning they are free from monotony, tiredness, and lack of concentration, working for hours without error. Features like secrecy, maintained through password-protected login systems, and reliability, ensuring exact results unless the input is flawed, are essential. Modern systems also support plug and play, automatically configuring new hardware and software components.

Historical Evolution of Computing Technology

The development of computers progressed over centuries through various inventions. In 16021602, China introduced the Abacus, the first mechanical calculating device using rods to represent units, tens, and hundreds for addition, subtraction, and square roots. In 16171617, John Napier of Scotland created Napier’s Bones, a three-dimensional structure using a technology called Rabdologia to perform multiplication. Blaise Pascal developed the Pascaline in 16421642, the first mechanical adding machine shaped like a rectangular box with eight discs. In 18011801, Joseph Marie Jacquard simplified the textile industry with Jacquard’s Loom, which used punched cards to weave patterns. Charles Babbage, known as the Father of Computer, introduced the Analytical Engine in 18371837, which was the first general-purpose decimal machine and stored programs in barrels called pegs.

Technological milestones continued into the 20th century. Herman Hollerith’s Tabulating Machine (18901890) used punched cards for the US census. Howard Aiken built the MARK-I in 19441944 for the war effort, featuring magnetic drums for storage. The ENIAC (19461946), designed by JP Eckert and JW Mauchly, was the first electronic digital computer. John Von Neumann developed the EDSAC in 19491949, the first machine to run a stored program using mercury delay lines. The UNIVAC (19511951) was the first general-purpose electronic computer handling large input/output (I/OI/O) via magnetic tapes. In 19531953, IBM introduced the IBM-650 for payroll and market research. Siddhartha was India’s first developed computer, and Alan Turing is recognized as the father of modern computer science.

Generations and Classification of Computers

Computer history is divided into five generations based on major technological shifts. The First Generation (1940561940-56) used vacuum tubes and magnetic drums, operating on batch operating systems and machine language with a speed of 333microseconds333\,micro\,seconds. The Second Generation (1956631956-63) transitioned to transistors and magnetic core technology, utilizing multitasking and assembly languages at 10microseconds10\,micro\,seconds. The Third Generation (1964711964-71) implemented Integrated Circuits (ICsICs) made of silicon, allowing for real-time systems and high-level languages like FORTRAN and COBOL at 100nanoseconds100\,nano\,seconds. The Fourth Generation (1971Present1971-Present) is characterized by Large Scale Integrated (LSILSI) circuits and microprocessors with GUI interfaces, reaching speeds of 300nanoseconds300\,nano\,seconds. The Fifth Generation (PresentandBeyondPresent\,and\,Beyond) utilizes Super Large Scale Integrated (SLSISLSI) chips, optical discs, and Artificial Intelligence (AIAI) via parallel processing.

Computers are classified by size into microcomputers (desktops, laptops, handhelds, tablets, and workstations), minicomputers (small, fast servers like IBM17IBM-17), mainframe computers (large memory backbones for business like IBM370IBM-370), and supercomputers. Supercomputers are the fastest and most expensive, with speeds measured in Floating Point Operations Per Second (FLOPSFLOPS). Examples include CRAY-1 (19761976), PARAM (India's first, 19901990), and Pratyush, India's fastest multi-petaflops (PFPF) machine with 6.8PF6.8\,PF capacity. Computers are also classified by work as Analog (manipulating continuous variables like speedometers), Digital (calculating binary digits), and Hybrid (combining both, like ECGECG machines), and by purpose as General Purpose or Special Purpose (like aircraft landing systems).

Computer Architecture and the CPU

Computer architecture describes the logical structure and functional behavior of a computer system. The three primary components are the Input/Output (I/OI/O) Unit, the Central Processing Unit (CPUCPU), and the Memory Unit. The Input Unit accepts and converts user data into computer-acceptable formats, while the Output Unit converts processed results back into human-readable forms. The CPUCPU, often called the brain of the computer, consists of the Arithmetic Logic Unit (ALUALU), which executes logical (AND,OR,NOT,XORAND, OR, NOT, XOR) and arithmetic operations (+,,×,÷+, -, \times, \div); Registers, which provide the fastest data manipulation at the top of the memory hierarchy; and the Control Unit (CUCU), which fetches, identifies, and directs operations by generating control signals.

Microprocessors, which are Integrated Circuits acting as the system's controlling element, were first introduced with the Intel 4004 in 19711971 by Ted Hoff and Frederico Faggin. The motherboard, or system board, houses these components along with RAM,ROMRAM, ROM, and expansion slots. Data travels between components via buses: the Internal (System) Bus connects the CPUCPU and memory, and the External (Expansion) Bus connects peripherals. The instruction cycle consists of four steps: fetching the instruction from memory, decoding it, executing it, and storing the results. Computers understand only machine language (0s0s and 1s1s), and each instruction contains an operation code (opcodeop-code) and an operand defining the parameters.

Hardware: Input, Output, and Interface Devices

Hardware refers to the physical components of a computer. Input devices like the keyboard facilitate data entry; the standard QWERTY layout includes alphanumeric, numeric, function (F1F12F1-F12), and cursor control keys. Pointing devices include the mouse (invented by Douglas Engelbart in 19631963), trackballs, and joysticks (allowing 360360^{\circ} movement). Other input technologies include Light Pens for PDAsPDAs, Touch Screens using infrared beams, Barcode Readers for Universal Product Codes, and Optical Mark Readers (OMROMR). Advanced recognition tools include Optical Character Recognition (OCROCR) for translating text and Magnetic Ink Character Recognition (MICRMICR) for bank cheques. Scanners convert paper into digital forms, while biometric sensors identify physical traits.

Output devices communicate results to the user. Monitors, or Visual Display Units (VDUVDU), depend on resolution (pixel count), dot pitch (diagonal distance between pixels), and refresh rate (measured in HzHz) for clarity. Common types include CRTCRT, LCD,LEDLCD, LED, and TFTTFT. Printers are categorized as Impact (Dot Matrix, Daisy Wheel, Line, Drum) and Non-Impact (Inkjet, Thermal, Laser, Electromagnetic, Electrostatic). Quality is measured in Dots Per Inch (DPIDPI) and speed in Pages Per Minute (PPMPPM). Plotters use pens for vector graphics like construction plans. Connection is facilitated through ports: Parallel Ports for high-speed printer connection, Serial Ports for slow-speed data, and Universal Serial Bus (USBUSB) for plug-and-play functionality.

Memory Hierarchy and Storage Systems

Computer memory is organized in a hierarchy to balance speed, size, and cost, moving from registers to cache, then main memory, and finally secondary storage. Primary Memory is volatile and communicates directly with the CPUCPU. It includes Random Access Memory (RAMRAM), which allows reading and writing, and Read Only Memory (ROMROM), which is non-volatile. RAMRAM is split into Dynamic RAMRAM (DRAMDRAM, necessitating continual refresh) and Static RAMRAM (SRAMSRAM, faster and used for cache). ROMROM includes PROMPROM (one-time programmable), EPROMEPROM (erasable by UVUV light), and EEPROMEEPROM (electrically erasable). Cache memory acts as a high-speed buffer between RAMRAM and the CPUCPU.

Secondary Memory provides permanent, non-volatile storage. Magnetic storage includes Hard Disk Drives (HDDHDD), where data is organized into platters, tracks, cylinders, and sectors, and Floppy Disks (1.44MB1.44\,MB for 3.5inch3.5\,inch). Optical storage includes CDsCDs (640680MB640\text{--}680\,MB), DVDsDVDs (4.717GB4.7\text{--}17\,GB), and Blu-ray discs (25GB25\,GB per layer). Solid State storage encompasses pen drives and memory cards. Memory measurement starts at the bit (00 or 11), leading to 1Nibble=4bits1\,Nibble = 4\,bits, 1Byte=8bits1\,Byte = 8\,bits, 1KB=1024Bytes1\,KB = 1024\,Bytes, stretching up to the GeopByteGeopByte, which is the highest unit. A byte represents 256256 distinct values (282^8).

Data Representation and Logic Systems

Computers represent information internally using number systems. The Binary system (Base 2) uses only 00 and 11. The Decimal system (Base 10) uses digits 090-9. The Octal system (Base 8) uses digits 070-7, and the Hexadecimal system (Base 16) uses 090-9 and AFA-F. Conversion involves dividing by the base (e.g., to convert decimal to binary) or multiplying by powers of the base (e.g., binary to decimal). Computer codes like BCDBCD (Binary Coded Decimal), ASCIIASCII (American Standard Code for Information Interchange), and EBCDICEBCDIC (Extended BCD Interchange Code) define how characters are stored. ASCII7ASCII-7 allows 128128 characters, while ASCII8ASCII-8 supports 256256.

Logic Gates are the building blocks of digital circuits. The AND gate returns True only if both inputs are True (X=ABX = A \cdot B). The OR gate returns True if any input is True (X=A+BX = A + B). The NOT gate, or inverter, reverses the input (X=AˉX = \bar{A}). The NAND and NOR gates are universal gates, acting as the inverse of AND and OR respectively. The XOR (Exclusive OR) gate returns True only if exactly one input is True. UNICODE uses 16bits16\,bits to represent international characters, while sign bits indicate positive or negative numbers. One's complement is achieved by inverting all bits in a binary number.

Computer Software and Operating Systems

Software is a collection of programs acting as an interface between the user and hardware. System Software manages internal resources and includes the Operating System (OSOS), BIOS (Basic Input/Output System), device drivers, and language translators like compilers and interpreters. Application Software comprises end-user programs like Word Processors (MS-Word), Spreadsheets (MS-Excel), Presentation software (PowerPoint), and Database Management Systems (DBMSDBMS like