100% found this document useful (2 votes)
33 views

Solution Manual for Python for Everyone 2nd Edition Horstmann instant download

The document provides links to download solution manuals and test banks for various educational resources, including 'Python for Everyone, 2nd Edition' by Horstmann. It lists additional solution manuals and test banks for other subjects such as accounting, engineering mechanics, and health care. The document also includes a detailed table of contents for the Python textbook, outlining topics covered in each chapter.

Uploaded by

drauyusev
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
33 views

Solution Manual for Python for Everyone 2nd Edition Horstmann instant download

The document provides links to download solution manuals and test banks for various educational resources, including 'Python for Everyone, 2nd Edition' by Horstmann. It lists additional solution manuals and test banks for other subjects such as accounting, engineering mechanics, and health care. The document also includes a detailed table of contents for the Python textbook, outlining topics covered in each chapter.

Uploaded by

drauyusev
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 44

Solution Manual for Python for Everyone 2nd Edition

Horstmann download pdf

https://testbankmall.com/product/solution-manual-for-python-for-
everyone-2nd-edition-horstmann/

Visit testbankmall.com today to download the complete set of


test banks or solution manuals!
Here are some recommended products for you. Click the link to
download, or explore more at testbankmall.com

Solution Manual for Python for Everyone, 2nd Edition

https://testbankmall.com/product/solution-manual-for-python-for-
everyone-2nd-edition/

Test Bank for Python for Everyone, 2nd Edition

https://testbankmall.com/product/test-bank-for-python-for-
everyone-2nd-edition/

Solution Manual for Fundamentals of Python: Data


Structures, 2nd Edition Kenneth Lambert

https://testbankmall.com/product/solution-manual-for-fundamentals-of-
python-data-structures-2nd-edition-kenneth-lambert/

Solution Manual for Accounting, Volume 2, Ninth Canadian


Edition 9/E 9th Edition : 133098729

https://testbankmall.com/product/solution-manual-for-accounting-
volume-2-ninth-canadian-edition-9-e-9th-edition-133098729/
Solution manual for Engineering Mechanics: Statics 9th
Edition by Meriam

https://testbankmall.com/product/solution-manual-for-engineering-
mechanics-statics-9th-edition-by-meriam/

Test Bank for Delivering Health Care in America A Systems


Approach, 6th Edition, Leiyu Shi Douglas A. Singh

https://testbankmall.com/product/test-bank-for-delivering-health-care-
in-america-a-systems-approach-6th-edition-leiyu-shi-douglas-a-singh/

Test Bank for MIS 9th Edition Bidgoli

https://testbankmall.com/product/test-bank-for-mis-9th-edition-
bidgoli/

Test Bank for HDEV 3rd Edition by Rathus

https://testbankmall.com/product/test-bank-for-hdev-3rd-edition-by-
rathus/

Ethical Decision Making for the 21st Century Counselor 1st


Edition Sheperis Test Bank

https://testbankmall.com/product/ethical-decision-making-for-the-21st-
century-counselor-1st-edition-sheperis-test-bank/
Solution Manual for AVR Microcontroller and Embedded
Systems: Using Assembly and C Muhammad Ali Mazidi, Sarmad
Naimi, Sepehr Naimi
https://testbankmall.com/product/solution-manual-for-avr-
microcontroller-and-embedded-systems-using-assembly-and-c-muhammad-
ali-mazidi-sarmad-naimi-sepehr-naimi/
1.1 Computer Programs 2

1.2 The Anatomy of a Computer 3

CS 1 Computers Are Everywhere 5

1.3 The Python Programming Language 5

1.4 Becoming Familiar with Your Programming Environment 6

PT 1 Interactive Mode 8

PT 2 Backup Copies 9

ST 1 The Python Interpreter 10

1.5 Analyzing Your First Program 11

1.6 Errors 13

CE 1 Misspelling Words 14

1.7 PROBLEM SOLVING: Algorithm Design 15

CS 2 Data Is Everywhere 17

HT 1 Describing an Algorithm with Pseudocode 18

