0% found this document useful (0 votes)
13 views

Immediate download Problem Solving and Python Programming E. Balagurusamy ebooks 2024

The document provides information about various ebooks available for download, particularly focusing on 'Problem Solving and Python Programming' by E. Balagurusamy. It highlights the author's credentials and the book's structure, which includes a comprehensive introduction to computing, algorithms, and Python programming. Additionally, it emphasizes the importance of Python in the modern information technology landscape and the book's pedagogical approach to teaching programming concepts.

Uploaded by

muliccrummno
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Immediate download Problem Solving and Python Programming E. Balagurusamy ebooks 2024

The document provides information about various ebooks available for download, particularly focusing on 'Problem Solving and Python Programming' by E. Balagurusamy. It highlights the author's credentials and the book's structure, which includes a comprehensive introduction to computing, algorithms, and Python programming. Additionally, it emphasizes the importance of Python in the modern information technology landscape and the book's pedagogical approach to teaching programming concepts.

Uploaded by

muliccrummno
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Download the Full Ebook and Access More Features - ebookmass.

com

Problem Solving and Python Programming E.


Balagurusamy

https://ebookmass.com/product/problem-solving-and-python-
programming-e-balagurusamy/

OR CLICK HERE

DOWLOAD NOW

Download more ebook instantly today at https://ebookmass.com


Instant digital products (PDF, ePub, MOBI) ready for you
Download now and discover formats that fit your needs...

Programming for Problem Solving E Balagurusamy

https://ebookmass.com/product/programming-for-problem-solving-e-
balagurusamy/

ebookmass.com

Programming and Problem Solving with Python Ashok Namdev


Kamthane

https://ebookmass.com/product/programming-and-problem-solving-with-
python-ashok-namdev-kamthane/

ebookmass.com

Python Programming: Using Problem Solving Approach 1st


Edition Reema Thareja

https://ebookmass.com/product/python-programming-using-problem-
solving-approach-1st-edition-reema-thareja/

ebookmass.com

Breakheart Hill Thomas H. Cook

https://ebookmass.com/product/breakheart-hill-thomas-h-cook/

ebookmass.com
Gender and HIV in South Africa 1st ed. Edition Courtenay
Sprague

https://ebookmass.com/product/gender-and-hiv-in-south-africa-1st-ed-
edition-courtenay-sprague/

ebookmass.com

Advantages and Pitfalls of Pattern Recognition: Selected


Cases in Geophysics: Volume 3 1st Edition Horst Langer

https://ebookmass.com/product/advantages-and-pitfalls-of-pattern-
recognition-selected-cases-in-geophysics-volume-3-1st-edition-horst-
langer/
ebookmass.com

Bioquímica Médica, 5ª Edición John W. Baynes & Marek H.


Dominiczak

https://ebookmass.com/product/bioquimica-medica-5a-edicion-john-w-
baynes-marek-h-dominiczak/

ebookmass.com

A Black Winter: A Seasons Novel: Office Billionaire


Romance (The Seasons Series Book 2) Kate Smoak

https://ebookmass.com/product/a-black-winter-a-seasons-novel-office-
billionaire-romance-the-seasons-series-book-2-kate-smoak/

ebookmass.com

(eTextbook PDF) for America’s History: Concise Edition,


Volume 1 9th Edition

https://ebookmass.com/product/etextbook-pdf-for-americas-history-
concise-edition-volume-1-9th-edition/

ebookmass.com
Figuring Racism in Medieval Christianity M. Lindsay Kaplan

https://ebookmass.com/product/figuring-racism-in-medieval-
christianity-m-lindsay-kaplan/

ebookmass.com
Problem Solving and
Python Programming
About the Author
E Balagurusamy is presently the Chairman of EBG Foundation, Coimbatore. In the past he has also held the
positions of member, Union Public Service Commission, New Delhi and Vice-Chancellor, Anna University,
Chennai, Tamil Nadu. He is a teacher, trainer and consultant in the fields of Information Technology and
Management. He holds an ME (Hons) in Electrical Engineering and PhD in Systems Engineering from the
Indian Institute of Technology, Roorkee, Uttarakhand. His areas of interest include Object-Oriented Software
Engineering, E-Governance: Technology Management, Business Process Re-engineering and Total Quality
Management.
A prolific writer, he has authored a large number of research papers and several books. His best-selling
books, among others include:
● Programming in ANSIC, 7/e

