csci 1200 julie benoit [email protected] introduction to computing

29
CSCI 1200 Julie Benoit jbenoit @ cs . dal .ca Introduction to Computing

Upload: nathan-bryant

Post on 26-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 2: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Bit Strings Represent

• numbers.

• alphanumeric : ASCII / Unicode.

• instructions.

• other stuff : sound or image data for example.

Page 3: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Volume / Size / Capacity

• Kilobyte (K) – thousand bytes

• Megabyte (MB)– million bytes

• Gigabyte (GB) – billion bytes.

• Terabyte (TB) – trillion bytes.

• Petabye (PB) – quadrillion bytes.

Note : MB vs Mb

Page 4: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Volume / Size / Capacity

• 1 K : text on back of DVD case.

• 1 MB : 1.5 sec of DVD quality video.

• 1 GB : a little less than 30 minutes of DVD quality video.

• 1 TB : about 230 DVD movies.

• 1 PB : about 238,600 DVD movies.

Page 5: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

CPU

• Central Processing Unit.

• converts input to output.

• carries out instructions.

• mathematical & logical operations.

• communicates with other devices.

Page 6: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

CPU

• motherboard :– circuit board.– location of the CPU.

• Compatibility :– instruction sets

• Performance / Speed :– clock speed, GHz.

Page 7: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

CPU Parts

• ALU – arithmetic logic unit.

• Bus – data travels in parallel.

• Cache & Registers – high speed, local memory.

Page 8: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Computer Speed

• Instruction set

• Word Size

• Access Speeds

• Specialized hardware

• Parallel processing

• Clustering multiple machines

• Memory

Page 9: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Memory

• main memory / RAM.

• CPU reads main memory.

• addressed cells (Random Access).

• info held using electrical current:– need for ROM, CMOS, Flash & secondary

memory.

Page 10: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Memory

ROM : read only memory, non-volatile.CMOS : low energy, battery powered

RAM, date & time.Flash : fast, only needs power to change,

portable devices.

Secondary memory : long term storage.

Page 11: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Memory

• main memory / RAM.

• CPU reads main memory.

• addressed cells (Random Access).

• info held using electrical current:– need for ROM, CMOS, Flash & secondary

memory.

Page 12: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Storage

• magnetic tapes

• magnetic disks (floppy disks)

• hard disks

• optical disks (CD, DVD, Blu Ray)

• solid state devices (memory sticks & cards, USB flash drives)

Page 13: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices

Keyboards :

• Qwerty / Dvorak / Alphabetic

• ergonomic

• compact

• membrane

• one handed

• folding

Page 14: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices

`~ 1! 2@ 3# 4% 5^ 6^ 7& 8* 9( 0) [\{ ]} \\|

'" ,< .> p y f g c r l /? +=

a o e u i d h t n s -_

;: q j k x b m w v z

Page 15: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices

Pointing Device :

• selecting from options / menus.

• spatial tasks / graphics applications.

• efficiency

Page 16: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices : Pointing

• Mouse : mechanical, light

• Touch Pad : finger pressure

• Track Ball : upside down mouse

• Pointing Stick : TrackPoint, Isopoint

• Joystick : and other gaming devices

• Tablet & Stylus

• Touch Screen

Page 17: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices : Reading

• Optical Mark Readers

• Bar Code Readers

• Magnetic Ink Character Readers

• RFID Tags & Readers

Page 18: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices : Reading

• Optical Character Recognition

• Handwriting recognition

• Smart Whiteboard

Page 19: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Input Devices : Digitizing

• Scanner

• Digital Camera

• Video Digitizer

• Digital Video Camera

Page 20: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Output : Monitor

• most familiar (VDT)

• diagonally in inches

• pixels, dpi, resolution

• colour depth : number of colours that can be displayed at one time

• video adaptor / video card

• VRAM

Page 21: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Output : Monitor

• Liquid Crystal Display

• Cathode Ray Tube

Page 22: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Output : Printers

• impact & non-impact

• dot matrix printers & line printers

• laser & ink jet

• resolution

• plotter

• multi-function devices.

Page 23: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Colours

• light & pigment are different

• Pigment : cyan, magenta, yellow & black

• Light : red, green, blue

Page 24: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Sound Output

• sound card – accept a microphone, play sound through speakers & headphones.

• all Macs & some PCs have on board sound.

• synthesized speech, music, & sounds.

Page 25: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Fax Machines / Fax Modems

• phone lines

• dots to create the image

Page 26: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Combined Devices

• some devices do both I/O.

• peripherals interface with the world.

Page 27: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Ports, Slots, Buses & Bays

• port : connect a device.

• Slot : place to insert a special piece of hardware.

• Bus : group of wires connecting bays, ports and slots to the CPU.

• Bay : open space in the box for a storage device.

Page 28: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Standard Ports

• serial port : one bit at a time, modem

• parallel Port : groups of bits, printer

• keyboard / mouse ports

USB ports

• faster, generic, multiple devices, various standards

Page 29: CSCI 1200 Julie Benoit jbenoit@cs.dal.ca Introduction to Computing

Special Ports

• on expansion cards

• video port for the monitor

• microphone, speaker, MIDI for attaching sound equipment

• network card adds a port to connect to the LAN