Notes on Computer Fundamentals and Data Representation

Introduction to Computers

  • A computer is an electronic device operating under instructions stored in its memory; it accepts data (input), processes data, produces information (output), and stores information for future use.

  • Early concept: Analytical Engine by Charles Babbage (1837).

  • Computers are everywhere in daily life (emails, online shopping, ATMs, games, documents, social media, videos).

  • Ubiquitous platforms: desktops, laptops, TVs, remote controls, ACs, refrigerators, cars, smartphones, tablets.

FULL FORM of COMPUTER

  • C O M P U T E R stands for: CCommon OOperating MMachine PPurposely UUsed for TTechnological EEducational RResearch

MS Word: Overview & Features

  • MS Word is an application to create letters, reports, newsletters, tables, form letters, brochures, and Web pages.

  • Can insert pictures, tables, and charts; spell check and grammar check.

MAIN FEATURES OF MS WORD

  • Create documents quickly using built-in and custom templates.

  • Manage large documents with features like table of contents, index, and cross-references.

  • Mail merge for mass mailings or mailing labels.

  • Create and format tables with AutoFormat; AutoCorrect and AutoFormat rectify errors; predefined shortcuts and typing patterns.

Computer Basics: Definition & Scope

  • A computer processes data under control of stored instructions to produce output and to store information for future use.

  • Computers are embedded in many devices beyond PCs: TVs, remotes, home appliances, cars, mobile devices.

System Tools vs Application Software

  • System Tools: Maintain, manage, and optimize the computer system.

  • Application Software: Perform specific user-oriented tasks.

  • Relation to OS: System Tools work closely with the OS/hardware; Application Software runs on the OS.

  • Functionality: System Tools focus on system performance, security, maintenance; Applications focus on user tasks.

  • Examples:

    • System Tools: Disk Cleanup, Task Manager, Device Manager

    • Applications: MS Word, Photoshop, Excel

  • Installation: System Tools often pre-installed; Applications installed by the user.

  • Frequency of Use: System Tools for maintenance/troubleshooting; Applications used regularly.

Common Acronyms & System Tools (Overview)

  • Common tools include: Disk Cleanup, Command Prompt, PowerShell, Defragment/Optimize Drives, Event Viewer, File Explorer, Task Scheduler, Device Manager, etc.

Generations of Computers

  • First Generation: 1940s1950s1940s-1950s — Vacuum Tube Based

  • Second Generation: 1950s1960s1950s-1960s — Transistor Based

  • Third Generation: 1960s1970s1960s-1970s — Integrated Circuit Based

  • Fourth Generation: 1970sPresent1970s-Present — Microprocessor Based

  • Fifth Generation: Present - Future — Artificial Intelligence Based

Characteristics of Computers

  • Speed, Storage Capacity, Reliability, Flexibility, Accuracy

  • Accessibility tools: Magnifier; On-Screen Keyboard; Paint; Notepad; Calculator

System Tools: Types & Working

  • Disk Cleanup Tools: remove unnecessary files; examples: Disk Cleanup, CCleaner

  • Command-Line Tools: perform tasks via text commands; examples: CMD, PowerShell, Terminal

  • System Restore Tools: revert to a previous working state (e.g., Windows System Restore)

  • Task Scheduling Tools: automate tasks at set times

  • Driver Management Tools: install/update drivers (e.g., Device Manager)

  • File Management Tools: manage files/folders (e.g., File Explorer, Finder, WinRAR)

  • Disk Management Tools: manage disk partitions/storage (e.g., Disk Management, Partition Wizard)

  • Backup Tools: copy important data for recovery (e.g., Windows Backup, Acronis True Image)

  • System Monitoring Tools: monitor performance (CPU, RAM, Disk) (e.g., Task Manager, Resource Monitor)

  • Antivirus & Security Tools: protect against malware (e.g., Windows Defender, Avast)

  • Limitations: No IQ, no feelings/EQ, lack of decision making, lack of common sense, cannot implement; depends on humans; security vulnerabilities

Memory Hierarchy Design

  • Leveling concept: faster, smaller, costlier memories are closer to CPU; slower, larger, cheaper memories are farther away.

  • Level 1: Cache Memory (SRAM)

  • Level 2: Main Memory (DRAM)

  • Level 3: Magnetic Disk (Disk Storage)

  • Level 4: Optical Disk

  • Level 5: Magnetic Tape

Generations: Continued Context

  • Hybrid Computer: combines analog and digital features (e.g., mobile phones, smart watches)

  • Supercomputers: highest performance; used for weather forecasting, scientific research, space exploration; features include high processing speed, large data handling, high cost, large size

Memory/Storage Units

  • Temporary Memory: RAMRAM

  • Permanent Memory: ROM,HardDisk,SSDROM, Hard Disk, SSD

  • Cache Memory: high-speed memory for CPU access

  • Basic Computer Organization: Input Devices, CPU, Output Devices, Memory

Basic Computer Organization & Architecture

  • Input Devices: Keyboard, Mouse, Scanner, Data Joystick; convert data to machine-readable form

  • CPU: Central Processing Unit

  • Output Devices: Monitor, Printer, Speakers, Headphones; display results

  • Memory: stores data/instructions for processing

Computer Organization: Registers & Data Path

  • CPU Organization focuses on internal hardware arrangement and data flow

  • Registers: small fast storage inside CPU; support immediate data during processing

  • Types of Registers:

    • Accumulator (ACC): stores intermediate arithmetic/logical results

    • Instruction Register (IR): holds current instruction

    • Program Counter (PC): points to next instruction address

    • Memory Address Register (MAR): holds address of data in memory

    • Memory Buffer Register (MBR): holds data fetched from memory

    • General Purpose Registers: hold temporary data during operations

Registers: Functions

  • Store data currently being processed

  • Hold instructions fetched from memory

  • Store addresses pointing to memory locations

  • Provide fast access to data required by CPU operations

Input Unit

  • Devices: Keyboard, Mouse, Scanner, Data Joystick, etc.

  • Role: Accepts data and converts to machine-readable form; sends to memory/CPU for processing

Output Unit

  • Devices: Monitor, Printer, Speakers, Headphones, etc.

  • Role: Converts processed data to human-readable form; displays results

Control Unit

  • Controls data flow between CPU, memory, and I/O devices

  • Decodes instructions fetched from memory

  • Sends control signals to ALU, memory, and I/O devices

  • Coordinates hardware response to instructions

  • Tells ALU what operation to perform (add, subtract, compare, etc.)

ALU (Arithmetic Logic Unit)

  • Contains two units: Arithmetic Unit and Logic Unit

  • Arithmetic Unit: addition, subtraction, multiplication, division

  • Logic Unit: comparisons (>, <, =, etc.)

  • Performs arithmetic and logic operations; uses registers to hold data

CPU: Central Processing Unit

  • Known as the brain of the computer

  • Performs calculations and makes decisions

  • Subsystems: Arithmetic Logic Unit (ALU), Control Unit (CU), Registers