WE 1 Writing an Algorithm for Tiling a Floor 20

2 Programming With Numbers and Strings 23

2.1 Variables 24

Defining Variables 24

Number Types 26

Variable Names 27

Constants 28

Comments 29

CE 1 Using Undefined Variables 30

PT 1 Choose Descriptive Variable Names 30

PT 2 Do Not Use Magic Numbers 30


2.2 Arithmetic 31

Basic Arithmetic Operations 31

Powers 32

Floor Division and Remainder 32

Calling Functions 33

Mathematical Functions 35

CE 2 Roundoff Errors 36

CE 3 Unbalanced Parentheses 37

PT 3 Use Spaces in Expressions 37

ST 1 Other Ways to Import Modules 38

ST 2 Combining Assignment and Arithmetic 38

ST 3 Line Joining 38

2.3 PROBLEM SOLVING: First Do It By Hand 39

WE 1 Computing Travel Time 40

2.4 Strings 41

The String Type 41

Concatenation and Repetition 42

Converting Between Numbers and Strings 43

Strings and Characters 44

String Methods 45

ST 4 Character Values 46

ST 5 Escape Sequences 47

CS 1 International Alphabets and Unicode 47

2.5 Input and Output 48

User Input 48
Numerical Input 49

Formatted Output 50

PT 4 Don’t Wait to Convert 53

HT 1 Writing Simple Programs 53

WE 2 Computing the Cost of Stamps 56

CS 2 Bugs in Silicon 58

2.6 GRAPHICS: Simple Drawings 58

Creating a Window 59

Lines and Polygons 60

Filled Shapes and Color 62

Ovals, Circles, and Text 64

HT 2 GRAPHICS: Drawing Graphical Shapes 65

TOOLBOX 1 Symbolic Processing with SymPy 68

3 Decisions 73

3.1 The if Statement 74

CE 1 Tabs 77

PT 1 Avoid Duplication in Branches 78

ST 1 Conditional Expressions 78

3.2 Relational Operators 79

CE 2 Exact Comparison of Floating-Point Numbers 82

ST 2 Lexicographic Ordering of Strings 82

HT 1 Implementing an if Statement 83

WE 1 Extracting the Middle 85

3.3 Nested Branches 87

PT 2 Hand-Tracing 89
CS 1 Dysfunctional Computerized Systems 90

3.4 Multiple Alternatives 91

TOOLBOX 1 Sending E-mail 93

3.5 PROBLEM SOLVING: Flowcharts 96

3.6 PROBLEM SOLVING: Test Cases 99

PT 3 Make a Schedule and Make Time for Unexpected Problems 100

3.7 Boolean Variables and Operators 101

CE 3 Confusing and and or Conditions 104

PT 4 Readability 104

ST 3 Chaining Relational Operators 105

ST 4 Short-Circuit Evaluation of Boolean Operators 105

ST 5 De Morgan’s Law 106

3.8 Analyzing Strings 106

3.9 APPLICATION: Input Validation 110

ST 6 Terminating a Program 112

ST 7 Interactive Graphical Programs 112

CS 2 Artificial Intelligence 113

WE 2 GRAPHICS: Intersecting Circles 113

TOOLBOX 2 Plotting Simple Graphs 117

4 Loops 125

4.1 The while Loop 126

CE 1 Don’t Think “Are We There Yet?” 130

CE 2 Infinite Loops 130

CE 3 Off-by-One Errors 131

ST 1 Special Form of the print Function 132


CS 1 The First Bug 132

4.2 PROBLEM SOLVING: Hand-Tracing 133

4.3 APPLICATION: Processing Sentinel Values 135

ST 2 Processing Sentinel Values with a Boolean Variable 138

ST 3 Redirection of Input and Output 138

4.4 PROBLEM SOLVING: Storyboards 139

4.5 Common Loop Algorithms 141

Sum and Average Value 141

Counting Matches 142

Prompting Until a Match is Found 142

Maximum and Minimum 142

Comparing Adjacent Values 143