● Fundamentals of Computers

● Computing Fundamentals and C Programming, 2e

● Programming in C#, 3/e

● Programming in Java, 5/e

● Object-Oriented Programming with C++, 7/e

● Programming in BASIC, 3/e

● Numerical Methods

● Reliability Engineering

● Problem Solving and Python Programming


A recipient of numerous honors and awards, he has been listed in the Directory of Who’s Who of
Intellectuals and in the Directory of Distinguished Leaders in Education.
Problem Solving and
Python Programming

E Balagurusamy
Chairman
EBG Foundation
Coimbatore

McGraw Hill Education (India) Private Limited


CHENNAI

McGraw Hill Education Offices


Chennai New York St Louis San Francisco Auckland Bogotá Caracas
Kuala Lumpur Lisbon London Madrid Mexico City Milan Montreal
San Juan Santiago Singapore Sydney Tokyo Toronto
McGraw Hill Education (India) Private Limited

Published by McGraw Hill Education (India) Private Limited


444/1, Sri Ekambara Naicker Industrial Estate, Alapakkam, Porur, Chennai - 600 116

Problem Solving and Python Programming

Copyright © 2018 by McGraw Hill Education (India) Private Limited. No part of this publication may be reproduced or distributed in
any form or by any means, electronic, mechanical, photocopying, recording, or otherwise or stored in a database or retrieval system
without the prior written permission of the publishers. The program listings (if any) may be entered, stored and executed in a computer
system, but they may not be reproduced for publication.

This edition can be exported from India only by the publishers,


McGraw Hill Education (India) Private Limited

1 23456789 D101417 22 21 20 19 18
Printed and bound in India

Print Edition:
ISBN-13: 978-93-87067-01-1
ISBN-10: 93-87067-01-7

Managing Director: Kaushik Bellani

Director—Science & Engineering Portfolio: Vibha Mahajan


Senior Portfolio Manager—Science & Engineering: Hemant K Jha
Associate Portfolio Manager: Mohammad Salman Khurshid

Production Head: Satinder S Baveja


Copy Editor: Taranpreet Kaur
Assistant Manager—Production: Anuj K Shriwastava

General Manager—Production: Rajender P Ghansela


Manager—Production: Reji Kumar

Information contained in this work has been obtained by McGraw Hill Education (India), from sources believed to be reliable. However,
neither McGraw Hill Education (India) nor its authors guarantee the accuracy or completeness of any information published herein,
and neither McGraw Hill Education (India) nor its authors shall be responsible for any errors, omissions, or damages arising out
of use of this information. This work is published with the understanding that McGraw Hill Education (India) and its authors are
supplying information but are not attempting to render engineering or other professional services. If such services are required, the
assistance of an appropriate professional should be sought.

Typeset at The Composers, 260, C.A. Apt., Paschim Vihar, New Delhi 110 063 and printed at

Cover Printer:

Visit us at: www.mheducation.co.in


Contents

Preface ix

Unit 1: Introduction to Computing and Algorithmic Problem Solving

Chapter 1 Introduction to Digital Computer 3


1.1 Introduction 3
1.2 Von Neumann Concept 5
1.3 Storage 8
1.4 Programming Languages 12
1.5 Translators 14
1.6 Hardware and Software 15
1.7 Operating Systems 17
Always Remember 18
Key Terms 18
Review Exercises 19
Multiple Choice Questions 19
Short Questions 21
Answers to Multiple Choice Questions 22

Chapter 2 Problem Solving Strategies 23


2.1 Problem Analysis 23
2.2 Algorithms 24
2.3 Flow Charts 26
2.4 Examples of Algorithms and Flow Charts 30
Always Remember 35
Key Terms 35
Review Exercises 36
vi Contents

Multiple Choice Questions 36


