Download ppt_04

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
Transcript
Chapter 4
Software Basics:
The Ghost in the Machine
 2002 Prentice Hall
Topics
Processing with Programs
Software Applications: Tools for Users
System Software: The Hardware-Software Connection
The User Interface: The Human-Machine Connection
Tomorrow’s User Interfaces
 2002 Prentice Hall
2
Processing with Programs
Software programs are:
Stored in memory
Instructions that tell the computer what to do
Designed to solve problems
Leonardo da Vinci called music ”the shaping of the invisible,“
and his phrase is even more apt as a description of software.
—Alan Kay, developer of the concept of the personal computer
 2002 Prentice Hall
3
Food for Thought
Suzanne’s French Toast Fantastique:
1.
2.
3.
4.
Combine 2 slightly beaten eggs with 1 tsp vanilla
extract, ½ tsp cinnamon, 1 cup milk
Dip 6 slices of bread in mixture
Fry in small amount of butter until golden brown
Serve bread with maple syrup, sugar, or tart jelly
 2002 Prentice Hall
4
A Fast, Stupid Machine
Computers:
Perform arithmetic and comparisons capabilities
Follow precise instructions to perform an operation
Execute instructions quickly and accurately
 2002 Prentice Hall
5
A Fast, Stupid Machine
Programmers begin with an algorithm
An algorithm is:
 A set of step-by-step instructions (written in a natural
language, e.g., English)
Algorithms are ambiguous, error-prone generalities
Algorithms are translated into the vocabulary of a
programming language
 2002 Prentice Hall
6
The Language of Computers
Machine Language numeric codes to represent data
High-level language fall between machine
language and natural human language
Compilers translates high-level language into
Natural Languages include the languages spoken
by humans
 2002 Prentice Hall
7
Software Applications:
Tools for Users
Software applications include:
Consumer Applications
Integrated Software
Vertical-market
Custom Software
 2002 Prentice Hall
8
Consumer Applications
• Consumer software differs from other types (music
CDs, videos, etc.) based on:
 Documentation
 Upgrade options
 Compatibility
 Warranty
 Extent of ownership/license
 2002 Prentice Hall
9
Documentation
Documentation includes:
Printed tutorial and reference
manuals that explain how to use
the software
On-line manuals and help
screens which offer immediate
help to the user
 2002 Prentice Hall
10
Upgrades
Upgrades allow you to pay a fee to get the latest
software version
Newer releases often have additional features and
fewer bugs
 2002 Prentice Hall
11
Compatibility
Compatibility allows
software to function
properly with the
hardware, operating
system, and peripherals
 2002 Prentice Hall
Programs written for one
type of computer system
may not work on another
12
Disclaimers
Software manufacturers limit their liability for
software problems by selling software “as is”
Given the difficulty of this task, most programs
work amazingly well—but not perfectly
 2002 Prentice Hall
13
Licensing
Licensing agreements limit your right to:
 Make copies of software disks
 install software on hard drives
 transfer information to other users
Commercial software is copyrighted so it can’t be
legally duplicated for distribution to others.
 2002 Prentice Hall
14
Distribution
Software is distributed through direct sales forces
to corporations and other institutions.
Software is sold to consumers through:
 retail stores
 mail-order catalogs
 Web sites.
 2002 Prentice Hall
15
Integrated Applications and
Suites: Software Bundles
Multipurpose software includes most of these
modules:





Word processing
Database
Spreadsheet
Graphics
Telecommunications
 2002 Prentice Hall
16
Integrated Software:
Advantages
Costs less than buying the
applications individually
Data is easily transferred
between modules
Commands used in each
module are usually the same
Usually there is a seamless
integration of the modules
 2002 Prentice Hall
17
Vertical-Market and
Custom Software
Job-specific software:
 Medical billings
 Library cataloging
 Restaurant management
 Single-client software needs
 2002 Prentice Hall
18
System Software: The HardwareSoftware Connection
System software is a class of software that
includes:
 The operating system
 Utility programs
 2002 Prentice Hall
19
What the Operating System Does
The operating system controls:






Communication with peripherals
Coordination of concurrent processing
Memory management
Monitoring of resources and security
Management of programs and data
Coordinating network communications
 2002 Prentice Hall
20
Utility Programs
Upgrades allow you to pay a fee to get the latest
software version
 repairing damaged files
 copying files from one
storage device to another
 2002 Prentice Hall
 translating files so different
software can read them
 guarding against viruses
21
Where the Operating System Lives
Some computers store their
operating system in ROM
Others include only part of
it in ROM
 The remaining system is
loaded into memory (booting)
Most of the time it works
behind the scenes
 2002 Prentice Hall
22
The User Interface:
The Human-Machine Connection
The user interface is what the user sees on the screen
Two major user interface types:
 Character-based interface
 Graphical user interface (GUI)
 2002 Prentice Hall
23
A Character-Based Interface:
MS-DOS
This is a disk operating system in which the user
interacts using characters
 letters
 numbers
 symbols
 2002 Prentice Hall
24
A Character-Based Interface:
MS-DOS
MS-DOS™ is the most widely used generalpurpose operating system
Features include:
 Command-line interface (commands are typed)
 Menu-driven interface (commands are chosen from
on-screen lists)
 2002 Prentice Hall
25
Graphical User Interfaces:
Macintosh
This is a disk operating system in which the user
interacts with the computer by using a pointing
device (e.g. a mouse)
As early as 1984, the Macintosh™ computer
was designed with this interface in mind
 2002 Prentice Hall
26
Graphical User Interfaces:
Windows
Windows 95 and 98 are
similar in many ways
to the Mac OS
Several versions of
Windows exist for
business and home
users
 2002 Prentice Hall
27
Why WIMP Won
Windows, Icons, Menus, and Pointing devices
• They’re intuitive
• They’re consistent
• They’re forgiving
• They’re protective
• They’re flexible
 2002 Prentice Hall
28
Multiple User Operating Systems:
UNIX and Linux
UNIX was developed at Bell Labs before personal
computers were available
Linux was created by Linus Torvalds and continues to
be a work-in-progress
 Linux is free for anyone to use or improve
 2002 Prentice Hall
29
Multiple User Operating Systems:
UNIX and Linux
UNIX remains a dominant Internet operating
system for Internet servers.
These systems allow a timesharing computer to
communicate with several other computers or
terminals at once.
 2002 Prentice Hall
30
Hardware & Software Platforms
Windows XP
IBM’s OS/2
Windows ME
Mac OS/9
Windows 2000
Mac OS/X
Windows CE
Linux & UNIX
Palm OS
 2002 Prentice Hall
BeOS
31
Tomorrow’s User Interfaces
Future interfaces will probably:
 Make individual applications obsolete
 Include more network applications
 Support natural language interfaces such
as talking to the machine
 Include artificial intelligence and agents
 Be based on virtual reality
 2002 Prentice Hall
32
 2002 Prentice Hall
36