4.6 The for Loop 145

PT 1 Count Iterations 148

HT 1 Writing a Loop 149

4.7 Nested Loops 152

WE 1 Average Exam Grades 155

WE 2 A Grade Distribution Histogram 157

4.8 Processing Strings 159

Counting Matches 159

Finding All Matches 160

Finding the First or Last Match 160

Validating a String 161

Building a New String 162

4.9 APPLICATION: Random Numbers and Simulations 164


Generating Random Numbers 164

Simulating Die Tosses 165

The Monte Carlo Method 165

WE 3 GRAPHICS: Bull’s Eye 167

4.10 GRAPHICS: Digital Image Processing 169

Filtering Images 170

Reconfiguring Images 172

4.11 PROBLEM SOLVING: Solve a Simpler Problem First 174

CS 2 Digital Piracy 180

5 Functions 183

5.1 Functions as Black Boxes 184

5.2 Implementing and Testing Functions 185

Implementing a Function 186

Testing a Function 186

Programs that Contain Functions 187

PT 1 Function Comments 189

PT 2 Naming Functions 190

5.3 Parameter Passing 190

PT 3 Do Not Modify Parameter Variables 191

CE 1 Trying to Modify Arguments 192

5.4 Return Values 192

ST 1 Using Single-Line Compound Statements 193

HT 1 Implementing a Function 194

WE 1 Generating Random Passwords 196

5.5 Functions Without Return Values 201


CS 1 Personal Computing 202

5.6 PROBLEM SOLVING: Reusable Functions 203

5.7 PROBLEM SOLVING: Stepwise Refinement 205

PT 4 Keep Functions Short 209

PT 5 Tracing Functions 210

PT 6 Stubs 211

WE 2 Calculating a Course Grade 211

WE 3 Using a Debugger 214

5.8 Variable Scope 219

PT 7 Avoid Global Variables 221

WE 4 GRAPHICS: Rolling Dice 221

5.9 GRAPHICS: Building an Image Processing Toolkit 224

Getting Started 224

Comparing Images 225

Adjusting Image Brightness 226

Rotating an Image 227

Using the Toolkit 228

WE 5 Plotting Growth or Decay 230

5.10 Recursive Functions (Optional) 232

HT 2 Thinking Recursively 234

TOOLBOX 1 Turtle Graphics 236

LISTS 245

6.1 Basic Properties of Lists 246

Creating Lists 246

Accessing List Elements 247


Traversing Lists 248

List References 249

CE 1 Out-of-Range Errors 250

PT 1 Use Lists for Sequences of Related Items 250

ST 1 Negative Subscripts 250

ST 2 Common Container Functions 251

CS 1 Computer Viruses 251

6.2 List Operations 252

Appending Elements 252

Inserting an Element 253

Finding an Element 254

Removing an Element 254

Concatenation and Replication 255

Equality Testing 256

Sum, Maximum, Minimum, and Sorting 256

Copying Lists 256

ST 3 Slices 258

6.3 Common List Algorithms 259

Filling 259

Combining List Elements 259

Element Separators 260

Maximum and Minimum 260

Linear Search 261

Collecting and Counting Matches 261

Removing Matches 262


Swapping Elements 263

Reading Input 264

WE 1 Plotting Trigonometric Functions 265

6.4 Using Lists with Functions 268

ST 4 Call by Value and Call by Reference 271

ST 5 Tuples 271

ST 6 Functions with a Variable Number of Arguments 272

ST 7 Tuple Assignment 272

ST 8 Returning Multiple Values with Tuples 273

TOOLBOX 1 Editing Sound Files 273

6.5 PROBLEM SOLVING: Adapting Algorithms 275

HT 1 Working with Lists 276

WE 2 Rolling the Dice 278

6.6 PROBLEM SOLVING: Discovering Algorithms by Manipulating Physical Objects 282

6.7 Tables 285

Creating Tables 286

Accessing Elements 287

Locating Neighboring Elements 287

Computing Row and Column Totals 288

Using Tables with Functions 289