Short Questions 37
Answers to Multiple Choice Questions 37

Appendix A: Practice Exercises with Algorithm and Flow Chart 38

Appendix B: Problem Solving Exercises with Algorithms and Pseudocode 91

Unit 2: Introduction to Python and Data, Expressions, Statements

Chapter 3 Introduction to Python 117


3.1 Introduction 117
3.2 Python Overview 117
3.3 Getting Started with Python 118
3.4 Comments 123
3.5 Python Identifiers 123
3.6 Reserved Keywords 124
3.7 Variables 124
3.8 Standard Data Types 126
3.9 Operators 132
3.10 Statement and Expression 142
3.11 String Operations 143
3.12 Boolean Expressions 145
3.13 Control Statements 146
3.14 Iteration – while Statement 152
3.15 Input from Keyboard 154
Always Remember 156
Key Terms 157
Review Exercises 157
Multiple Choice Questions 161
Short Questions 162
Answers to Multiple Choice Questions 162

Unit 3: Functions

Chapter 4 Functions 165


4.1 Introduction 165
4.2 Built-in Functions 165
4.3 Composition of Functions 171
4.4 User Defined Functions 172
Contents vii

4.5 Parameters and Arguments 175


4.6 Function Calls 179
4.7 The return Statement 180
4.8 Python Recursive Function 181
4.9 The Anonymous Functions 181
4.10 Writing Python Scripts 183
Always Remember 185
Key Terms 186
Review Exercises 187
Multiple Choice Questions 192
Short Questions 193
Answers to Multiple Choice Questions 194

Unit 4: Lists, Tuples and Dictionaries

Chapter 5 Strings and Lists 197


5.1 Strings 197
5.2 Lists 209
Always Remember 217
Key Terms 218
Review Exercises 219
Multiple Choice Questions 226
Short Questions 229
Answers to Multiple Choice Questions 232

Chapter 6 Tuples and Dictionaries 233


6.1 Tuples 233
6.2 Dictionaries 244
Always Remember 251
Key Terms 252
Review Exercises 253
Multiple Choice Questions 259
Short Questions 262
Answers to Multiple Choice Questions 264

Unit 5: Files, Modules and Packages

Chapter 7 Files and Exceptions 267


7.1 Text Files 267
7.2 Directories 277
7.3 Exceptions 279
viii Contents

7.4 Exception with Arguments 285


7.5 User-Defined Exceptions 286
Always Remember 288
Key Terms 289
Review Exercises 290
Multiple Choice Questions 295
Short Questions 297
Answers to Multiple Choice Questions 298

Chapter 8 Classes and Objects 299


8.1 Overview of OOP (Object-Oriented Programming) 299
8.2 Class Definition 300
8.3 Creating Objects 302
8.4 Objects as Arguments 305
8.5 Objects as Return Values 306
8.6 Built-in Class Attributes 307
8.7 Inheritance 308
8.8 Method Overriding 312
8.9 Data Encapsulation 312
8.10 Data Hiding 314
Always Remember 315
Key Terms 316
Review Exercises 317
Multiple Choice Questions 323
Short Questions 325
Answers to Multiple Choice Questions 326

Appendix C: Fundamental Standard Library Modules 327


PrefACe

Developments in the field of digital electronics and the huge amount of data generated during the last
few decades ushered in the second Industrial Revolution which is popularly referred to as the Information
Revolution. Information technology played an ever-increasing role in this new revolution. A sound knowledge
of how computers work, process and analyze data has, therefore, become indispensable for everyone who
seeks employment not only in the area of IT, but also in any other fields. Rightly so, many institutions and
universities in India have introduced a subject covering Problem Solving and Python Programming for their
undergraduate students. This book caters to those needs of the undergraduate students.

Why learn Python?


Python is a high-level, interpreted, reflective, dynamically typed, open-source, multi-paradigm, and general-
purpose programming language. It is quite powerful and easy. It offers no special tools or features that let
you do things that you cannot do with other languages, but its elegant design and combination of certain
features make Python a pleasure to use.

What’s Special in this Book?


