Speech Recognition
Translators - translates from one language to another
Phone booking Systems - for payment of bills, ticketing information etc
Voice Commands - for secure entry and for controlling computer systems with spoken commands
Affected by background noise, slang, different accents, if someone has the cold or a sore throat or speaks to quickly, ambigous sentences.
Must be trained to recognise your voice
Handwriting Recognition
built into palmtops and smart phones
can recognise your handwriting and turn it into typed text
Must be trained to recognise your handwriting
Expert Systems
A system that recommends advice based on the answers you give to questions it asks you on its limited domain
+++ 24/7, combined knowledge of several experts, can explain and justify its decisions, consistent results
--- narrow domain, loss of jobs, no common sense
Examples - NHS 24/7 for medical advice, Whale Watcher - identify which whale you have seen, Legal Advice ....
Artificial Neural Systems
A electronic model of the human brain made up of thousands of simple interconnected processors
must be trained to do its job.
Learning to read postcodes to sort mail
Included in vision/speech/handwriting recognition
Stock Market Trend Predictions
Weather Prediction
++ more accurate and reliable, capable of learning and improving
-- cesigned for one specific task, cant explain its reasoning
Vision Recognition
Attempt to recognise and understand images
Uses include - satellite photo interpretation for military and weather
industry to check items on assembly line, airport security to recognise criminals etc
difficulties incliude - image could be blurred, objects could be in shadow, too many objects, object could be missing/unclear/distorted or you may only see part of an image from an unfamiliar angle
Intelligent Robots
robots which dont carry out simple programming, they can think and plan for themselves, can learn from mistakes and can adapt to new situations
uses include - space exploration, under water explanation, bomb disposal
Monday, 28 March 2011
Wednesday, 23 February 2011
The Turing Test
How does the Turing Test work?
Test a machines intelliengce - to see if a machine can communicate like a human by fooling another one
A human (machine A) sits at a computer terminal and asks any questions to two other computer terminals which are in seperate rooms.
One of these terminals is controlled by another human.
The other terminal is a computer being tested for intelligence.
If the human on machine A cannot distinguish between the two the test is passed.
Flaws with the test?
only tests one aspect of intelligence
Test a machines intelliengce - to see if a machine can communicate like a human by fooling another one
A human (machine A) sits at a computer terminal and asks any questions to two other computer terminals which are in seperate rooms.
One of these terminals is controlled by another human.
The other terminal is a computer being tested for intelligence.
If the human on machine A cannot distinguish between the two the test is passed.
Flaws with the test?
only tests one aspect of intelligence
Monday, 21 February 2011
Artificial Intelligence
Definition of Intelligence
"involves knowing and choosing"
Aspects of Intelligence
- Ability to Learn
- Ability to recall/remember information
- Problem Solving
- Adapating to new situations
- Reasoning and the ability to explain
Definition of AI
The Science of making machines do things that if done by humans it would require intelligence to do so
Why is it hard to define AI
AI is rapidly changing and advancing field
It has an unlimited scope
There are several groups working on AI, biologists, computer scientists, psychologists - they all see AI from their own perspective of the subject
"involves knowing and choosing"
Aspects of Intelligence
- Ability to Learn
- Ability to recall/remember information
- Problem Solving
- Adapating to new situations
- Reasoning and the ability to explain
Definition of AI
The Science of making machines do things that if done by humans it would require intelligence to do so
Why is it hard to define AI
AI is rapidly changing and advancing field
It has an unlimited scope
There are several groups working on AI, biologists, computer scientists, psychologists - they all see AI from their own perspective of the subject
Monday, 10 January 2011
Knowledge Bases and Semantic Nets
leadSinger(PersonX):-
is_a(PersonX, pupil),
likes(PersonX, karaoke),
voice(PersonX, amazing).
Rule with three SUB GOALS
For the overall goal to be true -> all subgoals must be true
The name of the diagram which allows us to visualise the relationship between the facts in a knowledge base is called ..... SEMANTIC NET
is_a(PersonX, pupil),
likes(PersonX, karaoke),
voice(PersonX, amazing).
Rule with three SUB GOALS
For the overall goal to be true -> all subgoals must be true
The name of the diagram which allows us to visualise the relationship between the facts in a knowledge base is called ..... SEMANTIC NET
Friday, 7 January 2011
Prolog
Programmable Logic
Allows to define FACTS and RULES
These collected together are called a knowledge base
To represent the fact
"McAlpine loves Binary" - loves(mcalpine, binary). (intentionally lower case)
This only works one way!!!
To represent the fact
"I have a spearmint silver car, 03 plate, 3 door, petrol"
car(spearmintSilver, 03, 3, petrol).
male(homer).
parent(homer, bart).
to make a rule for dad ????
dad(DadX, Child):-
male(DadX), 'the person dadX must be male to be a DAD!
parent(DadX, Child).
Allows to define FACTS and RULES
These collected together are called a knowledge base
To represent the fact
"McAlpine loves Binary" - loves(mcalpine, binary). (intentionally lower case)
This only works one way!!!
To represent the fact
"I have a spearmint silver car, 03 plate, 3 door, petrol"
car(spearmintSilver, 03, 3, petrol).
male(homer).
parent(homer, bart).
to make a rule for dad ????
dad(DadX, Child):-
male(DadX), 'the person dadX must be male to be a DAD!
parent(DadX, Child).
Tuesday, 16 November 2010
Loops and Stuff
3 types of Loop
Nested Loop - loop inside other loops
Conditional Loop - will loop until a specified condition is met
Fixed Loop - loops a set number of times every time
Macro
we can record a set of instructions and get them to repeat by pressing a key stroke (or shortcut which we assign it)
Pre-Defined Functions
int() round() rnd()
commands in programming language, they are already written and we can use them
Nested Loop - loop inside other loops
Conditional Loop - will loop until a specified condition is met
Fixed Loop - loops a set number of times every time
Macro
we can record a set of instructions and get them to repeat by pressing a key stroke (or shortcut which we assign it)
Pre-Defined Functions
int() round() rnd()
commands in programming language, they are already written and we can use them
Friday, 12 November 2010
Compter Languages
Machine Code - the language that computers understand, represented as binary (1,0) and as an electrical charge in the computer system
We program in HLL High Level Languages
+ Must be translated before execution
+ English like language
+ They are portable
LLL - Low Level Languages
- understood by the components and the processor etc etc etc
Translators
+ Compiler - translates and executes each line of code at the same time
+ runs faster, because it gives you an executable file once there are no errors
- not good for debugging, gives you all your errors at once
+ Interpreter - translates and executes each line of code one at a time
+ stop when it finds an error, easier to debug
- slower, must run and translate every time, Interpreter is always running during interpretation
We program in HLL High Level Languages
+ Must be translated before execution
+ English like language
+ They are portable
LLL - Low Level Languages
- understood by the components and the processor etc etc etc
Translators
+ Compiler - translates and executes each line of code at the same time
+ runs faster, because it gives you an executable file once there are no errors
- not good for debugging, gives you all your errors at once
+ Interpreter - translates and executes each line of code one at a time
+ stop when it finds an error, easier to debug
- slower, must run and translate every time, Interpreter is always running during interpretation
From I onwards
I - Implementation
+ choose which language to write the program in (Visual Basic etc)
+ We simply enter in programming language to a Text Editor
T - Testing
Examples do while age < 0 or age > 100
+ Normal - a test within the boundaries of expected input - 50, 60, 44, 98
+ Extreme - testing on the boundaries of expected input - 0, 100
+ Exceptional - test outwith the boundaries of expected input - 111, "Lion", -1
= Fully Testing is where you carry out tests using each of the three types of test
D - Documentation
+ User Guide - contains how to use the program (after its been installed), controls etc
+ Technical Guide - specifications of the program (requirements) e.g. Minimum Memory Requirements, Minimum Processor Speed, Compatible Operating Systems
E- Evaluation
+ Readability - how easy the program is to read and understand for other programmers
!!!! - Ways to improve readability
- indentation, blank lines, comments, good variable names
+ Fitness for Purpose - Does it do what its supposed to do! (Software Spec.)
+ User Interface - user friendly, easy to use
M - Maintenance
+ Perfective - program does what its supposed to do, but we add new features that weren't in Software Specification
+ Corrective - fix any errors that are not found during testing
+ Adaptive - change the program for different platforms (different processors, OS, Hardware)
+ choose which language to write the program in (Visual Basic etc)
+ We simply enter in programming language to a Text Editor
T - Testing
Examples do while age < 0 or age > 100
+ Normal - a test within the boundaries of expected input - 50, 60, 44, 98
+ Extreme - testing on the boundaries of expected input - 0, 100
+ Exceptional - test outwith the boundaries of expected input - 111, "Lion", -1
= Fully Testing is where you carry out tests using each of the three types of test
D - Documentation
+ User Guide - contains how to use the program (after its been installed), controls etc
+ Technical Guide - specifications of the program (requirements) e.g. Minimum Memory Requirements, Minimum Processor Speed, Compatible Operating Systems
E- Evaluation
+ Readability - how easy the program is to read and understand for other programmers
!!!! - Ways to improve readability
- indentation, blank lines, comments, good variable names
+ Fitness for Purpose - Does it do what its supposed to do! (Software Spec.)
+ User Interface - user friendly, easy to use
M - Maintenance
+ Perfective - program does what its supposed to do, but we add new features that weren't in Software Specification
+ Corrective - fix any errors that are not found during testing
+ Adaptive - change the program for different platforms (different processors, OS, Hardware)
Monday, 1 November 2010
Dancing!
The Software Development Process is an Iterative Process
We can remember the stages in the correct order by remembering
A Dance In The Dark Every Monday
The first stage is the Analysis
The document produced at this stage is called Software Specification
This document is a legally binding contract stating what the Software MUST do
The second stage is the Design stage
There are 3 different approaches to this Pseudocode, Structure Diagram and Flow Diagram
The two of these which are Graphical Design Notations are Structure and Flow Diagrams
We can remember the stages in the correct order by remembering
A Dance In The Dark Every Monday
The first stage is the Analysis
The document produced at this stage is called Software Specification
This document is a legally binding contract stating what the Software MUST do
The second stage is the Design stage
There are 3 different approaches to this Pseudocode, Structure Diagram and Flow Diagram
The two of these which are Graphical Design Notations are Structure and Flow Diagrams
Wednesday, 20 October 2010
Computer Software
Operating Systems
most important program on the computer system
Starts when the computer is turned on running constantly until it is turned off (the computer)
Jobs of the OS
+ Controls the Input and Output Devices
+ Reports Errors
+ Controls Security
+ Provides the Human Computer Interface (HCI)
+ Controls where items are stored in memory
+ Schedules tasks (virus scans, updates etc)
* OS that we know. Windows 95, 2000, XP, Vista, 7, 98 ME, Linux, Apple Tiger, Apple OS X
Application Programs
perform specific tasks - Word Processing, Presentation, Spreadsheets, Graphics, Desktop Publishing
Saving in Standard File Formats
so that programs or documents saved on one computer system or application program will open in another different application program
Standard File Formats for Graphics
JPEG, GIF, BMP,
Standard File Formats for Text
TXT, RTF (Rich Text Format) ASCII
RTF stores some formatting information
Objects and Operations
Objects - Text, Graphics, Graphs, Cells, Rows, Columns, File, Records, Fields, Circle, Square, Line,
Operations - Copy, Paste, Cut, Insert, Crop, Rotate, Scale
Viruses
- infects your computer and makes it perform involuntary tasks - destructive piece of code
*Symptoms*
Slow your computer down
Applications dont work properly
Takes up processor
Recieve uncommon error messages
Computer Crashes (reboots unexpectedly)
*Causes of Infection*
Dodgy websites (gaming)
CDs from friends
Email - attachments
Peer to peer downloads - ShareZa, LimeWire
*Protect Yourself*
Anti Virus Software
Anti Malware
Anti Spyware
Firewalls
and running these often
most important program on the computer system
Starts when the computer is turned on running constantly until it is turned off (the computer)
Jobs of the OS
+ Controls the Input and Output Devices
+ Reports Errors
+ Controls Security
+ Provides the Human Computer Interface (HCI)
+ Controls where items are stored in memory
+ Schedules tasks (virus scans, updates etc)
* OS that we know. Windows 95, 2000, XP, Vista, 7, 98 ME, Linux, Apple Tiger, Apple OS X
Application Programs
perform specific tasks - Word Processing, Presentation, Spreadsheets, Graphics, Desktop Publishing
Saving in Standard File Formats
so that programs or documents saved on one computer system or application program will open in another different application program
Standard File Formats for Graphics
JPEG, GIF, BMP,
Standard File Formats for Text
TXT, RTF (Rich Text Format) ASCII
RTF stores some formatting information
Objects and Operations
Objects - Text, Graphics, Graphs, Cells, Rows, Columns, File, Records, Fields, Circle, Square, Line,
Operations - Copy, Paste, Cut, Insert, Crop, Rotate, Scale
Viruses
- infects your computer and makes it perform involuntary tasks - destructive piece of code
*Symptoms*
Slow your computer down
Applications dont work properly
Takes up processor
Recieve uncommon error messages
Computer Crashes (reboots unexpectedly)
*Causes of Infection*
Dodgy websites (gaming)
CDs from friends
Email - attachments
Peer to peer downloads - ShareZa, LimeWire
*Protect Yourself*
Anti Virus Software
Anti Malware
Anti Spyware
Firewalls
and running these often
Monday, 18 October 2010
Client Server Network
Some Examples of Servers are ...
File Server, Print Server, Web Server
A Client Server Network is ...
A network in which client machines access and make use of the resources available on the different servers.
Acts
Data Protection Act
Data Users
- people who access the info for you (Bank Teller)
Data Subject
- Person who the information is about
+ the right to have their info changed
+ the right to view information for a fee. Not always allowed to see it (Matters of National Security)
+ right to compensation if the act is broken
Data Controller
- the company that holds the information
+ must take measure to protect info (passwords, levels of access etc)
+ make sure its accurate and up to date
+ only keep it for as long as necessary
+ not sell the Data on or transfer outside the EU
Information Commisioner
- must register with them if you wish to store personal info!
Copyright, Designs and Patents Act
+ downloading music, videos, films etc without permission
Computer Misuse Act
+ Hacking
+ Spreading Viruses
File Server, Print Server, Web Server
A Client Server Network is ...
A network in which client machines access and make use of the resources available on the different servers.
Acts
Data Protection Act
Data Users
- people who access the info for you (Bank Teller)
Data Subject
- Person who the information is about
+ the right to have their info changed
+ the right to view information for a fee. Not always allowed to see it (Matters of National Security)
+ right to compensation if the act is broken
Data Controller
- the company that holds the information
+ must take measure to protect info (passwords, levels of access etc)
+ make sure its accurate and up to date
+ only keep it for as long as necessary
+ not sell the Data on or transfer outside the EU
Information Commisioner
- must register with them if you wish to store personal info!
Copyright, Designs and Patents Act
+ downloading music, videos, films etc without permission
Computer Misuse Act
+ Hacking
+ Spreading Viruses
Tuesday, 5 October 2010
Networking
What is a Network
a series of computers linked together so that they can communicate, share peripherals, share data etc
Stand Alone Computers aren't on networks
LAN
Local Area Network
covers a smaller geographical area ( building, school etc)
Transmission Media
+ copper wire
+ fibre optic
+ wireless
WAN
Wide Area Network
Covers a larger geographical area (like a country, city)
Trasmission Media
+ satellite
+ optical fibre
+ microwave
a series of computers linked together so that they can communicate, share peripherals, share data etc
Stand Alone Computers aren't on networks
LAN
Local Area Network
covers a smaller geographical area ( building, school etc)
Transmission Media
+ copper wire
+ fibre optic
+ wireless
WAN
Wide Area Network
Covers a larger geographical area (like a country, city)
Trasmission Media
+ satellite
+ optical fibre
+ microwave
Tuesday, 21 September 2010
Functions of Interfaces!
Buffy Does Crack!!
Buffering! - temporary storage of Data
D (DtoA!, AtoD!) - Data Conversion
Digital to Analogue, Analogue to Digital
C - Compensating for differences in speed of processor and peripherals!
Different features of Comparison
PPM (Pages Per Minute) Speed, DPI (Dots Per Inch, Resolution, Print Quality) Price, Speed of Data Transfer, Clock Speed
Inkjet V Laser
Laser are generally faster (higher PPM)
Inkjet usually better quality prints
Inkjet sprays ink onto page, Laser uses toner and an actual laser!
Inkjet is noiser! Laser prints come out warm because of heater to dry the toner!
Backing Storage Devices in size order
Floppy Disk
CD-ROM
Flash Drive
USB Pen Drive
DVD-ROM
Magnetic Tape
Hard Drive
Monitor Types
CRT - Cathode Ray Tube
LCD - :Liquid Crystal Display
TFT - Thin Film Transistor
Buffering! - temporary storage of Data
D (DtoA!, AtoD!) - Data Conversion
Digital to Analogue, Analogue to Digital
C - Compensating for differences in speed of processor and peripherals!
Different features of Comparison
PPM (Pages Per Minute) Speed, DPI (Dots Per Inch, Resolution, Print Quality) Price, Speed of Data Transfer, Clock Speed
Inkjet V Laser
Laser are generally faster (higher PPM)
Inkjet usually better quality prints
Inkjet sprays ink onto page, Laser uses toner and an actual laser!
Inkjet is noiser! Laser prints come out warm because of heater to dry the toner!
Backing Storage Devices in size order
Floppy Disk
CD-ROM
Flash Drive
USB Pen Drive
DVD-ROM
Magnetic Tape
Hard Drive
Monitor Types
CRT - Cathode Ray Tube
LCD - :Liquid Crystal Display
TFT - Thin Film Transistor
Monday, 13 September 2010
Types of Access
Sequential
Must go through the memory locations in order to get to the one required
Direct/Random
Can access at any point (can skip directly to ANY memory location required)
Must go through the memory locations in order to get to the one required
Direct/Random
Can access at any point (can skip directly to ANY memory location required)
Monday, 6 September 2010
5 box diagram
The Processor
C U A Love U Right!
CU - Control Unit
makes sure instructions are carried out in the right order
ALU - Arithmetic Logic Unit
carries out all calculations and makes logical decisions
R - Registers
temporary memory locations
Main Memory
RAM - Random Access Memory - TEMPORARY
ROM - Read Only Memory - PERMANENT
Input Devices
mouse, keyboard, mic, camera, webcam, scanner
Output Devices
monitor, speakers, printer, projector,
Backing Storage
USB Pen, Hard Disk, Floppy Disk, CDr,rw,rom, DVDr,rw,rom External Hard drives, Memory Cards
C U A Love U Right!
CU - Control Unit
makes sure instructions are carried out in the right order
ALU - Arithmetic Logic Unit
carries out all calculations and makes logical decisions
R - Registers
temporary memory locations
Main Memory
RAM - Random Access Memory - TEMPORARY
ROM - Read Only Memory - PERMANENT
Input Devices
mouse, keyboard, mic, camera, webcam, scanner
Output Devices
monitor, speakers, printer, projector,
Backing Storage
USB Pen, Hard Disk, Floppy Disk, CDr,rw,rom, DVDr,rw,rom External Hard drives, Memory Cards
Wednesday, 25 August 2010
Tidy Up!
UNICODE - 16 bit, capable of storing more characters allows it to store more languages
Advantages and Disadvantages of Binary
+ Easier to store the two states on backing storage
- its harder to write programs in Binary (longer, difficult to spot mistakes)
+ not affected by voltage degredation
+ fewer rules of addition to code into the processor (0 + 0, 0 + 1, 1 + 0, 1 + 1)
Advantages and Disadvantages of Binary
+ Easier to store the two states on backing storage
- its harder to write programs in Binary (longer, difficult to spot mistakes)
+ not affected by voltage degredation
+ fewer rules of addition to code into the processor (0 + 0, 0 + 1, 1 + 0, 1 + 1)
Calculation of Graphics Sizes
How do we do it!?
= length in pixels * height in pixels
= (length * dpi) * (height * dpi) dpi = resolution
DPI = Dots per inch
= length in pixels * height in pixels
= (length * dpi) * (height * dpi) dpi = resolution
DPI = Dots per inch
Tuesday, 24 August 2010
Bitmaps
How are graphics stored in a computer system - bitmap!
stores the (0,1) colour of every individual pixel
Resolution (High res has more pixels)
We measure resolution - Dots Per Inch (DPI)
stores the (0,1) colour of every individual pixel
Resolution (High res has more pixels)
We measure resolution - Dots Per Inch (DPI)
Friday, 20 August 2010
Binary
Sizes
Bit
Byte
Kilobyte
Megabyte
Gigabyte
Terabyte
Bit and get it to Megabyte
/8 = byte /1024 = kilobyte /1024 = megabyte
Terabyte to kilobyte
Terabyte * 1024 = gigabyte * 1024 = Megabyte * 1024 = Kilobyte
Bit
Byte
Kilobyte
Megabyte
Gigabyte
Terabyte
Bit and get it to Megabyte
/8 = byte /1024 = kilobyte /1024 = megabyte
Terabyte to kilobyte
Terabyte * 1024 = gigabyte * 1024 = Megabyte * 1024 = Kilobyte
Thursday, 19 August 2010
ASCII Code and FPR!
ASCII stands for?
American Standard Code for Information Interchange
How many bit code is it?
7, extended ASCII uses 8
How many characters can it represent?
128
What is the Character Set?
All the characters that can be represented (text, numbers, punctuation, includes control characters)
What are the control Characters?
Space, Tab, Enter ... Non Printable Characters that change the format of display
Floating Point Representation is used to represent Real Numbers.
How do Computers use Floating Point to represent Real Numbers?
By using a MANTISSA and an EXPONENT - Mantissa represents the actual number. Exponent tells us how many places to move or "float" the decimal point!
American Standard Code for Information Interchange
How many bit code is it?
7, extended ASCII uses 8
How many characters can it represent?
128
What is the Character Set?
All the characters that can be represented (text, numbers, punctuation, includes control characters)
What are the control Characters?
Space, Tab, Enter ... Non Printable Characters that change the format of display
Floating Point Representation is used to represent Real Numbers.
How do Computers use Floating Point to represent Real Numbers?
By using a MANTISSA and an EXPONENT - Mantissa represents the actual number. Exponent tells us how many places to move or "float" the decimal point!
Subscribe to:
Posts (Atom)