WE 3 A World Population Table 290

ST 9 Tables with Variable Row Lengths 292

WE 4 GRAPHICS: Drawing Regular Polygons 293

7 Files and Exceptions 299

7.1 Reading and Writing Text Files 300


Opening a File 300

Reading from a File 301

Writing from a File 302

A File Processing Example 302

CE 1 Backslashes in File Names 303

7.2 Text Input and Output 304

Iterating over the Lines of a File 304

Reading Words 306

Reading Characters 308

Reading Records 309

ST 1 Reading the Entire File 312

ST 2 Regular Expressions 312

ST 3 Character Encodings 313

TOOLBOX 1 Working with CSV Files 314

7.3 Command Line Arguments 316

HT 1 Processing Text Files 319

WE 1 Analyzing Baby Names 322

TOOLBOX 2 Working with Files and Directories 325

CS 1 Encryption Algorithms 327

7.4 Binary Files and Random Access (Optional) 328

Reading and Writing Binary Files 328

Random Access 329

Image Files 330

Processing BMP Files 331

WE 2 GRAPHICS: Displaying a Scene File 334


7.5 Exception Handling 337

Raising Exceptions 338

Handling Exceptions 339

The finally Clause 341

PT 1 Raise Early, Handle Late 342

PT 2 Do Not Use except and finally in the Same try Statement 342

ST 4 The with Statement 343

TOOLBOX 3 Reading Web Pages 343

7.6 APPLICATION: Handling Input Errors 344

TOOLBOX 4 Statistical Analysis 348

WE 3 Creating a Bubble Chart 352

CS 2 The Ariane Rocket Incident 355

8 Sets and Dictionaries 357

8.1 Sets 358

Creating and Using Sets 358

Adding and Removing Elements 359

Subsets 360

Set Union, Intersection, and Difference 361

WE 1 Counting Unique Words 364

PT 1 Use Python Sets, Not Lists, for Efficient Set

Operations 366

ST 1 Hashing 367

CS 1 Standardization 368

8.2 Dictionaries 368

Creating Dictionaries 369


Accessing Dictionary Values 370

Adding and Modifying Items 370

Removing Items 371

Traversing a Dictionary 372

ST 2 Iterating over Dictionary Items 374

ST 3 Storing Data Records 375

WE 2 Translating Text Messages 375

8.3 Complex Structures 378

A Dictionary of Sets 378

A Dictionary of Lists 381

ST 4 User Modules 383

WE 3 GRAPHICS: Pie Charts 384

TOOLBOX 1 Harvesting JSON Data from the Web 388

9 Objects and Classes 393

9.1 Object-Oriented Programming 394

9.2 Implementing a Simple Class 396

9.3 Specifying the Public Interface of a Class 399

9.4 Designing the Data Representation 401

PT 1 Make All Instance Variables Private, Most Methods Public 402

9.5 Constructors 402

CE 1 Trying to Call a Constructor 404

ST 1 Default and Named Arguments 404

9.6 Implementing Methods 405

PT 2 Define Instance Variables Only in the Constructor 407

ST 2 Class Variables 408


9.7 Testing a Class 409

HT 1 Implementing a Class 410

WE 1 Implementing a Bank Account Class 414

9.8 PROBLEM SOLVING: Tracing Objects 416

9.9 PROBLEM SOLVING: Patterns for Object Data 419

Keeping a Total 419

Counting Events 420

Collecting Values 420

Managing Properties of an Object 421

Modeling Objects with Distinct States 421

Describing the Position of an Object 422

9.10 Object References 423

Shared References 424

The None Reference 425

The self Reference 426

The Lifetime of Objects 426

CS 1 Electronic Voting 427

9.11 APPLICATION: Writing a Fraction Class 428

Fraction Class Design 428

The Constructor 429

Special Methods 430

Arithmetic Operations 432

Logical Operations 433

ST 3 Object Types and Instances 435

WE 2 GRAPHICS: A Die Class 436


CS 2 Open Source and Free Software 439

10 Inheritance 443