The book ensures a smooth and successful transition to a skilled expert in Python. This book uses a simple-
to-complex and easy-to-learn approach throughout the book. The concept of ‘learning by-solving’ has been
stressed in all the chapters of the book. Each feature of Python is treated in-depth followed by a complete
program example to illustrate its use. Wherever necessary, concepts are explained pictorially to facilitate
better understanding. It presents a contemporary approach to programming, offering a combination of theory
and practice.
Each of the 8 chapters follow a common structure with a range of learning and assessment tools for
instructors and students.

Salient Features of the Book


The salient features of the book include the following:
● Bottom-up approach of explaining concepts has been adopted in the book.
x Preface

● Algorithms and flowcharts have been discussed extensively in an appendix.


● Codes with Comments have been provided throughout the book to illustrate the use of various features
of Python.
● Supplementary Information and important notes that complement, but stand apart from the text, have
been included in special boxes under the head Notes.
● Always Remember consists of important summary points at the end of every chapter to help the readers
recollect the topics covered with ease.
● Check Your Understanding helps the readers evaluate their learning after every section within the
chapters of the book.
● Important Key Terms within the chapter have been listed at the end.
Review Exercises comprising Multiple choice questions along with answer keys, short questions and
programming exercises are provided at the chapter end to help readers test their conceptual understanding.

Organization of the Book


The book spans across eight chapters spread over 5 Units. The first two chapters introduces the learner to
digital computers–the basic structure, programming languages, operating systems, problem solving strategies
and conventional introduction to programming. The next six chapters present a more-or-less the conventional
introduction to programming. The readers learn about variables, types, statements, conditionals, loops,
functions, recursion, classes and inheritance. In all the chapters, first the basic ideas are explained, and
then the reader is led through a process of experimentation that helps them find and test the limits of their
understanding.

Publisher’s Note
Remember to write to us. We look forward to receiving your feedback, comments, and ideas to enhance
the quality of this book. You can reach us at info.india@mheducation.com. Please mention the title and
authors’ name as the subject. In case you spot piracy of this book, please do let us know.
Unit 1
Introduction to Computing and
Algorithmic Problem Solving

Chapter 1: Introduction to Digital Computer


Chapter 2: Problem Solving Strategies
Appendix A: Practice Exercises with Algorithm and Flow Chart
Appendix B: Problem Solving Exercises with Algorithms & Pseudocode
IntroductIon to
1 dIgItal computer

1.1 IntroductIon
In earlier days, the term “digital computer” was used to refer a person who drew mathematical tables and
solved complex calculations. In less than a human lifetime, computers have changed from massive, expensive
and unreliable calculators to the dependable and versatile machines that are now omnipresent in society.
Computers were once the size of rooms and used to take a day to change the program and now, it is just a
double click away. Computers help the impossible become possible. They have become a necessary tool in
today’s society. Without computers, it is hard to do pretty much anything. Computers process information in
1’s and 0’s (usually referred to as On and Off respectively). This operation identifies instructions in Binary
Code. This is the language understood by the computer to complete a command. By 1953, it was estimated
that there were almost 100 computers in the world.
It is believed that the first computer was invented in Berlin, Germany, in 1936.
● The Z1 was invented in 1936 by Konrad Zuse in Germany. This was a programmable machine that

was able to remember numbers. This process is now referred to as memory.


● IBM followed suit and introduced the Harvard Mark 1 which was completed at Harvard University in

1944. It was a large calculator. This computer was able to calculate many different types of numbers.
● With the advancement of technology and research, major companies like IBM, Apple, and Intel have

contributed to the explosion of the personal computers as we know today. For example, Apple 1 was
released in 1976 which was having memory of 4 KB expandable to 8 KB. The Macintosh was released
in 1984 which was having memory of 64 KB expandable to 256 KB.
● CSIRAC was the first computer to play digital music in 1949.

● UNIVAC 1 was used by CBS to predict the results of the 1952 presidential elections in USA.

● On December 2, 1954 IBM’s NORC calculated PI 3089 digits.

● In 1958, Jack Kilby invented the Integrated Circuit.

● COBOL (Common Business Oriented Language), one of the oldest programming languages, was

