Top Banner
Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University, funded by the Department of Health and Human Services, Office of the National Coordinator for Health Information Technology under Award Number IU24OC000015.
26

Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Dec 28, 2015

Download

Documents

Homer Johnston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Introduction to Information and Computer Science

Computer Hardware

Lecture b

This material (Comp4_Unit3b) was developed by Oregon Health and Science University, funded by the Department of Health and Human Services, Office of the National Coordinator for Health Information Technology under Award Number

IU24OC000015.

Page 2: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Computer HardwareLearning Objectives

• List the major elements of a computer (Lecture a)• Describe how data is stored in memory and in secondary storage

(Lecture b)• Describe how data is represented in binary notation (Lecture b)• Describe the function of the central processing unit (CPU) of the

computer (Lecture c)• Describe how data is input/output from a computer (Lecture b and c)• Describe how the elements of a computer system work together

(Lecture c)• Explain how specialized architectures and embedded systems are

used in healthcare settings (Lecture c)

2Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 3: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports

• Mouse (PS/2)– Round in shape, usually colored green, and customized to fit a vintage

mouse connection type

• Keyboard (PS/2)– Round in shape, usually colored purple, and also customized to fit a

vintage keyboard connection type

(Rogers, 2004, PD-US))

3Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 4: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• VGA (Video Graphics Array)

– Three-row, 15-pin connector used to connect a monitor to computer

• Provides basic resolution and still in use today

• DVI (Digital Visual Interface)

– Port provides high-quality output to flat panel monitors, replacing VGA standard since it provides better quality video

• HDMI (High-Definition Multimedia Interface)

– Small, rectangular monitor port that provides high-definition video output

(Goral, A. , 2009, CC BY-SA 3.0)

4Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

(Rumczeis, 2007, PD-US)

Page 5: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• USB (Universal Serial Bus)– Rectangular in shape, created to replace most parallel and serial

port connection requirements through a common interface type– USB 2.0 provides approx. 480 Mbps throughput and found in

most devices– USB 3.0 provides approximately 5 Gbps throughput and should

replace USB 2.0, FireWire, and SATA devices because of its speed

• Microphone/speaker– Analog audio connector, invented almost 100 years ago and

used today in the same physical format – Looks like typical headphone jack

5Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 6: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• FireWire (IEEE 1394)– Rectangular in shape; connect external hard disk and video equipment

to the computer; latest standard provides approximately 3 Gbps throughput

• SATA (Serial Advanced Technology Attachment)– Usually used to connect storage (internal or external) devices to

computer, latest standard provides approximately 3 Gbps throughput

(Berkut, 2005, CC BY-SA 3.0)

6Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 7: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• SCSI (Small Computer System Interface)– Port standard allows high-speed data transfer between devices and a

computer; usually tape drives and/or hard disks

– While SCSI has existed for decades (since ca. 1986), it is an evolving technology; still used in modern networks (backup devices and servers)

(Smial, 2006, CC BY-SA 2.0 Germany)

7Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 8: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• Modem (RJ-11)– Square RJ-11 jack allows a phone cable to connect the

computer to modem and to wall phone jack for dialup network Internet access

• Networking (RJ-45)– Acronym “RJ” expands to the phrase “registered jack.”– Installed “onboard” modern computers. Vintage computers

required owners to purchase and install network interface card (NIC) in a motherboard PCI slot. The RJ-45 jack is a port on the NIC.

– Square RJ-45 jack allows a networking cable to connect the computer to another device, such as a switch or home router.

8Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 9: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• Parallel– Rectangular parallel, 25-pin (DB-25) port connects computer to

vintage printers Modern printers often connect to computer via USB port

– Sends data on all 25 pins simultaneously, or in parallel manner

(Lithgow,, 2006, PD-US)

9Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 10: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Input/Output Ports (continued)

• Serial– Round, 9-pin (DB-9) port connects computer

to modems and other devices– Modern computers often do not include

installed serial ports – Sends data one bit at a time, or in serial

manner– Used to connect to devices for terminal

sessions. For example, some networking devices can be managed in this manner.

• Since modern computers no longer include physical serial ports, USB devices and accompanying software can emulate (imitate) their behavior.

(Lithgow,, 2006, PD-US)

10Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 11: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Storage Devices

• Storage devices classified as internal or external

– Internal storage device installed inside computer’s case, on motherboard

