Introduction to Computing: Lecture 5 - Computer Files includes about Files, Records and Fields, File Storage Media, Magnetic Disk, Addressing in Magnetic Disks, File Organisation using Magnetic Disk, Accessing Disk Files, Computer File Systems.
Trang 1Introduction to Computing
Lectured by: Dr Pham Tran Vu
t.v.pham@cse.hcmut.edu.vn
Trang 2Computer Files
Trang 3Files, Records and Fields
Trang 4Collection of related data item
Data items make up records are called fields
Field
Made of characters
Trang 5Fixed or variable in length
Record identification
Primary key
Trang 6File Storage Media
Serial access media
All preceding records need to be read to a particular
record in a file
Non-addressable
E.g magnetic tapes
Direct access media
Allow direct access to individual records
Addressable
E.g floppy disks, hard disks, etc
Trang 7sector / record)
Head
Cylinder
Head movement
Rotation
axis
5400 rpm
CHR
Trang 8Addressing in Magnetic Disks
Sectors
A sector is a smallest physical area on a disk that can be
addressed, referred to as a block
Trang 9File Organisation using Magnetic Disk
Records are ordered by keys
Index is used to allow direct access to records
Random
Records are placed on disk randomly not in any
particular sequence
Trang 11Computer File Systems
A method for storing and organising
computer files and the data they contain to locate and access them
E.g FAT32, NTFS, SMB, Linux File
Systems
Logical management of computer files
Files and directories
Trang 12Logical containers of files
Directories are commonly structured in hierarchy
Metadata
Book keeping information associated to files
Trang 13Hierarchical File Systems
ChinaFilm
Trang 14Computer Networks
Trang 15Local Area Networks
Two broadcast networks
(a) Bus
(b) Ring
Trang 16Metropolitan Area Networks
A metropolitan area network based on cable
TV.
Trang 17Wide Area Networks (1)
Relation between hosts on LANs and the
subnet.
Trang 19Wireless Networks (2)
(a) Bluetooth configuration
(b) Wireless LAN
Trang 21Star Network
Trang 22Ring Network
Trang 23IBM Token Ring
Trang 24Bus Network
Trang 25Network Cabling
Twist pair
Coaxial
Fibre optic
Trang 26Twisted Pair
(a) Category 3 UTP.
(b) Category 5 UTP.
Trang 27Coaxial Cable
A coaxial cable.
Trang 28Fiber Optics
(a) Three examples of a light ray from inside a silica fiber
impinging on the air/silica boundary at different angles.
(b) Light trapped by total internal reflection.
Trang 29Fiber Cables
(a) Side view of a single fiber.
(b) End view of a sheath with three fibers.
Trang 31Benefits of Computer Networks
Sharing hardware and software