developed by Grace Murray Hopper in 1959,


● In 1962 Space War, the first computer game was written by MIT student Steve Russell.

● In 1975, the first personal computer Altair 8800 was invented.

● In 1976, Intel & Zilog introduced new microprocessors


4 Problem Solving and Python Programming

● Single - board computer known as apple -1 was designed by Steve Wozniak some more important
developments and was marketed by his friend Steve Jobs.
● In 1980 IBM introduced its Personal Computers (PC). The first IBM PC was known as IBM Model

5150, was based on a 4.77 MHz Intel 8088 microprocessor


● In 19993, Pentium microprocessor was released by Pentium followed by the release of Microsoft

window's NT
● In 1994 Sony entred the home gaming market with release of play station console.

● In 2006, Amazon web services launched cloud-based services.

A Personal Computer (PC) is a digital computer designed for the usage by one person at a time. PCs
can be classified into desktop computers, workstations and laptop computers. Today, PCs have five major
applications which are as follows:
1. Internet Browser: Internet browser is a software application used to access the Internet. For example,
Internet Explorer, Firefox, Opera, etc., are all Internet browsers.
2. Data Compression Software: Data compression software is used to reduce file size. ZIP is widely used
as the data compression software on personal computers.
3. Windows Media Player: Windows Media Player is used to create music libraries for listening music.
4. Image Editing Software: Image editing software is used to develop good quality pictures. Examples of
such software include Photoshop, Microsoft Publisher and Picasa.
5. Audio Editing Software: Audio editing software is used to edit audio files and also to add audio effects.

Check Your Understanding


1. What is a computer?
Ans. A computer is an electronic device capable of executing programs written in different languages.
2. What is the use of data compression software?
Ans. Data compression software is used to reduce file size.

Note The first personal computer was Altair 8800. Later IBM introduced IBM PC.

Computers have become an integral part of the society because of the following characteristics they
possess:
● A computer can perform millions of calculations in a second.

● A computer works with precision every time.

● A computer can store billions of bytes of information. For example, the capacity of a terabyte =

2,00,000 songs.
● A computer can work continuously without getting tired.

● A computer can be used to perform various tasks simultaneously.

● A computer will remember the information stored for as long as required.


Introduction to Digital Computer 5

1.2 Von neumann concept


In early computers, the data and instructions were not stored in the same memory. However, such storage
became possible in the Von Neumann architecture, also known as “stored program” architecture because
it could store the program and instruction data in the same memory. In the Von Neumann architecture,
computers can perform complex operations within less time. Besides performing calculations, they can
manage to do a sequence of calculations as well. The basic structure of Von Neumann architecture consists
of the memory, processing unit and the control unit.
The characteristics of Von Neumann architecture are as follows:
1. The hardware system comprises the following:
● Memory: In Von Neumann architecture, there is a main memory system – Random Access
Memory (RAM) which holds the data or program.
● Arithmetic Logic Unit (ALU): As the name suggests, this is useful in arithmetic and logical
calculations such as addition, subtraction, division and comparisons.
● Control Unit: In the central processing unit (CPU), there is a control unit (CU) managing
the process of data or program. The execution of the program is done by the Control Unit. For
example, the fetch-decode-execution.
Input-Output System: Using this system, an input is given and output is generated after

execution. The information can be stored by using compact disk (CD), floppy, etc.
2. Data or programs are stored into the main memory.
3. Processing of instructions is sequential.

Note A process describes how the processor takes the data or program, decodes it and
finally executes it. The fetch-decode-execute cycle is also known as the Von Neumann
execution cycle.

Check Your Understanding


1. Who developed the basic architecture of computers?
Ans. John Von Neumann
2. What do the following terms stand for?
CPU, ALU, CU, RAM
Ans. CPU: Control Processing Unit
ALU: Arithmetic Logic Unit
CU: Control Unit
RAM: Random Access Memory

1.2.1 A Simple Model of the Computer


A Computer system has three basic components which are as follows:
Another Random Document on
Scribd Without Any Related Topics
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 ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookmass.com

You might also like