0% found this document useful (0 votes)
9 views6 pages

Computer Fundamentals: Input/Output Devices

The document provides an overview of computer fundamentals, including data processing systems, input/output devices, storage technologies, and operating systems. It covers the architecture and functions of CPUs, memory hierarchy, and networking fundamentals, as well as cybersecurity threats and firewall protection systems. The content is structured into parts that detail various components and their roles in computer systems and networks.

Uploaded by

Gamer Nitin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

Computer Fundamentals: Input/Output Devices

The document provides an overview of computer fundamentals, including data processing systems, input/output devices, storage technologies, and operating systems. It covers the architecture and functions of CPUs, memory hierarchy, and networking fundamentals, as well as cybersecurity threats and firewall protection systems. The content is structured into parts that detail various components and their roles in computer systems and networks.

Uploaded by

Gamer Nitin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Part 1: Computer Fundamentals

1.1 Data Processing System


Data Processing = Input → Processing → Output Cycle
Input Devices Comparison
Output Devices Comparison Device Type Data Input Primary Use
Device Type Data Output Keyboard Text, Commands General input
LCD Monitor Visual Mouse Pointer movement GUI navigation
Inkjet Hard copy Touchscreen Touch gestures Mobile, kiosks
Printer Scanner Images/text Document digitization
Laser Printer Hard copy Microphone Audio Voice input
Speakers Audio Webcam Video Video conferencing
Projector Visual

Specialized Input
 Barcode Reader: Laser, CCD, Camera-based
 Magnetic Stripe Reader: Credit cards Data Collection Devices
 Smart Card Reader: Chip reading  OMR (Optical Mark Recognition): Bubble sheets
 Biometric:  OCR (Optical Character Recognition): Text from images
o Fingerprint Scanner: Optical, Capacitive, Ultrasonic  MICR (Magnetic Ink Character Recognition): Bank checks
o Facial Recognition: 2D, 3D, Infrared  OMR (Optical Mark Recognition): Test forms
o Iris Scanner: Pattern recognition
 Game Controllers: Joystick, Gamepad, Steering wheel
 Motion Sensors: Accelerometer, Gyroscope
 Environmental Sensors: Temperature, Humidity, Light

3.2 Output Devices


Visual Output
1. Monitors/Displays
2. Projectors
3. Printers  Inkjet , Laser , Dot Matrix , 3D Printers:
4. Audio Output  Speakers , Headphones, Tactile Output , Data Output

3.3 Storage Devices (Input/Output)


1. Primary Storage
 RAM Modules:
o DIMM (Dual In-line Memory Module): Desktop
o SODIMM (Small Outline DIMM): Laptop
o ECC (Error Correcting Code): Server memory
 Cache Memory: On-chip (L1, L2), Shared (L3)

2. Secondary Storage

Hard Disk Drives (HDD) Optical Drives Removable Storage


 Platters: Aluminum/glass disks  CD: 700MB, 52x speed  USB Flash Drives: 8GB-2TB
 Read/Write Heads: Magnetic recording  DVD: 4.7-8.5GB, 16x speed  Memory Cards:
 Actuator Arm: Head positioning  Blu-ray: 25-100GB, 12x speed o SD (Secure Digital): SD, SDHC, SDXC
 Interfaces:  Burners: CD-R, DVD±R, BD-R (up to 2TB)
o SATA: 6 Gb/s (600 MB/s) o microSD: Mobile devices
o SAS: 12 Gb/s, dual-port Solid State Drives (SSD) o CFexpress: Professional cameras
o NVMe over PCIe: 4-8 lanes NAND Flash Types:  External HDD/SSD: Portable storage
 SLC: 1 bit/cell, most durable
 MLC: 2 bits/cell, balanced
 TLC: 3 bits/cell, high density
 QLC: 4 bits/cell, highest density

Communication Devices Wireless Communication


Wired Communication  Wi-Fi Adapters: 802.11a/b/g/n/ac/ax
 Network Interface Card (NIC):  Bluetooth: Short-range wireless
o Speeds: 10/100/1000/2500/10000 Mbps  Cellular: 4G/5G modems
o Types: Ethernet, Fiber Channel  GPS: Global Positioning System
 Modem: Modulator/Demodulator  RFID: Radio Frequency Identification
o DSL, Cable, Fiber optic  NFC: Near Field Communication
 Serial/Parallel Ports: Legacy communication
