Module1 - The Computer
Module1 - The Computer
Rina Bora
The Computer
a computer system is made up of various elements
Rina Bora
Interacting with computers
Rina Bora
A ‘typical’ computer system
? • screen, or monitor, on which there are windows
• keyboard
window 1
• mouse/trackpad
window 2
• variations
– desktop
– laptop
– PDA
12-37pm
Rina Bora
How many …
Rina Bora
How many computers …
Rina Bora
Interactivity?
Rina Bora
Richer interaction
sensors
and devices
everywhere
Rina Bora
text entry devices
Rina Bora
Keyboards
Rina Bora
layout – QWERTY
• Standardised layout
but …
– non-alphanumeric keys are placed differently
– accented symbols needed for different scripts
– minor differences between UK and USA keyboards
Rina Bora
QWERTY (ctd)
1 2 3 4 5 6 7 8 9 0
Q W E R T Y U I O P
A S D F G H J K L
Z X C V B N M , .
SPACE
Rina Bora
alternative keyboard layouts
Alphabetic
– keys arranged in alphabetic order
– not faster for trained typists
– not faster for beginners either!
Dvorak
– common letters under dominant fingers
– biased towards right hand
– common combinations of letters alternate between hands
– 10-15% improvement in speed and reduction in fatigue
– But - large social base of QWERTY typists produce market
pressures not to change
Rina Bora
special keyboards
Rina Bora
Chord keyboards
only a few keys - four or 5
letters typed as combination of keypresses
compact size
– ideal for portable applications
short learning time
– keypresses reflect letter shape
fast
– once you have trained
Rina Bora
phone pad and T9 entry
• use numeric keys with
multiple presses
2 –abc 6-mno
3 -def 7-pqrs
4 -ghi 8-tuv
5 -jkl 9-wxyz
hello = 4433555[pause]555666
surprisingly fast!
• T9 predictive entry
– type as if single key for each letter
– use dictionary to ‘guess’ the right word
– hello = 43556 …
– but 26 -> menu ‘am’ or ‘an’
Rina Bora
Handwriting recognition
• Technical problems:
– capturing all useful information - stroke path,
pressure, etc. in a natural manner
– segmenting joined up writing into individual letters
– interpreting individual letters
– coping with different styles of handwriting
Rina Bora
Speech recognition
• Improving rapidly
• Problems with
– external noise interfering
– imprecision of pronunciation
– large vocabularies
– different speakers
Rina Bora
Numeric keypads
Rina Bora
positioning, pointing and drawing
mouse, touchpad
trackballs, joysticks etc.
touch screens, tablets
eyegaze, cursors
Rina Bora
the Mouse
• Two characteristics
– planar movement
– buttons
(usually from 1 to 3 buttons on top, used for
making a selection, indicating an option, or to
initiate drawing etc.)
Rina Bora
the mouse (ctd)
Mouse located on desktop
– requires physical space
– no arm fatigue
Rina Bora
How does it work?
Two methods for detecting motion
• Mechanical
– Ball on underside of mouse turns as mouse is moved
– Rotates orthogonal potentiometers
– Can be used on almost any flat surface
• Optical
– light emitting diode on underside of mouse
– may use special grid-like pad or just on desk
– less susceptible to dust and dirt
– detects fluctuating alterations in reflected light intensity to
calculate relative motion in (x, z) plane
Rina Bora
Even by foot …
Rina Bora
Touchpad
Rina Bora
Trackball and thumbwheels
Trackball
– ball is rotated inside static housing
• like an upside down mouse!
– relative motion moves cursor
– indirect device, fairly accurate
– separate buttons for picking
– very fast for gaming
– used in some portable and notebook computers.
Thumbwheels …
– for accurate CAD – two dials for X-Y cursor position
– for fast scrolling – single dial on mouse
Rina Bora
Joystick and keyboard nipple
Joystick
– indirect
pressure of stick = velocity of movement
– buttons for selection
on top or on front like a trigger
– often used for computer games
aircraft controls and 3D navigation
Keyboard nipple
– for laptop computers
– miniature joystick in the middle of the keyboard
Rina Bora
Touch-sensitive screen
• Detect the presence of finger or stylus on the screen.
– works by interrupting matrix of light beams, capacitance changes
or ultrasonic reflections
– direct pointing device
• Advantages:
– fast, and requires no specialised pointer
– good for menu selection
– suitable for use in hostile environment: clean and safe from
damage.
• Disadvantages:
– finger can mark screen
– imprecise (finger is a fairly blunt instrument!)
• difficult to select small regions or perform accurate drawing
– lifting arm can be tiring
Rina Bora
Stylus and light pen
Stylus
– small pen-like pointer to draw directly on screen
– may use touch sensitive surface or magnetic detection
– used in PDA, tablets PCs and drawing tables
Light Pen
– now rarely used
– uses light from screen to detect location
BOTH …
– very direct and obvious to use
– but can obscure screen
Rina Bora
Digitizing tablet
• very accurate
- used for digitizing maps
Rina Bora
Eyegaze
Rina Bora
Cursor keys
Rina Bora
Discrete positioning controls
Rina Bora
display devices
Rina Bora
bitmap displays
Rina Bora
resolution and colour depth
• Resolution … used (inconsistently) for
– number of pixels on screen (width x height)
• e.g. SVGA 1024 x 768, PDA perhaps 240x400
– density of pixels (in pixels or dots per inch - dpi)
• typically between 72 and 96 dpi
• Aspect ratio
– ration between width and height
– 4:3 for most screens, 16:9 for wide-screen TV
• Colour depth:
– how many different colours for each pixel?
– black/white or greys only
– 256 from a pallete
– 8 bits each for red/green/blue = millions of colours
Rina Bora
anti-aliasing
Jaggies
– diagonal lines that have discontinuities in due to horizontal
raster scan process.
Anti-aliasing
– softens edges by using shades of line colour
– also used for text
Rina Bora
Cathode ray tube
• Stream of electrons emitted from electron gun, focused and
directed by magnetic fields, hit phosphor-coated screen, the
phosphor is excited by the electrons and glows
• The electron beam is scanned from left to right and then
flicked back to rescan the next line from top to bottom
• used in TVs and computer monitors
electron beam
electron gun
focussing and
deflection
phosphor-
coated screen
Rina Bora
Health hazards of CRT !
• X-rays: largely absorbed by screen (but not at rear!)
• UV- and IR-radiation from phosphors: insignificant
levels
• Radio frequency emissions, plus ultrasound (~16kHz)
• Electrostatic field - leaks out through tube to user.
Intensity dependant on distance and humidity. Can
cause rashes.
• Electromagnetic fields (50Hz-0.5MHz). Create induction
currents in conductive materials, including the human
body. Two types of effects attributed to this: visual
system - high incidence of cataracts in VDU operators,
and concern over reproductive disorders (miscarriages
and birth defects).
Rina Bora
Health hints …
Rina Bora
Liquid crystal displays
• Smaller, lighter, and … no radiation problems.
• How it works …
– Top plate transparent and polarised, bottom plate reflecting.
– Light passes through top plate and crystal, and reflects back to
eye.
– Voltage applied to crystal changes polarisation and hence colour
– N.B. light reflected not emitted => less eye strain
Rina Bora
special displays
Rina Bora
large displays
Rina Bora
situated displays
Rina Bora
Hermes a situated display
• what?
– thin flexible sheets
– updated electronically cross
section
– but retain display
• how?
– small spheres turned
– or channels with coloured liquid
and contrasting spheres
– rapidly developing area
Rina Bora
virtual reality and 3D interaction
positioning in 3D space
moving and grasping
seeing 3D (helmets and caves)
Rina Bora
positioning in 3D space
Rina Bora
pitch, yaw and roll
yaw
roll
pitch
Rina Bora
3D displays
• desktop VR
– ordinary screen, mouse or keyboard control
– perspective and motion give 3D effect
• seeing in 3D
– use stereoscopic vision
– VR helmets
– screen plus shuttered specs, etc.
Rina Bora
VR motion sickness
• time delay
– move head … lag … display moves
– conflict: head movement vs. eyes
• depth perception
– headset gives different stereo distance
– but all focused in same plane
– conflict: eye angle vs. focus
• conflicting cues => sickness
– helps motivate improvements in technology
Rina Bora
simulators and VR caves
Rina Bora
physical controls, sensors etc.
Rina Bora
dedicated displays
• analogue representations:
– dials, gauges, lights, etc.
• digital displays:
– small LCD screens, LED lights, etc.
• head-up displays
– found in aircraft cockpits
– show most important controls
… depending on context
Rina Bora
Sounds
Rina Bora
Touch, feel, smell
Rina Bora
BMW iDrive
Rina Bora
physical controls
easy-clean
smooth buttons
multi-function
control
large buttons
clear dials
tiny buttons
Rina Bora
Environment and bio-sensing
Rina Bora
paper: printing and scanning
print technology
fonts, page description, WYSIWYG
scanning, OCR
Rina Bora
Printing
Rina Bora
Types of dot-based printers
• dot-matrix printers
– use inked ribbon (like a typewriter
– line of pins that can strike the ribbon, dotting the paper.
– typical resolution 80-120 dpi
• ink-jet and bubble-jet printers
– tiny blobs of ink sent from print head to paper
– typically 300 dpi or better .
• laser printer
– like photocopier: dots of electrostatic charge deposited on
drum, which picks up toner (black powder form of ink)
rolled onto paper which is then fixed with heat
– typically 600 dpi or better.
Rina Bora
Printing in the workplace
• shop tills
– dot matrix
– same print head used for several paper rolls
– may also print cheques
• thermal printers
– special heat-sensitive paper
– paper heated by pins makes a dot
– poor quality, but simple & low maintenance
– used in some fax machines
Rina Bora
Fonts
• Font – the particular style of text
Courier font
Helvetica font
Palatino font
Times Roman font
(special symbol)
Rina Bora
Fonts (ctd)
Pitch
– fixed-pitch – every character has the same width
e.g. Courier
– variable-pitched – some characters wider
e.g. Times Roman – compare the ‘i’ and the “m”
Serif or Sans-serif
– sans-serif – square-ended strokes
e.g. Helvetica
– serif – with splayed ends (such as)
e.g. Times Roman or Palatino
Rina Bora
Readability of text
• lowercase
– easy to read shape of words
• UPPERCASE
– better for individual letters and non-words
e.g. flight numbers: BA793 vs. ba793
• serif fonts
– helps your eye on long lines of printed text
– but sans serif often better on screen
Rina Bora
Page Description Languages
Rina Bora
Screen and page
• WYSIWYG
– what you see is what you get
– aim of word processing, etc.
• but …
– screen: 72 dpi, landscape image
– print: 600+ dpi, portrait
• can try to make them similar
but never quite the same
• so … need different designs, graphics etc, for
screen and print
Rina Bora
Scanners
Rina Bora
Scanners (ctd)
Used in
– desktop publishing for incorporating
photographs and other images
Rina Bora
Optical character recognition
Rina Bora
Paper-based interaction
• paper usually regarded as output only
• Xerox PaperWorks
– glyphs – small patterns of /\\//\\\
• used to identify forms etc.
• used with scanner and fax to control applications
• more recently
– papers micro printed - like wattermarks
• identify which sheet and where you are
– special ‘pen’ can read locations
• know where they are writing
Rina Bora
memory
Rina Bora
Short-term Memory - RAM
Rina Bora
Long-term Memory - disks
• magnetic disks
– floppy disks store around 1.4 Mbytes
– hard disks typically 40 Gbytes to 100s of Gbytes
access time ~10ms, transfer rate 100kbytes/s
• optical disks
– use lasers to read and sometimes write
– more robust that magnetic media
– CD-ROM
- same technology as home audio, ~ 600
Gbytes
– DVD - for AV applications, or very large files
Rina Bora
Blurring boundaries
• PDAs
– often use RAM for their main memory
• Flash-Memory
– used in PDAs, cameras etc.
– silicon based but persistent
– plug-in USB devices for data transfer
Rina Bora
speed and capacity
Rina Bora
virtual memory
• Problem:
– running lots of programs + each program large
– not enough RAM
• But … swopping
– program on disk needs to run again
– copied from disk to RAM
– slows t h i n g s d o w n
Rina Bora
Compression
Rina Bora
Storage formats - text
Rina Bora
Storage formats - media
• Images:
– many storage formats :
(PostScript, GIFF, JPEG, TIFF, PICT,
etc.)
– plus different compression techniques
(to reduce their storage requirements)
• Audio/Video
– again lots of formats :
(QuickTime, MPEG, WAV, etc.)
– compression even more important
– also ‘streaming’ formats for network delivery
Rina Bora
methods of access
Rina Bora
processing and networks
Rina Bora
Finite processing speed
• Designers tend to assume fast processors, and make
interfaces more and more complicated
Rina Bora
Moore’s law
/e3/online/moores-law/
Rina Bora
the myth of the infinitely
fast machine
Rina Bora
Limitations on interactive
performance
Computation bound
– Computation takes ages, causing frustration for the user
Storage channel bound
– Bottleneck in transference of data from disk to memory
Graphics bound
– Common bottleneck: updating displays requires a lot of
effort - sometimes helped by adding a graphics co-
processor optimised to take on the burden
Network capacity
– Many computers networked - shared resources and files,
access to printers etc. - but interactive performance can be
reduced by slow network speed
Rina Bora
Networked computing
Issues
– network delays – slow feedback
– conflicts - many people update data
– unpredictability
Rina Bora
The internet
• history …
– 1969: DARPANET US DoD, 4 sites
– 1971: 23; 1984: 1000; 1989: 10000
• common language (protocols):
– TCP – Transmission Control protocol
• lower level, packets (like letters) between machines
– IP – Internet Protocol
• reliable channel (like phone call) between programs on
machines
– email, HTTP, all build on top of these
Rina Bora