Docsity

Understanding Databases: Operations, Advantages, and Types, Study notes of Computer Science

Toggle sidebar
bg1
1
© 2008 Prentice-Hall, Inc. Slide 1
Tomorrow’s Technology
and You
8th Edition
© 2008 Prentice-Hall, Inc. Slide 2
Tomorrow’s Technology
and You 8/e
Chapter 7
Database Applications and
Privacy Implications
© 2008 Prentice-Hall, Inc. Slide 3
Tomorrow’s Technology and You 8/e
Chapter 7
Objectives
Explain what a database is and describe its basic structure.
Identify the kinds of problems that can be best solved with
database software.
Describe different kinds of database software, from simple file
managers to complex relational databases.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Understanding Databases: Operations, Advantages, and Types and more Study notes Computer Science in PDF only on Docsity!

© 2008 Prentice-Hall, Inc. Slide 1

Tomorrow’s Technology

and You

8 th^ Edition

© 2008 Prentice-Hall, Inc. Slide 2

Tomorrow’s Technology

and You 8/e

Chapter 7

Database Applications and

Privacy Implications

© 2008 Prentice-Hall, Inc. Slide 3

Tomorrow’s Technology and You 8/e

Chapter 7

Objectives

 Explain what a database is and describe its basic structure.  Identify the kinds of problems that can be best solved with database software.  Describe different kinds of database software, from simple file managers to complex relational databases.

© 2008 Prentice-Hall, Inc. Slide 4 Chapter 7 Objectives (continued)  Describe database operations for storing, sorting, updating, querying, and summarizing information.  Give examples of ways in which large, easily accessible databases make lives safer or more convenient.  Explain the ways databases threaten our privacy. © 2008 Prentice-Hall, Inc. Slide 5

Tomorrow’s Technology and You 8/e

Chapter 7 The Google Guys Search for Success  Google is one of the most successful companies on WWW.  Search for Web pages, facts, quotes, etc.  200 million queries a day  Launched by a Sergey Brin and Larry Page (Stanford Ph.D. students)  New approach in search technology  Marks a page’s relevance by the number of times other related web pages link to it, not how often a word or phrase appeared on a page © 2008 Prentice-Hall, Inc. Slide 6

Tomorrow’s Technology and You 8/e

Chapter 7 The Google Guys Search for Success Google headquarters viewed using Google Earth, a free application that combines satellite imagery, maps, and Google's search engine.

© 2008 Prentice-Hall, Inc. Slide 10 Chapter 7 The Electronic File Cabinet: Database Basics  A record is the information relating to one person, product, or event.  Each discrete piece of information in a record is a field. Field Record Table © 2008 Prentice-Hall, Inc. Slide 11

Tomorrow’s Technology and You 8/e

Chapter 7 The Electronic File Cabinet: Database Basics  The type of information a field can hold is determined by its:  Field type or  Data type  Database programs provide you with more than one way to view data:  Form views Show one record at a time  List views  dataDisplay several records in lists similar to the way a spreadsheet displays © 2008 Prentice-Hall, Inc. Slide 12

Tomorrow’s Technology and You 8/e

Chapter 7 The Electronic File Cabinet: Database Basics

In any view, fields can be

rearranged without changing

the underlying data.

List View Form View

© 2008 Prentice-Hall, Inc. Slide 13 Chapter 7 The Electronic File Cabinet: Database Basics Database Operations

 Import: receive data in the form of text files

 Browse: navigate through information

 Query: find records that match specific criteria

© 2008 Prentice-Hall, Inc. Slide 14

Tomorrow’s Technology and You 8/e

Chapter 7 The Electronic File Cabinet: Database BasicsSort: rearrange records (alphabetically or numerically)  Print reports, labels, and form letters: A report is an ordered list of selected records and fields in an easy-to-read format. © 2008 Prentice-Hall, Inc. Slide 15

Tomorrow’s Technology and You 8/e

Chapter 7 The Electronic File Cabinet: Database Basics  Most modern database management programs support a standard language for programming complex queries called SQL ( Structured Query Language).  SQL is available for many database management systems.  Programmers and sophisticated users don’t need to learn new languages when they work with new systems.  The graphical user interfaces allow point-and-click queries that insulate users from the complexities of the query language.

© 2008 Prentice-Hall, Inc. Slide 19 Chapter 7 The Electronic File Cabinet: Database Basics

Special-Purpose Database Programs

Specialized database software: preprogrammed for specific data storage and retrieval purposes  Geographical information systems (GIS): include geographic and demographic data in map form © 2008 Prentice-Hall, Inc. Slide 20

Tomorrow’s Technology and You 8/e

Chapter 7 The Electronic File Cabinet: Database Basics

 Personal information manager (PIM) : an

electronic organizer

Automates some or all of the following functions:

Address/phone book Appointment calendar To-do list Miscellaneous notes

Handheld computers can share information with

applications such as iCalendar running on PCs and

Macintoshes.

© 2008 Prentice-Hall, Inc. Slide 21

Tomorrow’s Technology and You 8/e

Chapter 7 The Electronic File Cabinet: Database Basics

© 2008 Prentice-Hall, Inc. Slide 22 Chapter 7 Beyond the Basics: Database Management Systems

From File Managers to Database Management Systems