Central Processing Unit (CPU)  CPU = Brain of Computer
 Components:
o ALU (Arithmetic Logic Unit): Performs calculations (+, -, ×, ÷) and logical operations (AND, OR, NOT,
XOR)
o CU (Control Unit): Coordinates all CPU operations, fetches/decodes instructions
o Registers: Ultra-fast temporary memory locations inside CPU
 Data Registers: Store values (AX, BX, CX, DX)
 Address Registers: Hold memory locations (SI, DI, BP, SP)
 Status Registers: CPU condition flags (Zero, Carry, Overflow, Sign)
 Instruction Pointer: Next instruction address
 Stack Pointer: Top of stack memory
o Cache Memory: Faster than RAM, slower than registers
 L1 Cache: Split into Instruction/Data (32KB-64KB)
 L2 Cache: Unified (256KB-512KB)
 L3 Cache: Shared between cores (2MB-32MB)
Computer States
 ON/Running State - Full operational mode
 Sleep/Suspend State - Low power, quick resume
 Hibernate State - Saves to disk, powers off
 Shutdown/Off State - Complete power off
 Safe Mode - Minimal drivers/services loaded
 BIOS/UEFI State - Pre-OS firmware state
 Kernel Panic/BSOD - Critical failure state

1.2 Memory Hierarchy & Types


Primary Memory (Volatile)
RAM (Random Access Memory) Cache Memory
 DRAM (Dynamic RAM): Needs refresh, slower, main memory  L1 Cache (32KB-64KB): Inside CPU, fastest
 SRAM (Static RAM): No refresh, faster, cache memory  L2 Cache (256KB-512KB): On CPU chip
 SDRAM (Synchronous DRAM): Synchronized with CPU clock  L3 Cache (2MB-32MB): Shared between cores
 DDR (Double Data Rate): DDR2, DDR3, DDR4, DDR5  L4 Cache (128MB+): On-package or system memory
 RDRAM (Rambus DRAM): Proprietary, high-speed
CPU Registers : Fastest Cache

Secondary Memory (Non-Volatile)


ROM (Read Only Memory) Optical Storage
 MASK ROM: Factory programmed, unchangeable  CD: 700MB, 1.2mm thick
 PROM: User programmable once (fuses)  DVD: 4.7GB single layer, 8.5GB dual layer
 EPROM: Erasable with UV light (quartz window)  Blu-ray: 25GB single layer, 50GB dual layer
 EEPROM: Electrically erasable byte-by-byte
 Flash Memory: Electrically erasable in blocks Magnetic Storage
o NAND Flash: High density, block erase (SSD, USB)  HDD: Platters, read/write heads
o NOR Flash: Random access, byte write (firmware)  Magnetic Tape: Sequential access, backup

1.4 Motherboard & System Connectivity


Computer States
Motherboard = Primary circuit board connecting all components
Power Management States (ACPI):
 CPU Socket: Processor connection  S0 (Working): Fully operational
 RAM Slots: Memory modules  S1 (Power on Suspend): CPU stopped, RAM refreshed
 Expansion Slots: PCIe for graphics/network cards  S2: CPU powered off
 Storage Connectors: SATA, M.2 for SSD/HDD  S3 (Suspend to RAM): Standby, quick resume
 I/O Ports: USB, Ethernet, Audio, Display  S4 (Hibernate): Suspend to disk
 Chipset: Northbridge/Southbridge managing data flow  S5 (Soft Off): Full shutdown, components powered
 BIOS/UEFI: Firmware for hardware initialization
Process States:
 New: Process creation
 Ready: Loaded in memory, awaiting CPU
 Running: Executing on CPU
 byWaiting/Blocked:
OS Types Processing ModelWaiting for I/O/event
 Terminated:
OS Type KeyExecution
Feature complete Examples Use Case
Batch Processing No user interaction during execution IBM OS/360 Payroll, billing
Time-Sharing Multiple users share CPU time Unix, Multics Servers, mainframes
Real-Time Guaranteed response times VxWorks, QNX Medical, industrial
Distributed Multiple computers as single system Amoeba, Plan9 Cloud computing
Network Manages network resources Windows Server Enterprise networks
Embedded Resource-constrained Embedded IoT, appliances
Linux
Mobile Touch/touchless optimized Android, iOS Smartphones, tablets

