UNIT I Computer
UNIT I Computer
The Computer
a computer system is made up of various elements
• variations
window 2
– desktop
– laptop
– PDA
12-37pm
the devices dictate the styles of interaction that the system supports
If we use different devices, then the interface will support a different style of
interaction
How many …
• computers in your house?
– hands up, …
… none, 1, 2 , 3, more!!
sensors
and devices
everywhere
text entry devices
•keyboards (QWERTY et al.)
•chord keyboards,
•phone pads
•handwriting,
• speech
Keyboards
• Most common text input device.
• Allows rapid entry of text by experienced
users.
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
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
special keyboards
• designs to reduce fatigue for RSI
• for one handed use
e.g. the Maltron left-handed keyboard
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
• 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’
Handwriting recognition
• Text can be input into the computer, using a pen and a digesting
tablet
– natural interaction
• 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
• Problems with
– external noise interfering
– imprecision of pronunciation
– large vocabularies
– different speakers
Numeric keypads
• for entering numbers quickly:
– calculator, PC keyboard
• for telephones
1 2 3 7 8 9
not the same!! 4 5 6 4 5 6
7 8 9 1 2 3
ATM like phone 0 # 0 . =
*
telephone calculator
positioning, pointing and drawing
•mouse,
•Touchpad
•trackballs,
•joysticks etc.
•touch screens,
•tablets eyegaze,
•cursors
the Mouse
• Handheld pointing device
– very common
– easy to use
• 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.)
the mouse (ctd)
Mouse located on desktop
– requires physical space
– no arm fatigue
• 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
Even by foot …
• some experiments with the footmouse
– controlling mouse movement with feet …
– not very common :-)
Thumbwheels …
– for accurate CAD – two dials for X-Y cursor position
– for fast scrolling – single dial on mouse
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
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
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
Digitizing tablet
• Mouse like-device with cross hairs
• very accurate
- used for digitizing maps
•
Eyegaze
control interface by eye gaze direction
– e.g. look at a menu item to select it
Anti-aliasing
– softens edges by using shades of line colour
– also used for text
Cathode ray tube
• Stream of electrons emitted from electron gun, focused and
directed by magnetic fields, hit phosphor-coated screen which
glows.
electron gun
focussing and
deflection
phosphor-
coated screen
•
Health hazards of CRT
X-rays: largely absorbed by screen (but not at rear!)
!
• UV- and IR-radiation from phosphors: insignificant levels
• 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
special displays
Random Scan (Directed-beam refresh, vector display)
– draw the lines to be displayed directly
– no jaggies
– lines need to be constantly redrawn
– rarely used except in special instruments
• how?
– small spheres turned
– or channels with coloured liquid
and contrasting spheres
– rapidly developing area
virtual reality and 3D interaction
positioning in 3D space
moving and grasping
seeing 3D (helmets and caves)
positioning in 3D space
• cockpit and virtual controls
– steering wheels, knobs and dials … just like real!
• the 3D mouse
– six-degrees of movement: x, y, z + roll, pitch, yaw
• data glove
– fibre optics used to detect finger position
• VR helmets
– detect head motion and possibly eye gaze
• whole body tracking
– accelerometers strapped to limbs or reflective
dots and video processing
pitch, yaw and roll
yaw
roll
pitch
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.
• digital displays:
– small LCD screens, LED lights, etc.
• head-up displays
– found in aircraft cockpits
– show most important controls
… depending on context
Sounds
• beeps, bongs, clonks, whistles and whirrs
easy-clean
smooth buttons
multi-function
control
large buttons
clear dials
tiny buttons
Environment and bio-sensing
• sensors all around us
– car courtesy light – small switch on door
– ultrasound detectors – security, washbasins
– RFID security tags in shops
– temperature, weight, location
print technology
fonts, page description, WYSIWYG
scanning, OCR
Printing
• image made from small dots
– allows any character set or graphic to be printed,
• critical features:
– resolution
• size and spacing of the dots
• measured in dots per inch (dpi)
– speed
• usually measured in pages per minute
– cost!!
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
• 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.
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
Fonts
• Font – the particular style of text
Courier font
Helvetica font
Palatino font
Times Roman font
• (special symbol)
• serif fonts
– helps your eye on long lines of printed text
– but sans serif often better on screen
Page Description Languages
• Pages very complex
– different fonts, bitmaps, lines, digitised photos, etc.
• 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 watermarks
• identify which sheet and where you are
– special ‘pen’ can read locations
• know where they are writing
memory
• optical disks
– use lasers to read and sometimes write
– more robust than magnetic media
– CD-ROM
- same technology as home audio, ~ 600
Gbytes
– DVD - for AV applications, or very large files
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
speed and capacity
• what do the numbers mean?
• But … swapping
– program on disk needs to run again
– copied from disk to RAM
–slows t h i n g s d o w n
Compression
• reduce amount of storage required
• lossless
– recover exact text or image – e.g. GIF, ZIP
– look for commonalities:
• text: AAAAAAAAAABBBBBCCCCCCCC 10A5B8C
• video: compare successive frames and store change
• lossy
– recover something like original – e.g. JPEG, MP3
– exploit perception
• JPEG: lose rapid changes and some colour
• MP3: reduce accuracy of drowned out notes
Storage formats - text
• ASCII - 7-bit binary code for to each letter and
character
• UTF-8 - 8-bit encoding of 16 bit character set
• RTF (rich text format)
- text plus formatting and layout information
• SGML (standardized generalised markup language)
- documents regarded as structured objects
• XML (extended markup language)
- simpler version of SGML for web
applications
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
methods of access
• large information store
– long time to search => use index
– what you index -> what you can access
• Also problems if system is too fast - e.g. help screens may scroll
through text much too rapidly to be read
Moore’s law
• computers get faster and faster!
• 1965 …
– Gordon Moore, co-founder of Intel, noticed a pattern
– processor speed doubles every 18 months
– PC … 1987: 1.5 Mhz, 2002: 1.5 GHz
• similar pattern for memory
– but doubles every 12 months!!
– hard disk … 1991: 20Mbyte : 2002: 30 Gbyte
• baby born today
– record all sound and vision
– by 70 all life’s memories stored in a grain of dust!
/e3/online/moores-law/
the myth of the infinitely
fast machine
Issues
– network delays – slow feedback
– conflicts - many people update data
– unpredictability
The internet
• history …
– 1969: ARPANET 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