Introduction To Computers: Hardware and Software
description
Transcript of Introduction To Computers: Hardware and Software
![Page 1: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/1.jpg)
James Tam
Introduction To Computers: Hardware and SoftwareIn this section of notes you will learn how the basic parts of a computer work as well what are the fundamental categories of computer programs
![Page 2: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/2.jpg)
James Tam
What Is Hardware?
The physical components of a computer system e.g., a monitor, keyboard, mouse and the computer itself.
![Page 3: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/3.jpg)
James Tam
Basic Units Of Measurement
Bit
•binary digit
•smallest unit of measurement
•two possible values
Byte
•8 bits
Word• The number of adjacent bits that can be stored and manipulated as a unit
•32, 64 for home computers, 128 for the most powerful
![Page 4: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/4.jpg)
James Tam
Large Units Of Measurement (Memory, Storage)
Note: use powers of two because computer memory and storage are based on the basic unit (bit).
~ 20 million four-drawer filing cabinets full of text
Kilobyte (kB) – a thousand bytes (1,024 = 210)
Megabyte (MB) - a million (1,048,576 = 220)
Gigabyte (GB) – a billion (1,073,741,824 = 230)
Terabyte (TB) – a trillion (1,099,511,627,776 = 240)
~ A complete set of encyclopedias requires about 600 MB of storage
![Page 5: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/5.jpg)
James Tam
Small Units Of Measurement (Speed)
millisecond (ms) – a thousandth of a second (1/1,000 = 10-3)
microsecond (μs) - a millionth of a second (1/1,000,000 = 10-6)
nanosecond (ns) – a billionth of a second (1/1,000,000,000 = 10-9)
![Page 6: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/6.jpg)
James Tam
High Level View Of A Computer
![Page 7: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/7.jpg)
James Tam
Input
![Page 8: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/8.jpg)
James Tam
Input Devices
Used by a person to communicate to a computer.
Person to computer
![Page 9: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/9.jpg)
James Tam
Example Input Devices
Keyboard
Mouse
Need not be mundane! (A Jouse)
From http://www.jouse.com/
![Page 10: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/10.jpg)
James Tam
Processor
![Page 11: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/11.jpg)
James Tam
Processor
The brains of a computer (maybe not…)
A real processor
![Page 12: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/12.jpg)
James Tam
Processor Speed
Determined by:• Type of processor e.g., Pentium III, IV, AMD Duron, Athalon• Clock speed
- 1 Hz = 1 pulse is sent out each second (1 second passes between each pulse)
- 10 Hz = 10 pulses are sent out each second (0.1 seconds passes between each pulse)
- :
- 25 MHz machine = 25 million pulses sent out each second (0.000 000 04 seconds between each pulse or 40 ns between pulses)
![Page 13: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/13.jpg)
James Tam
The Processor And The Computer
Image from Peter Norton's Computing Fundamentals (3rd Edition) by Norton P.
![Page 14: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/14.jpg)
James Tam
Memory
![Page 15: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/15.jpg)
James Tam
RAM
Volatile
Used for temporary storage
Typical ranges 256 MB ~1 GB
![Page 16: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/16.jpg)
James Tam
RAM (2)
Means direct access to any part of memory
Picture from Computers in your future by Pfaffenberger B
![Page 17: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/17.jpg)
James Tam
How Does RAM Work?
Like a leaky bucket
From www.howstuffworks.com
![Page 18: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/18.jpg)
James Tam
How Does RAM Work?
Like a leaky bucket
From www.howstuffworks.com
Transistor
Capacitor
![Page 19: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/19.jpg)
James Tam
RAM: A Collection Of Capacitors
A capacitor
![Page 20: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/20.jpg)
James Tam
Types Of RAM
Old versions of RAM• EDO RAM
- Slowest- For older computers
• SD-RAM- Faster- Was the former standard
Pictures from http://www.geekshelter.com
![Page 21: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/21.jpg)
James Tam
Types Of RAM (2)
Newer version of RAM• DDR-RAM (Double Data Rate RAM)
- Double the speed of SD-RAM- Originally exclusively used with AMD processors
• RD-RAM (Rambus Dynamic RAM)- Produced by Rambus- Fast!- Used with Pentium 4 powered computers
Pictures from http://www.geekshelter.com
![Page 22: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/22.jpg)
James Tam
Storage
![Page 23: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/23.jpg)
James Tam
Storage Vs. Memory?
Memory (e.g., RAM)
•keep the information for a shorter period of time (usually volatile)
•faster
•more expensive
Storage (e.g., Hard disk)
•the information is retained longer (non-volatile)
•slower
•cheaper
![Page 24: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/24.jpg)
James Tam
Categories Of Storage
1) Magnetic
• Floppy disks
• Zip disks
• Jazz drives
• Hard drives
2) Optical
• CD-ROM
• DVD
![Page 25: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/25.jpg)
James Tam
Magnetic Drives: A Hard Drive In Action
![Page 26: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/26.jpg)
James Tam
Magnetic Drives: Storage Capacities
Floppy disks• ~ 1 MB
Zip disks• 100 or 250 MB
Jazz drives• 1 – 2 GB
Hard drives• ~20 – 120+ GB
![Page 27: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/27.jpg)
James Tam
Optical Drives: Reading Information
![Page 28: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/28.jpg)
James Tam
Optical Drives: Recording and Reading Information
![Page 29: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/29.jpg)
James Tam
Optical Drives: Re-writing
![Page 30: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/30.jpg)
James Tam
Optical Drives: Re-writing
![Page 31: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/31.jpg)
James Tam
Optical Drives
CD's• ~ 700 MB storage• CD-ROM (read only) • CD-R: needs a CD-burner to create (record) to a CD• CD-RW: can write and erase CD to reuse it (re-writable)
DVD-ROM• ~ 3.8 – 17 GB storage• DVD- ROM (read only)• Many recordable formats (e.g., DVD/CD-RW, DVD-RAM, DVD-R, CD-
RW etc)
![Page 32: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/32.jpg)
James Tam
Output
![Page 33: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/33.jpg)
James Tam
Output Devices
Displays information from the computer to the a person.
![Page 34: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/34.jpg)
James Tam
The Most Common Output Device: The Monitor
Types of computer monitors
1) CRT's (Cathode Ray Tube)
2) LCD's (Liquid Crystal Display)
![Page 35: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/35.jpg)
James Tam
CRT's Monitors
Images are displayed with dots (pixels) drawn with light "guns"
Picture from Computer Confluence by Beekman G.
![Page 36: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/36.jpg)
James Tam
LCD Monitors
Employ a conductive grid for each row and column
The meeting of a row and column allows light to be emitted (a pixel can be seen)
![Page 37: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/37.jpg)
James Tam
Colour LCD Monitors
Use three subpixels:• One wire for each row• One wire for each subpixel • One colour filter for each colour (red, blue, green)
![Page 38: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/38.jpg)
James Tam
Some Determinants Of The Quality Of Monitors
1) Size
2) Resolution
3) Color depth
4) Dot pitch
![Page 39: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/39.jpg)
James Tam
1) Monitor Quality (size)
Measured diagonally
![Page 40: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/40.jpg)
James Tam
2) Monitor quality (resolution)
Columns of pixels x Rows of pixels
For a given monitor size, the higher the resolution the sharper the image
Col 1, Row 1
Col 2, Row 1
Col 3, Row 1
… Col [c], Row 1
Col 1, Row 2
Col [c], Row 2
Col 1, Row 3
Col [c], Row 3
: :
Col 1, Row [r]
Col 2, Row [r]
Col 3, Row [r]
… Col[c], Row[r]
![Page 41: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/41.jpg)
James Tam
3) Monitor Quality (Color Depth)
The number of possible colors that can be displayed for each pixel.
e.g. monochrome (single color) 01
2 possible values
Uses up 1 bit of space
![Page 42: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/42.jpg)
James Tam
3) Monitor Quality (Effects Of Color Depth)
256 colours
16 colours2 colours
16 million colours
![Page 43: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/43.jpg)
James Tam
4) Monitor Quality (Dot Pitch)
Dot pitch is the distance between the center of each color dot (mm)
dot pitch
![Page 44: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/44.jpg)
James Tam
Refresh rate of monitors
How fast the screen is redrawn
(70 Hz / 70 times per second is usually a good minimum)
![Page 45: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/45.jpg)
James Tam
All The Basic Parts Together
Diagram from http://www.jegsworks.com
![Page 46: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/46.jpg)
James Tam
The Motherboard
Diagram from http://www.jegsworks.com
![Page 47: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/47.jpg)
James Tam
Printers
Common types
•Inkjet
•Laser
Note: By default on the CPSC network you only have access to text-only printers (do not print formatted text or graphics on them!) You can pay a minimal fee to access the laser printers.
![Page 48: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/48.jpg)
James Tam
How Inkjet Printers Work.Use a series of nozzles to spray drops of ink directly on the paper
Slots for print cartridges
Ink nozzles
Picture from www.howstuffworks.com
Print heads
![Page 49: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/49.jpg)
James Tam
How Laser Printers Work
Use a laser to produce patterns on an ink drum using static electricity
Diagram from www.howstuffworks.com
![Page 50: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/50.jpg)
James Tam
Software
The instructions that tell the hardware what to do.
1) Balance my check book.2) Do taxes3) Print out my resume4) : :
![Page 51: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/51.jpg)
James Tam
Categories Of Software
1) Application programs (applications)
2) Operating systems
3) Compilers
![Page 52: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/52.jpg)
James Tam
1) Common Types Of Application Programs
1) Word processors
2) Spreadsheets
3) Databases
4) Presentation software
5) Web browsers
: :
![Page 53: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/53.jpg)
James Tam
2) Operating Systems: What Do They Do?
1) Act an an intermediary between the user and the hardware
2) Manage the resources of the computer
3) Some may act to secure some parts of the computer
![Page 54: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/54.jpg)
James Tam
Operating Systems: The Intermediary Between The User And The Hardware
(operating system)
![Page 55: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/55.jpg)
James Tam
Operating Systems: Manage System Resources (1)
e.g., Processor time
A = B + C
![Page 56: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/56.jpg)
James Tam
Operating Systems: Manage System Resources (2)
A = B + C
RAMe.g., Memory management
![Page 57: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/57.jpg)
James Tam
Operating Systems: Securing The Computer (not done)
Single (faceless) user – security less of an issue
My resume
Claude Rains from Phantom of the Opera
![Page 58: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/58.jpg)
James Tam
Operating Systems: Securing The Computer (done)
Multiple users – security is more important
Bill Mary George
Mary's assignmentBill's
assignment George's assignment
![Page 59: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/59.jpg)
James Tam
3) Compilers (Real-World)
Huh?Merry
Christmas and Happy New
Year!
Same to you buddy!
Real life translation
![Page 60: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/60.jpg)
James Tam
3) Compilers (Computers)
1) A programmer writes a computer program 2) The compiler
translates the program into a form that the computer can understand
3) An executable program is created
Anybody who has this executable on their computer can then run (use) it.
![Page 61: Introduction To Computers: Hardware and Software](https://reader033.fdocuments.us/reader033/viewer/2022061522/56816087550346895dcfaf44/html5/thumbnails/61.jpg)
James Tam
Summary
What is hardware?
What are the basic parts of a computer?• What are some common input devices?• What is the purpose of the processor? What are some examples of modern
processors and their speeds?• How does computer memory work?• What are some common types of computer storage devices?• What are the main types of computer monitors and how do they work?• What are some of the factors that determine the quality of computer monitors?
What is software?
What are the main categories of software• What are application programs?• What do operating systems do?• What is a compiler?