10.1 Inheritance Hierarchies 444

PT 1 Use a Single Class for Variation in Values, Inheritance for Variation in Behavior 447

ST 1 The Cosmic Superclass: object 447

10.2 Implementing Subclasses 449

CE 1 Confusing Super- and Subclasses 451

10.3 Calling the Superclass Constructor 452

10.4 Overriding Methods 455

CE 2 Forgetting to Use the super Function When Invoking a Superclass Method 458

10.5 Polymorphism 458

ST 2 Subclasses and Instances 461

ST 3 Dynamic Method Lookup 461

ST 4 Abstract Classes 462

CE 3 Don’t Use Type Tests 463

HT 1 Developing an Inheritance Hierarchy 463

WE 1 Implementing an Employee Hierarchy for Payroll Processing 468

10.6 APPLICATION: A Geometric Shape Class Hierarchy 472

The Base Class 472

Basic Shapes 474

Groups of Shapes 477

TOOLBOX 1 Game Programming 480

11 Recursion 489

11.1 Triangle Numbers Revisited 490

CE 1 Infinite Recursion 493


ST 1 Recursion with Objects 493

11.2 PROBLEM SOLVING: Thinking Recursively 494

WE 1 Finding Files 497

11.3 Recursive Helper Functions 498

11.4 The Efficiency of Recursion 499

11.5 Permutations 504

CS 1 The Limits of Computation 506

11.6 Backtracking 508

WE 2 Towers of Hanoi 512

11.7 Mutual Recursion 515

TOOLBOX 1 Analyzing Web Pages with Beautiful Soup 519

12 Sorting and Searching 525

12.1 Selection Sort 526

12.2 Profiling the Selection Sort Algorithm 528

12.3 Analyzing the Performance of the Selection Sort Algorithm 530

ST 1 Oh, Omega, and Theta 531

ST 2 Insertion Sort 532

12.4 Merge Sort 534

12.5 Analyzing the Merge Sort Algorithm 536

ST 3 The Quicksort Algorithm 538

CS 1 The First Programmer 540

12.6 Searching 541

Linear Search 541

Binary Search 542

12.7 PROBLEM SOLVING: Estimating the Running Time of an Algorithm 544


Linear Time 545

Quadratic Time 546

The Triangle Pattern 547

Logarithmic Time 548

PT 1 Searching and Sorting 549

ST 4 Comparing Objects 549

WE 1 Enhancing the Insertion Sort Algorithm 549

Appendix A Python Operator Summary A-1

Appendix B Python Reserved Word Summary A-3

Appendix C The Python Standard Library A-5

Appendix D The Basic Latin and Latin-1 Subsets of Unicode A-22

Appendix E Binary Numbers and Bit Operations*

Appendix F HTML Summary*

Glossary R-1

Index R-6

Credits R-22

Quick Reference R-23


Random documents with unrelated
content Scribd suggests to you:
Oregon Map on Reverse of Sheet
By Courtesy of
THE OREGON JOURNAL
Portland, Oregon
INDEX

A
Adamana, 294, 314.
Albany, 171.
Albion, 236.
Alturas, 69.
Annie Creek Canyon, 84–85.
Applegate, 31.
Arcata, 207–208.
Astoria, 160.
Auburn, 28–30.

B
Bear Valley, 33.
Bell Springs Mountain, 216–218, 220–228.
Bend, 112–116.
Bly, 74–76.
Bonneville, 144.

C
Celilo, 140.
Chinese Camp, 270–271.
Clear Lake Valley, 21.
Cloverdale, 238–241.
Colfax, 31.
Coloma, 45.
Columbia River Highway, 135–153.
Cow Creek Canyon, 178.
Crater Lake, 17, 81–109.
Crescent, 112.
Crescent City, 195–199.

D
Dalles, The, 125–132.
Del Norte Redwoods, 20, 193–194.
Deschutes River, 112, 115–120.
Donner Lake, 22, 33–34.
Dutch Flat, 32.
Dyerville, 217, 220.