Storage Technologies
Type Speed Capacity Use Case
HDD 100-200 MB/s 1-20TB Bulk storage, archives
SSD 500-7000 MB/s 250GB-4TB OS, applications
NVMe 3000-7000 MB/s 250GB-8TB High-performance needs
Optical 1-36 MB/s 700MB-100GB Media distribution
Tape 150-400 MB/s 1.5-18TB Long-term backup
Cloud Varies Unlimited Scalable storage

5.3 Storage Architectures


 DAS (Direct Attached): Direct connection to computer
 NAS (Network Attached): File-level network storage
 SAN (Storage Area Network): Block-level high-speed network
 Cloud Storage: Internet-based scalable storage
o Object Storage: AWS S3, Azure Blob
o Block Storage: AWS EBS, Azure Disks
o File Storage: AWS EFS, Azure Files
1.4 File Systems
2.3 File Systems Comparison
File OS Max File Size Features Best For
System
NTFS Windows 16EB Journaling, encryption, compression Modern Windows systems
FAT32 Cross-platform 4GB Universal compatibility USB drives, SD cards
exFAT Cross-platform 16EB Large file support External media >32GB
APFS macOS 8EB Copy-on-write, snapshots Apple SSDs
Ext4 Linux 16TB Journaling, large volumes Linux systems
ZFS Unix/Linux 16EB Pooled storage, checksums Servers, NAS

File System Components:


 Boot Sector: OS loading instructions
 File Allocation Table: File location tracking
 Directory Structure: File organization hierarchy
 Metadata: File attributes (size, permissions, timestamps)
 Journaling: Crash recovery mechanism

2.1 Types of Operating Systems


 Batch Processing OS (IBM OS/360)
 Network OS (Novell NetWare, Windows Server)
o Jobs collected and processed in batches
o Manages network resources
o No user interaction during execution
o User authentication and authorization
 Time-Sharing OS (Unix, Multics)
o File/printer sharing
o Multiple users simultaneously
 Real-Time OS
o CPU time divided among users
o Hard RTOS (VxWorks, QNX): Guaranteed response time
o Quick response time
o Soft RTOS (Windows CE, FreeRTOS): Best effort timing
 Distributed OS (Amoeba, Plan9)
 Embedded OS (Embedded Linux, RTOS)
o Multiple computers appear as single system
o Resource-constrained devices
o Resource sharing across network
o Specific application focus
o Load balancing
 Mobile OS (Android, iOS)
o Touch-optimized
o Power management
o App ecosystem
Kernel Architecture Models
Operating System Kernel Type Architecture Pros Cons Kernel Name
Linux (Ubuntu, Fedora) Monolithic All services in kernel space Fast performance, efficient Single bug can crash system Linux Kernel
UNIX Monolithic All services in kernel space High performance, stable Less modular UNIX Kernel
Chrome OS Monolithic All services in kernel space Fast, efficient Kernel-level faults affect system Linux Kernel
Android Monolithic Core services in kernel High performance Larger kernel size Linux Kernel
Windows 10 / 11 Hybrid Services split between kernel Balanced performance Complex design Windows NT
macOS Hybrid Microkernel core with monolithic Stable, modular, secure Complex architecture XNU
iOS Hybrid Microkernel-based architecture Secure, efficient Limited customization XNU
QNX Microkernel Minimal services in kernel Highly stable Slower IPC QNX Neutrino
RTOS Nano / Micro Extremely minimal kernel Real-time response Limited features Various
Research Systems Exokernel Applications directly access hardware Maximum performance Difficult to program MIT Exokernel

Kernel Functions Operating System Components 2.3 Application Systems


 Process management  Kernel: Core component  Standalone Applications: Local execution
 Memory management  Shell: Command interpreter  Client-Server Applications: Distributed processing
 Device management  File System: Data organization  Web Applications: Browser-based
 System calls interface  Device Drivers: Hardware interface  Mobile Applications: Platform-specific
 Interrupt handling  System Libraries: API for applications  Cloud Applications: SaaS model
 Security enforcement  GUI/CLI: User interface  Containerized Applications: Docker, Kubernetes

Part 3: Networking Fundamentals


