E N D
1. 1 Computer System Basics
2. 2 The System Unit Bay - a shelf or opening used for the installation of electronic equipment
System unit - houses the motherboard, power supply, and storage devices
Case - empty box with just power supply FACTOID: A bay which is open to the outside of the PC is termed “accessible” or “exposed.” A bay which is closed inside the PC case is termed “hidden” or “internal.”
FACTOID: A bay which is open to the outside of the PC is termed “accessible” or “exposed.” A bay which is closed inside the PC case is termed “hidden” or “internal.”
3. 3 Computer Architecture
4. 4 Flow of Information The parts are connected to one another by a collection of wires called a bus
5. Memory Memory is a collection of cells, each with a unique physical address for random (direct) access
memory is divided into fixed-length units or words
Information that is stored in memory cells is in binary coded format:
Instructions that make up programs
Data: text symbols, numbers, images, etc.
6. 6 Information Storage Kilobyte approx. 1000 bytes (actually 210 = 1024 bytes)
Megabyte approx. 1,000,000 bytes (one million)
Gigabyte approx. 1,000,000,000 bytes (one billion)
Terabyte approx. 1 trillion bytes
Petabyte approx. 1 quadrillion bytes
FACTOIDs:
The prefix “mega” in “megabyte” comes from the Greek word “megas” meaning “mighty” or “great.”
The prefix “giga” in “gigabyte” comes from a Greek word meaning “giant.”
The prefix “tera” in “terabyte” comes from a Greek word meaning “monster.”
You might think that the largest unit of storage capacity is a petabyte, but in fact, there are also exabytes, zetabytes, and yottabytes. FACTOIDs:
The prefix “mega” in “megabyte” comes from the Greek word “megas” meaning “mighty” or “great.”
The prefix “giga” in “gigabyte” comes from a Greek word meaning “giant.”
The prefix “tera” in “terabyte” comes from a Greek word meaning “monster.”
You might think that the largest unit of storage capacity is a petabyte, but in fact, there are also exabytes, zetabytes, and yottabytes.
7. 7 Types of Memory Types of memory chips:
RAM
ROM
CMOS
Flash Volatile - a term used to describe memory in which the contents are lost when the power goes off or is turned off.Volatile - a term used to describe memory in which the contents are lost when the power goes off or is turned off.
8. 8 Types of Memory RAM - Random Access Memory, used to temporarily hold software instructions and data
ROM - Read-Only Memory, which cannot be written on or erased by the computer user. Contains fixed start-up instructions
CMOS - Complementary metal-oxide semiconductor; powered by a battery and thus doesn’t lose its contents when the power is off
Flash - can be erased and reprogrammed more than once Read - to transfer data from an input source into the computer’s memory or CPU.
Write - to transfer data from the computer’s CPU or memory to an output device.
FACTOID: “Firmware” is a combination of software and the read-only storage hardware (such as ROM chips) on which it is recorded.
Read - to transfer data from an input source into the computer’s memory or CPU.
Write - to transfer data from the computer’s CPU or memory to an output device.
FACTOID: “Firmware” is a combination of software and the read-only storage hardware (such as ROM chips) on which it is recorded.
9. 9 Cache and Virtual Memory Cache - temporary storage for instructions and data that the processor is likely to use frequently, thus speeding up processing
Level 1 (L1) cache - built into the microprocessor
Level 2 (L2) cache - consists of RAM chips outside microprocessor
Virtual memory - free hard-disk space used to extend the capacity of RAM Processor searches for data or instructions in the following order:
L1
L2
RAM
Virtual memoryProcessor searches for data or instructions in the following order:
L1
L2
RAM
Virtual memory
10. 10 Secondary Storage Devices Because most of main memory is volatile and limited, it is essential that there be other types of storage devices where programs and data can be stored when they are no longer being processed
Secondary storage devices can be installed within the computer box at the factory or added later as needed
Examples of secondary storage media:
Magnetic tape
Magnetic disk (hard disk or floppy disk)
Optical disk (such as CD ROM or DVD ROM)
Zip disks (a type of magnetic media)
External flash memory
11. Magnetic Disks A read/write head travels across a spinning magnetic disk, retrieving or recording data
Each disk surface is divided into sectors and tracks
Example of disk addressing scheme: surface 3, sector 5, track 4
12. 12 Compact Disks and DVD A CD drive uses a laser to read information stored optically on a plastic disk
CD-ROM is Read-Only Memory
DVD stands for Digital Versatile Disk
DVD-ROM - for reading only
DVD-R - for recording on once
For rewriting many times:
DVD-RW
DVD-RAM
DVD+RW
13. 13 Ports & Cables Types of ports:
Serial port
Parallel port
SCSI port
USB port
Dedicated ports
Infrared port
14. 14 Ports & Cables Serial port - sends bits one at a time, one after another
Used to connect a variety of “serial” devices
Sometimes used to connect mouse or keyboard
Parallel port - transmits 8 bits simultaneously
Used most commonly for printers
Also used for other “parallel” devices such as external hard drives, external CD drives, etc.
Being practically replaced with faster technologies such as USB. Parallel port is third from left on bottom of display.
Parallel ports are faster than serial ports, but can transmit information efficiently only up to 15 feet.Parallel port is third from left on bottom of display.
Parallel ports are faster than serial ports, but can transmit information efficiently only up to 15 feet.
15. 15 Expandability: Buses & Cards Expansion slots- sockets on the motherboard into which you can plug expansion cards
Expansion cards - circuit boards that provide more memory or that control peripheral devices
Examples:
Graphics (video) cards
Network cards
Internal modems
16. 16 The Components of System Software Operating system - the principal component of system software
Device drivers - help the computer control peripheral devices
Utility programs - support, enhance, or expand existing programs Operating system (OS) - the master system of programs that manage the basic operations of the computer. Also called the software platform.Operating system (OS) - the master system of programs that manage the basic operations of the computer. Also called the software platform.
17. 17 Structure of the OS The operating system shell includes the user interface (UI).
Users only interact with the OS through the UI.
The UI can be
Command/character-based (e.g., DOS or UNIX)
Graphical user interface (GUI), involving windows, menus, icons, etc.
18. 18 What Is an Operating System? The operating system:
A collection of programs that help you use the computer.
Acts as a smart assistant that moves controls the flow of information to various components and other programs.
Manages the usage, storage, and access of programs, data, and processes.
19. 19 Main Operating System Functions Task management
preparing, scheduling, and monitoring of tasks for continuous processing by the CPU
Memory management
allocation of memory for various tasks; transfer of data and programs from external storage to memory and back; virtual memory management; cache management
Device management
controlling flow of data to an from input/output devices, and management of device drivers
File and data management
controlling how files are created, accessed, organized, copied, and modified; controlling and managing the storage of data in external storage devices
System monitoring
monitoring of system resources and devices; error detection and recovery
20. 20 File Management Concepts A file is a named collection of related data
A file system is the logical view that an operating system provides so that users can manage information as a collection of files
A file system is often organized by grouping files into directories (Folders)
Most files, whether they are in text or binary format, contain a specific type of information
For example, a file may contain a Java program, a JPEG image, or an MP3 audio clip
The kind of information contained in a document is called the file type
Most operating systems recognize a list of specific file types
21. 21 File Management Concepts File names are often separated, usually by a period, into two parts
Main name
File extension
The file extension indicates the type of the file
22. 22 File Management Concepts File Protection
In multi-user systems, file protection is of primary importance
We don’t want one user to be able to access another user’s files unless the access is specifically allowed
A file protection mechanism determines who can use a file and for what general purpose
A file’s protection settings in the Unix operating system is divided into three categories: Owner, Group, World (all users)
23. 23 File Management Concepts A directory of files can be contained within another directory
The directory containing another is usually called the parent directory, and the one inside is called a subdirectory
The directory at the highest level is called the root directory
A file system is often viewed as a directory tree
At any point in time, you can be thought of as working in a particular location (that is, a particular subdirectory)
This subdirectory is referred to as the current working directory
24. 24 Example: Directory Tree in Windows
25. 25 Path Names A particular file is identified by specifying that file’s path, which is the series of directories through which you must go to find the file
An absolute path name begins at the root and specifies each step down the tree until it reaches the desired file or directory
A relative path name begins from the current working directory
Examples of absolute paths:
C:\Program Files\MS Office\WinWord.exe
C:\My Documents\letters\applications\vaTech.doc
C:\Windows\System\QuickTime
Suppose the current working directory is
C:\My Documents\letters
Then the following relative path name
applications\depaul.doc
Corresponds to the absolute path:
C:\My Documents\letters\applications\depaul.doc