– External storage device connected to computer via a port

11Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 12: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Primary Storage

• Random Access Memory (RAM)– The primary storage area used by

programs running on a computer – The operating system and running

programs load into RAM. Anything stored in RAM is erased when power is lost. Also known as “volatile memory.”

– RAM installed directly on the motherboard

(Cyberdex, 2006, PD-US)

12Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 13: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Secondary Storage

• Hard Disk Drive (HDD or HD)– Secondary storage area of computer

system – Made up of magnetic platters that

hold an electric charge, even when power turned off or lost

– Operating system, programs, and data stored on HD

– Operates similar to a vintage record player (except that head never touches platter)

(Gaba, 2010, CC BY-SA 3.0)

13Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 14: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Secondary Storage (continued)

• Hard Disk Drive (HDD or HD)– Hard disk’s platter is divided into a track, (circular path around

the platter)– Each track made up of a number of sectors, which are 512 byte

blocks of storage space– Disk drives connect to the motherboard through variety of cable

types such as IDE or SATA • Other types exist!

– IDE (Integrated Drive Electronics) drives use 40- or 80-pin cable to connect HD to motherboard

– SATA drives designed to replace IDE drives. • Internal SATA drives connect to motherboard by 7-pin wire and operate

much faster than IDE

14Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 15: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Secondary Storage (continued)

• Other storage devices: USB flash drives, SCSI drives, SATA disk drives, tape drives, and optical or DVD drives

(SecretDisc, nd., (CC BY-SA 3.0)

15Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 16: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data is Stored in Memory

• Data stored in electronic format on primary and secondary devices

• When text, images, etc. are stored, each character or pixel must be converted into an electronic equivalent

• Data stored in RAM is temporary and is erased when the computer loses power– RAM often referred to as primary storage

• Data stored on hard disk drive is permanent and retained when computer loses power– HDD storage often referred to as secondary storage

16Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 17: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data is Stored in Binary

• Computers use binary number system, where electricity is recognized as being in one of two states –“on” or “off.”

• In the early 1940s, Dr. John Atanasoff made a major contribution to computing through his understanding of electricity and Boolean logic. – Authored idea that data could be stored and subsequently read

by recognizing that only one of two real electrical values existed (on or off) at any given time.

• George Boole created Boolean logic circa 1850.• A 0 or 1 is referred to as a bit (binary digit); bits generally

grouped together to form a “word.”

17Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 18: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data is Stored in Binary (continued)

• Each bit’s value indicates whether software believes enough electricity was detected to set the bit to “on” (a value of 1) or “off” (value of 0).– If small impulse of electricity is detected, generally

accepted as indicator of setting of off with corresponding bit value of 0.

• Term “small” is arbitrary– If large impulse of electricity is detected, generally

accepted as an indicator of setting of on with a corresponding bit value of 1.

• Term “large” also arbitrary

18Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 19: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data is Stored in Binary (continued)

• A word can be 4-, 8-, 16-32-, 64-, (and so on) bits long – Nintendo 64 used 64 bits to represent each

pixel on its screen; each pixel could represent one of millions of colors (2^64 number of colors per pixel).

– While this system had major limitations and other issues, it was a huge success.

19Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 20: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data is Stored in Binary (continued)

• Binary words can be translated into decimal equivalents• Each bit represents a placeholder for a binary exponent, starting

from right and moving to left• In 8-bit word, placeholder values are:

27 26 25 24 23 22 21 20

- Any number raised to zero power is always (the decimal value of) 1

- If a bit’s value is “on” (or set to binary state of 1), then its placeholder value is added to decimal equivalent calculation

- If a bit’s value is “off” (or set to binary state of 0), then its placeholder value is ignored as decimal equivalent is calculated

20Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 21: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data is Stored in Binary (continued)

• For example, a 4-bit word is translated to:

Binary value: 1001b

Decimal equivalent: 9

Formula:

1001b = 1x23 + 0x22 + 0x21+ 1x20 = 8 + 0 + 0 + 1 = 9

Ignore placeholder values considered to be “off”

• 8-bit words range in value from 00000000b to 11111111b which is equivalent to decimal values 0 – 255

21Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 22: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data Storage Acronyms

• Storage of data stated in megabytes, gigabytes, and terabytes1024 bytes = 1 kilobyte (KB)1024 KB = 1 megabyte (MB)1024 MB = 1 gigabyte (GB)1024 GB = 1 terabyte (TB)

22Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 23: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Data Storage Approximations

• As of September 2011, Library of Congress holds an estimated 160 TB of data

• Typical song or image stored on hard disk might consume 3 MB of space

• Chest X-ray typically consumes 20 MB storage space

• Hard disk manufacturers deviate from “pure” binary outcome of 1024 and round down to 1000 for each item

– Therefore, 1000 MB = 1 GB and so on

23Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 24: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Computer HardwareSummary – Lecture b

• Data stored in memory and in secondary storage

• Data represented in binary notation• Data input/output from computer

24Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 25: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Computer HardwareReferences – Lecture b

References• Wikipedia [homepage on the Internet]. Online: ASCII; cited March 2011; [one screen]. Available from:

http://en.wikipedia.org/wiki/ASCII • Wikipedia [homepage on the Internet]. Online: Dr. John Atanasoff (ABC computer); cited March 2011; [one

screen]. Available from: http://en.wikipedia.org/wiki/Atanasoff-Berry_Computer • Wikipedia [homepage on the Internet]. Online: George Boole, inventor of Boolean Logic; cited March 2011; [one