Layer Device Function Examples
Layer 1 Hub Multi-port repeater Dumb hub
Layer 1 Repeater Signal amplification Ethernet extender
Layer 2 Switch MAC-based forwarding Cisco Catalyst
Layer 2 Bridge Network segment connection Wireless bridge
Layer 3 Router IP-based routing Cisco ISR
Layer 3 Layer 3 Switch Switching + routing Managed switch
All Firewall Traffic filtering Palo Alto, Fortinet
Layers
3.2 Network Types – Command to Test Network : Ping
Other Devices
 Modem: Modulator/Demodulator  PAN (Personal Area Network): Bluetooth, Infrared
 Gateway: Protocol converter  LAN (Local Area Network): Ethernet, Wi-Fi
 Proxy Server: Intermediary for requests  MAN (Metropolitan Area Network): City-wide
 Load Balancer: Distributes traffic  WAN (Wide Area Network): Internet, leased lines
 IDS/IPS: Intrusion detection/prevention  SAN (Storage Area Network): High-speed storage
 VPN (Virtual Private Network): Encrypted tunnel

3.3 Protocols and Their Usage


Application Layer Protocols
Protoco Encryption Purpose Transport Layer Protocols
l TCP (Transmission Control Protocol)
HTTP No Web page transfer  Connection-oriented, reliable
HTTPS SSL/TLS Secure web transfer  Three-way handshake, flow control
FTP No File transfer  Used by: HTTP, HTTPS, FTP, SMTP
SFTP SSH Secure file transfer UDP (User Datagram Protocol)
SMTP Optional Email sending  Connectionless, unreliable but fast
POP3 Optional Email retrieval  No handshake, no guarantees
IMAP SSL/TLS Email management  Used by: DNS, DHCP, VoIP, streaming
DNS DNSSEC Name resolution
DHCP No IP assignment
SSH Yes Secure remote access

Part 4: Cybersecurity
Malware Types
Advanced Threats
Type Characteristic Propagation Examples
 APT (Advanced Persistent Threat): Long-term targeted
Virus Attaches to host file User action Melissa, ILOVEYOU
attack (state-sponsored)
Worm Self-replicating Network Code Red, Slammer
 Zero-Day Vulnerability: Unknown flaw with no patch
Trojan Disguised as legitimate User download Zeus, Emotet
available
Ransomwar Encrypts for ransom Email, exploits WannaCry, LockBit  Fileless Malware: Runs in memory, no file traces
e  Supply Chain Attack: Compromises software distribution
Spyware Secretly monitors Bundled software Keyloggers  AI-Powered Attacks: Machine learning enhanced threats
Adware Displays ads Software bundles Browser toolbars
Rootkit Hides existence Exploits Sony BMG
Botnet Zombie network Multiple vectors Mirai, Zeus
4.2 Firewall Protection Systems
Primary Purpose: Monitor & control incoming/outgoing network traffic based on security rules
Firewall Type Operation Level Pros Cons
Packet Filtering Network Layer Fast, simple No state tracking
Stateful Inspection Transport Layer Connection tracking More resource intensive
Proxy Application Layer Deep inspection Slow, single point
Next-Generation All Layers Integrated security Complex, expensive

4.3 Security Terminology

Security Protocols Security Concepts Vulnerabilities & Exploits


 IPSec: Network layer encryption  Defense in Depth: Multiple security layers  Zero-Day: Unknown vulnerability to developer
 SSL/TLS: Transport layer security  Least Privilege: Minimum necessary access  N-Day: Known but unpatched
 WPA2/WPA3: Wireless security  Separation of Duties: Critical tasks divided  Buffer Overflow: Memory corruption
 DNSSEC: DNS security  Fail Secure: Default to secure state  SQL Injection: Database attack
 S/MIME: Email encryption  Non-Repudiation: Cannot deny action  XSS (Cross-Site Scripting): Web attack
 PGP/GPG: File/email encryption  Confidentiality, Integrity, Availability (CIA Triad)  CSRF (Cross-Site Request Forgery)
 MITM (Man-in-the-Middle)
 DDoS (Distributed Denial of Service)