File manager: enables users to work with one file at a time  Database management system (DBMS): manipulates data in a large collection of files, cross-referencing between files as needed © 2008 Prentice-Hall, Inc. Slide 23

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems  A DBMS can be used interactively, or can be controlled directly by other programs. © 2008 Prentice-Hall, Inc. Slide 24

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems What Makes a Database Relational?

To most users, a relational database program is one

that allows tables to be related to each other.

 Changes in one table are reflected in other tables automatically.

To computer scientists, the term relational database

has a technical definition related to:

 The underlying structure of the data  The rules specifying how that data can be manipulated

© 2008 Prentice-Hall, Inc. Slide 28 Chapter 7 Beyond the Basics: Database Management Systems

Database Trends

Batch processing: users accumulate transactions and input them into the computer in large batches  Real-Time computing : allows instant access to information  Interactive processing: has replaced batch processing for most applications  Users can now interact with data through terminals, viewing and changing values online in real-time.  Batch processing is still used for jobs in which it makes sense to do a lot of transactions at once. © 2008 Prentice-Hall, Inc. Slide 29

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems Client/server computing involves two-way communications between applications running on the “client” PC and the “server” PC. © 2008 Prentice-Hall, Inc. Slide 30

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems

Downsizing and Decentralizing

 Using a client/server approach  Today many businesses use a client/server approach, using database servers.  Users can take advantage of the PC’s simple user interface and convenience, while still having access to data stored on large server systems.

© 2008 Prentice-Hall, Inc. Slide 31 Chapter 7 Beyond the Basics: Database Management Systems  Data Mining:  The discovery and extraction of hidden predictive information from large databases  Uses statistical methods and artificial intelligence technology  Locates trends and patterns in data that would have been overlooked by normal database queries “The goal is information at your fingertips.” Bill Gates © 2008 Prentice-Hall, Inc. Slide 32

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems  Databases and the Web  Information is available via a company’s Intranet and the Internet.HTML , the language used to construct most Web pages, wasn’t designed to build database queries.  XML , a newer, more powerful data description language, is designed with industrial-strength database access in mind.  Web database strategies revolve around directories.  Directories are at the heart of many (CRM) systems —software systems for organizing and tracking customer relationship management information on customers. © 2008 Prentice-Hall, Inc. Slide 33

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems Rules of Thumb: Dealing with Databases  Choose the right tool for the job.  Think about how you’ll get the information out before you put it in.  Start with a plan, and be prepared to change your plan.  Make your data consistent; inconsistencies can mess up sorting and make searching difficult.  Databases are only as good as their data.  Query with care.  If at first you don’t succeed, try another approach.

© 2008 Prentice-Hall, Inc. Slide 37 Chapter 7 Beyond the Basics: Database Management Systems

Multimedia Databases

Serve as indexes for art, photographs, maps, video clips, and other media files

Natural Language Databases

Allow users to ask for data using the same language used to address humans ( natural language queries) Future databases will undoubtedly incorporate more artificial intelligence technology © 2008 Prentice-Hall, Inc. Slide 38

Tomorrow’s Technology and You 8/e

Chapter 7 Beyond the Basics: Database Management Systems www.ask.com enables users to ask questions about computers by stating their queries in plain English and other natural languages. © 2008 Prentice-Hall, Inc. Slide 39

Tomorrow’s Technology and You 8/e

Chapter 7 No Secrets: Computers and Privacy

Personal Data: All About You

 More than 15,000 specialized marketing databases contain 2,000,000,000 names.  These databases contain characteristics like age, income, and religion.

© 2008 Prentice-Hall, Inc. Slide 40 Chapter 7 No Secrets: Computers and Privacy

What Is Privacy?

 A common theme in privacy is the notion of access :  Physical proximity to the person  Knowledge about that person  People need a certain amount of privacy to maintain their dignity and freedom.  How much dignity would you have if everyone could read your mind?  Information about people can be of great value to society.  Many parents would like to know the identities of convicted sex offenders. © 2008 Prentice-Hall, Inc. Slide 41

Tomorrow’s Technology and You 8/e

Chapter 7 No Secrets: Computers and Privacy

The Privacy Problem

 Protection against invasion of privacy is not explicitly guaranteed by the U.S. Constitution.  The right to privacy is implied by other constitutional guarantees.  Debates rage about what this means.  Federal and state laws provide forms of privacy protection.  Most of those laws were written years ago.  Most European countries have had strong privacy protection laws for years. © 2008 Prentice-Hall, Inc. Slide 42

Tomorrow’s Technology and You 8/e

Chapter 7 No Secrets: Computers and Privacy

Big Brother and Big Business

 Other information technologies amplify the threat to personal privacy:  Networks make it possible for personal data to be transmitted almost anywhere instantly.  Microsoft’s Passport , part of its .NET technologies, can optionally collect the following information in a central database controlled by Microsoft:  Passwords  Credit card numbers  Other consumer information

© 2008 Prentice-Hall, Inc. Slide 46 Chapter 7 Lesson Summary (continued)  The trend today is clearly away from large, centralized databases accessible only to data-processing staff.  Organizations are moving toward a client/server approach that enables users to have access to data stored in servers throughout the organization’s network.  The accumulation of data by government agencies and businesses is a growing threat to our right to privacy.  While there are many legitimate uses for these procedures, there is also a great potential for abuse.