E
Eagle Lake, 65–66.
Emigrant Gap, 32.
Eugene, 173–175.
Eureka, 18, 21, 184, 209–219.

F
Fort Bragg, 233–234.
Fortuna, 219.
Fresno, 248.

G
Glenbrook, 48–51.
Globe, 287–288.
Gold Run, 32.
Goose Lake, 69–72.
Grant, Ulysses S., 213.
Grants Pass, 179–185.

H
Harriman, E. H., 104.
Harris, 223–225.
Harrisburg, 172.
Harte, Bret, 22, 45, 213–215, 270.
Hetch Hetchy Valley, 266–267.
Honey Lake, 63–64.
Hood River, 132–135.
Horse Lake, 67–68.

J
Jacksonville, 270.

K
Klamath Falls, 74–81.
Klamath, Fort, 83.
Klamath, Lake, 81–83.

L
Lakeview, 72–74.
Lancaster, Mr. S. C., 138–139, 145, 150.
Latourelle Falls, 149–150.
Laytonville, 229–232.
Little River, 236.
Lost River, 76.
M
McCrays, 239–241.
Madeline Plains, 68.
Mariposa Grove, 251–253.
Mendocino City, 234–235.
Multnomah Falls, 146.

O
Oregon City, 168.
Orick, 205.

P
Painted Desert, 298.
Pais Creek Canyon, 175.
Patrick’s Creek, 189.
Petrified Forest, 294.
Phoenix, 277–294.
Placerville, 45–46.
Portland, 154–161.
Priest’s, 269.
Putnam, George Palmer, 167.

R
Reno, 57–61.
Requa, 202.
Rogue River, 102–103, 179.
Roosevelt Dam, 277–289.
Roseburg, 175, 177.
S
Sacramento, 23–27, 44.
Salem, 169–170.
Sand Creek Canyon, 110.
Santa Rosa Valley, 21, 241–242.
Sequoia, 268.
Shaniko, 121.
Shepperd’s Dell, 148–149.
Stockton, 272.
Storm Crest Tunnel, 136.
Sunday, Billy, 134.
Susanville, 64–65.
Sutter, Col. John H., 26.

T
Tahoe, Lake, 17, 23, 35–44, 71.
Tallac, 38, 39.
Trinidad, 206.
Truckee, 35, 54.
Tuolumne Grove, 265–267.
Tygh Valley, 122, 123.

V
Vancouver, 159.

W
Waldo, 186.
Wawona, 248, 253.
Wellman, John W., 101.
Westport, 232.
Willamette Valley, 163–167.
Winthrop, Theodore, 131.

Y
Yolo Trestle, 25.
Yosemite Valley, 245–274.
Transcriber’s Notes
Punctuation, hyphenation, and spelling were made
consistent when a predominant preference was found in
the original book; otherwise they were not changed.
Simple typographical errors were corrected;
unbalanced quotation marks were remedied when the
change was obvious, and otherwise left unbalanced.
The index was not checked for proper
alphabetization or correct page references.
Page 215: “in his first essay” was misprinted as “in
first his essay”; corrected here.
*** END OF THE PROJECT GUTENBERG EBOOK OREGON, THE
PICTURESQUE ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund
from the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law
in the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name associated
with the work. You can easily comply with the terms of this
agreement by keeping this work in the same format with its attached
full Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears,
or with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning
of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the Project
Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to our website – the perfect destination for book lovers and
knowledge seekers. We believe that every book holds a new world,
offering opportunities for learning, discovery, and personal growth.
That’s why we are dedicated to bringing you a diverse collection of
books, ranging from classic literature and specialized publications to
self-development guides and children's books.

More than just a book-buying platform, we strive to be a bridge


connecting you with timeless cultural and intellectual values. With an
elegant, user-friendly interface and a smart search system, you can
quickly find the books that best suit your interests. Additionally,
our special promotions and home delivery services help you save time
and fully enjoy the joy of reading.

Join us on a journey of knowledge exploration, passion nurturing, and


personal growth every day!

testbankmall.com

You might also like