screen]. Available from: http://en.wikipedia.org/wiki/George_Boole • Wikipedia [homepage on the Internet]. Online: Terabytes; cited March 2011; [one screen]. Available from:

http://en.wikipedia.org/wiki/Terabyte

Images• Slide 3: PS/2 Ports [image on the Internet]. Rogers, N. (2004, October 16).

http://commons.wikimedia.org/wiki/File:Ps-2-ports.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Computer_port_(hardware). (PD-US).

• Slide 4: DVI Monitor Port [image on the Internet]. Rumczeis. (2007, January 13). http://commons.wikimedia.org/wiki/File:Ps-2-ports.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Computer_port_(hardware). (PD-US).

• Slide 4: HDMI Monitor Plug [image on the Internet]. Goral, A. (2009, October 23). http://commons.wikimedia.org/wiki/File:HDMI.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/HDMI. (CC BY-SA 3.0).

• Slide 6: Motherboard SATA Ports [image on the Internet]. Berkut. (2005, October 12). http://commons.wikimedia.org/wiki/File:SATA_ports.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Serial_ATA. (CC BY-SA 3.0).

25Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b

Page 26: Introduction to Information and Computer Science Computer Hardware Lecture b This material (Comp4_Unit3b) was developed by Oregon Health and Science University,

Computer HardwareReferences – Lecture b

Images• Slide 7: Computer SCSI Ports [image on the Internet]. Smial. (2006, April 18).

http://commons.wikimedia.org/wiki/File:SATA_ports.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/SCSI. (CC BY-SA 2.0 Germany)

• Slide 9: Computer Parallel Port [image on the Internet]. Lithgow, D. (2006, May 24). http://en.wikipedia.org/wiki/File:Parallel_computer_printer_port.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Parallel_port. (PD-US).

• Slide 10: Male DB-9 Connector [image on the Internet]. Lithgow, D. (2006, May 24). http://commons.wikimedia.org/wiki/File:Serial_port.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Serial_port. (PD-US).

• Slide 12: Motherboard DRAM Modules [image on the Internet]. Cyberdex. (2006, March 26). http://commons.wikimedia.org/wiki/File:Memory_module_DDRAM_20-03-2006.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Random-access_memory. (PD-US).

• Slide 13: Hard Disk with Cover Removed [image on the Internet]. Gaba, E. (Sting). (2010, August). http://commons.wikimedia.org/wiki/File:Seagate_ST33232A_hard_disk_inner_view.jpg. Retrieved January 2012, from Wikipedia website: http://en.wikipedia.org/wiki/Hard_disk_drive. (CC BY-SA 3.0).

• Slide 15: Broken USB Flash Drive [image on the Internet]. SecretDisc (nd.). http://commons.wikimedia.org/wiki/File:X-Ray_USB-Stick_Intenso_High-Speed_32GB_broken.jpg. Retrieved January 2012 from Wikipedia website: http://en.wikipedia.org/wiki/File:X-Ray_USB-Stick_Intenso_High-Speed_32GB_broken.jpg. (CC BY-SA 3.0).

26Health IT Workforce Curriculum Version 3.0/Spring 2012

Introduction to Information and Computer ScienceComputer Hardware

Lecture b