5.3 File Transfer Protocols Comparison  Phishing/Spear Phishing/Whaling
Protoco Encryption Description  Social Engineering
l
FTP None Basic file transfer
SFTP SSH encryption Secure file transfer Common Port Numbers
FTPS SSL/TLS FTP over SSL Protocol Service
TFTP None Simple, no authentication FTP File Transfer
SCP SSH encryption Secure copy SSH/SFTP Secure Shell
HTTP/S SSL/TLS (HTTPS) Web-based transfer Telnet Remote Access
SMB Optional Windows file sharing SMTP Email Send
NFS Optional Unix/Linux file sharing DNS Domain Name
DHCP IP Assignment
RAID Levels Comparison HTTP Web Traffic
Level Min Disks Redundancy Performance Use Case POP3 Email Receive
RAID 0 2 None Excellent Performance NTP Time Sync
RAID 1 2 Mirroring Good Read Critical Data IMAP Email Management
RAID 5 3 Parity Good Balanced HTTPS Secure Web
RAID 6 4 Dual Parity Good Large arrays SMB File Sharing
RAID 10 4 Mirror+Stripe Excellent High performance RDP Remote Desktop

2.1 Hardware Inventors


Inventor Invention Year Nationality Key Contribution
Charles Babbage Analytical Engine 1837 British "Father of Computer"
Ada Lovelace First Computer Algorithm 1843 British First programmer
John von Neumann Von Neumann Architecture 1945 Hungarian- Stored program concept
American
Alan Turing Turing Machine 1936 British Theoretical computing
Konrad Zuse First Programmable 1941 German Z3 computer
Computer
John Presper ENIAC 1946 American First electronic computer
Eckert
John Mauchly ENIAC 1946 American First electronic computer
Tommy Flowers Colossus Computer 1943 British Code-breaking computer
Jack Kilby Integrated Circuit 1958 American Microchip co-inventor
Robert Noyce Integrated Circuit 1959 American Microchip co-inventor
Gordon Moore Moore's Law 1965 American Co-founder Intel
Ted Hoff Microprocessor 1971 American Intel 4004
Federico Faggin Microprocessor 1971 Italian Intel 4004 designer
Douglas Engelbart Computer Mouse 1964 American Also invented GUI
Robert Metcalfe Ethernet 1973 American LAN technology
Ralph Baer Video Game Console 1967 German-American "Father of video games"

2.2 Memory & Storage Inventors


Inventor Invention Year Details
An Wang Magnetic Core Memory 1949 Chinese-American
Robert Dennard DRAM 1968 American (IBM)
Fujio Masuoka Flash Memory 1984 Japanese (Toshiba)
Reynold B. Hard Disk Drive 1956 American (IBM)
Johnson
James T. Russell Optical Disc 1966 American
Shuji Nakamura Blu-ray Technology 1990s Japanese

2.3 Software & OS Inventors


Inventor Contribution Year Details
Bill Gates MS-DOS, Windows 1981 Microsoft founder
Paul Allen Microsoft Co-founder 1975 American
Steve Jobs Apple Macintosh 1984 Apple co-founder
Steve Wozniak Apple I & II 1976 Apple co-founder
Linus Torvalds Linux Kernel 1991 Finnish
Richard Stallman GNU Project 1983 Free software movement
Ken Thompson UNIX 1969 American (Bell Labs)
Dennis Ritchie C Language, UNIX 1972 American (Bell Labs)
Bjarne Stroustrup C++ 1985 Danish
Guido van Python 1991 Dutch
Rossum
James Gosling Java 1995 Canadian
Brendan Eich JavaScript 1995 American
Anders Hejlsberg C#, TypeScript 2000-2012 Danish
Tim Berners-Lee World Wide Web 1989 British
Vint Cerf TCP/IP 1970s "Father of Internet"
Bob Kahn TCP/IP 1970s American

2.4 Programming Language Creators


Language Creator(s) Year Key Features
FORTRAN John Backus (IBM) 1957 First high-level language
COBOL Grace Hopper 1959 Business applications
LISP John McCarthy 1958 AI programming
BASIC John Kemeny, Thomas Kurtz 1964 Beginner's language
Pascal Niklaus Wirth 1970 Teaching language
C Dennis Ritchie 1972 Systems programming
C++ Bjarne Stroustrup 1985 Object-oriented C
Python Guido van Rossum 1991 Readable, versatile
Java James Gosling (Sun) 1995 Write once, run anywhere
JavaScript Brendan Eich 1995 Web scripting
PHP Rasmus Lerdorf 1995 Web development
Ruby Yukihiro Matsumoto 1995 Developer happiness
C# Anders Hejlsberg (Microsoft) 2000 .NET framework
Go Robert Griesemer, Rob Pike, Ken Thompson 2009 Google systems language
Rust Graydon Hoare (Mozilla) 2010 Memory safety
Swift Chris Lattner (Apple) 2014 iOS/macOS development

You might also like