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

Basic Computation and Principles of Computer Programming An Introduction to Computing WBUT 2015 4th Edition E. Balagurusamy instant download

The document provides information about the book 'Basic Computation and Principles of Computer Programming' by E. Balagurusamy, detailing its contents, author background, and publication details. It includes links to download this and other related textbooks on computing and programming. The book covers fundamental concepts in computer science and programming, including data types, operators, functions, and structures.

Uploaded by

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

Basic Computation and Principles of Computer Programming An Introduction to Computing WBUT 2015 4th Edition E. Balagurusamy instant download

The document provides information about the book 'Basic Computation and Principles of Computer Programming' by E. Balagurusamy, detailing its contents, author background, and publication details. It includes links to download this and other related textbooks on computing and programming. The book covers fundamental concepts in computer science and programming, including data types, operators, functions, and structures.

Uploaded by

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

Basic Computation and Principles of Computer

Programming An Introduction to Computing WBUT


2015 4th Edition E. Balagurusamy download

https://ebookultra.com/download/basic-computation-and-principles-
of-computer-programming-an-introduction-to-computing-
wbut-2015-4th-edition-e-balagurusamy/

Explore and download more ebooks or textbooks


at ebookultra.com
We believe these products will be a great fit for you. Click
the link to download now, or visit ebookultra.com
to discover even more!

Fundamentals of Computer and Programming 2nd Edition E.


Balagurusamy

https://ebookultra.com/download/fundamentals-of-computer-and-
programming-2nd-edition-e-balagurusamy/

Object Oriented Programming in C 4th Edition E.


Balagurusamy

https://ebookultra.com/download/object-oriented-programming-in-c-4th-
edition-e-balagurusamy/

Python Programming An Introduction to Computer Science


John M. Zelle

https://ebookultra.com/download/python-programming-an-introduction-to-
computer-science-john-m-zelle/

Programming in C A Primer 3rd Edition E Balagurusamy

https://ebookultra.com/download/programming-in-c-a-primer-3rd-edition-
e-balagurusamy/
Introduction to Languages and the Theory of Computation
4th Edition John Martin

https://ebookultra.com/download/introduction-to-languages-and-the-
theory-of-computation-4th-edition-john-martin/

Basic pathology an introduction to the mechanisms of


disease 4th ed Edition Dilly

https://ebookultra.com/download/basic-pathology-an-introduction-to-
the-mechanisms-of-disease-4th-ed-edition-dilly/

An Introduction to Object Oriented Programming with Visual


Basic NET 1st Edition Dan Clark

https://ebookultra.com/download/an-introduction-to-object-oriented-
programming-with-visual-basic-net-1st-edition-dan-clark/

An introduction to programming using Visual Basic 2008


with Visual Studio Expression edition DVD Schneider

https://ebookultra.com/download/an-introduction-to-programming-using-
visual-basic-2008-with-visual-studio-expression-edition-dvd-schneider/

Hack Audio An Introduction to Computer Programming and


Digital Signal Processing in MATLAB 2019th Edition Eric
Tarr
https://ebookultra.com/download/hack-audio-an-introduction-to-
computer-programming-and-digital-signal-processing-in-matlab-2019th-
edition-eric-tarr/
Basic Computation and Principles of Computer
Programming An Introduction to Computing WBUT
2015 4th Edition E. Balagurusamy Digital Instant
Download
Author(s): E. Balagurusamy
ISBN(s): 9789339219161, 9339219163
Edition: 4
File Details: PDF, 5.65 MB
Year: 2015
Language: english
Basic Computation and
Principles of Computer
Programming
An Introduction to Computing
Fourth Edition
WBUT–2015
About the Author
E Balagurusamy, former Vice Chancellor, Anna University, Chennai, and Member,
Union Public Service Commission, New Delhi, is currently the Chairman of EBG
Foundation, Coimbatore. He is a teacher, trainer, and consultant in the fields of
Information Technology and Management. He holds an ME (Honors) in Electrical
Engineering and PhD in Systems Engineering from the Indian Institute of Technology,
Roorkee. His areas of interest include Object-Oriented Software Engineering,
E-Governance, Technology Management, Business Process Re-engineering, and Total
Quality Management.
A prolific writer, Dr Balagurusamy has authored a large number of research papers and several
books. His best-selling books, among others, include
∑ Fundamentals of Computers
∑ Computing Fundamentals and C Programming
∑ Programming in ANSI C, 6e
∑ Programming in Java, 4e
∑ Programming in BASIC, 3e
∑ Programming in C#, 3e
∑ Numerical Methods
∑ Reliability Engineering
A recipient of numerous honors and awards, Dr Balagurusamy has been listed in the Directory of
Who’s Who of Intellectuals and in the Directory of Distinguished Leaders in Education.
Basic Computation and Principles
of Computer Programming
An Introduction to Computing
Fourth Edition
WBUT–2015

E Balagurusamy
Chairman
EBG Foundation
Coimbatore, Tamil Nadu

McGraw Hill Education (India) Private Limited


NEW DELHI

McGraw Hill Education Offices


New Delhi 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
P-24, Green Park Extension, New Delhi 110 016
Basic Computation and Principles of Computer Programming, 4/e (WBUT-2015)
Copyright © 2015, 2014, 2013, 2012, 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 listing (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.
ISBN (13 digits): 978-93-392-1916-1
ISBN (10 digits): 93-392-1916-3
Managing Director: Kaushik Bellani
Head—Higher Education (Publishing and Marketing): Vibha Mahajan
Senior Publishing Manager (SEM & Tech. Ed.): Shalini Jha
Assistant Sponsoring Editor: Koyel Ghosh
Editorial Executive: Piyali Chatterjee
Manager—Production Systems: Satinder S Baveja
Assistant Manager—Editorial Services: Sohini Mukherjee
Senior Production Executive: Suhaib Ali
Assistant General Manager (Marketing)—Higher Education: Vijay Sarathi
Assistant Product Manager (SEM & Tech. Ed.): Tina Jajoriya
Senior Graphic Designer—Cover: Meenu Raghav
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 Text-o-Graphics, B1/56, Aravali Apartment, Sector 34, Noida 201301 and printed at

Cover Printer:
Contents
Preface xi
Roadmap to the Syllabus xiii

1. Fundamentals of Computers 1
1.1 Introduction 1
1.2 History of Computers 2
1.3 Generations of Computers 5
1.4 Classification of Computers 8
1.5 Basic Anatomy of a Computer System 10
1.6 Input Devices 10
1.7 Processor 13
1.8 Output Devices 14
1.9 Memory Management 16
1.10 Overview of Operating System 17
Review Questions 23

2. Computing Concepts 25
2.1 Introduction 25
2.2 Binary Number System 25
2.3 Decimal Number System 28
2.4 Octal Number System 29
2.5 Hexadecimal Number System 30
2.6 Conversion from Any Base Number System to Any Other Base Number 31
2.7 Binary Codes 32
2.8 Binary Arithmetic Operations 33
2.9 Logic Gates 37
2.10 Programming Languages 41
2.11 Translator Programs 43
2.12 Algorithm and Flow Chart 44
2.13 Using the Computer 47
Review Questions 47
Review Exercises 48
vi Contents

3. Constants, Variables and Data Types 49


3.1 Introduction 49
3.2 Character Set 49
3.3 C Tokens 51
3.4 Keywords and Identifiers 51
3.5 Constants 52
3.6 Variables 56
3.7 Data Types 57
3.8 Declaration of Variables 60
3.9 Declaration of Storage Class 63
3.10 Assigning Values to Variables 64
3.11 Defining Symbolic Constants 70
3.12 Declaring a Variable as Constant 71
3.13 Declaring a Variable as Volatile 71
3.14 Overflow and Underflow of Data 72
Case Studies 73
Review Questions 75
Programming Exercises 77

4. Operators and Expressions 78


4.1 Introduction 78
4.2 Arithmetic Operators 78
4.3 Relational Operators 81
4.4 Logical Operators 82
4.5 Assignment Operators 83
4.6 Increment and Decrement Operators 85
4.7 Conditional Operator 86
4.8 Bitwise Operators 87
4.9 Special Operators 87
4.10 Arithmetic Expressions 89
4.11 Evaluation of Expressions 90
4.12 Precedence of Arithmetic Operators 91
4.13 Some Computational Problems 93
4.14 Type Conversions in Expressions 94
4.15 Operator Precedence and Associativity 98
4.16 Mathematical Functions 100
Case Study 102
Review Questions 104
Programming Exercises 107
Contents vii

5. Managing Input and Output Operations 110


5.1 Introduction 110
5.2 Reading a Character 111
5.3 Writing a Character 114
5.4 Formatted Input 115
5.5 Formatted Output 124
Case Studies 132
Review Questions 136
Programming Exercises 138

6. Decision Making and Branching 140


6.1 Introduction 140
6.2 Decision Making with if Statement 140
6.3 Simple if Statement 141
6.4 The if.....else Statement 145
6.5 Nesting of if....else Statements 148
6.6 The else if Ladder 152
6.7 The switch Statement 155
6.8 The ? : Operator 159
6.9 The Goto Statement 161
Case Studies 165
Review Questions 169
Programming Exercises 174

7. Decision Making and Looping 177


7.1 Introduction 177
7.2 The while Statement 179
7.3 The do Statement 182
7.4 The for Statement 184
7.5 Jumps in Loops 191
Case Studies 200
Review Questions 207
Programming Exercises 211

8. User-Defined Functions 214


8.1 Introduction 214
8.2 Need for User-defined Functions 214
8.3 A Multi-function Program 215
8.4 Elements of User-defined Functions 218
viii Contents

8.5 Definition of Functions 219


8.6 Return Values and their Types 221
8.7 Function Calls 222
8.8 Function Declaration 224
8.9 Category of Functions 226
8.10 No Arguments and No Return Values 226
8.11 Arguments but No Return Values 229
8.12 Arguments with Return Values 232
8.13 No Arguments but Returns a Value 236
8.14 Functions that Return Multiple Values 237
8.15 Nesting of Functions 238
8.16 Recursion 240
8.17 Passing Arrays to Functions 241
8.18 Passing Strings to Functions 246
8.19 The Scope, Visibility and Lifetime of Variables 247
8.20 Multifile Programs 257
Case Study 260
Review Questions 263
Programming Exercises 267

9. The Preprocessor 269


9.1 Introduction 269
9.2 Macro Substitution 270
9.3 File Inclusion 274
9.4 Compiler Control Directives 275
Review Questions 278
Programming Exercises 279

10. Arrays 280


10.1 Introduction 280
10.2 One-dimensional Arrays 282
10.3 Declaration of One-dimensional Arrays 283
10.4 Initialization of One-dimensional Arrays 285
10.5 Two-dimensional Arrays 289
10.6 Initializing Two-dimensional Arrays 293
10.7 Multi-dimensional Arrays 298
10.8 Dynamic Arrays 298
10.9 More about Arrays 299
Case Studies 300
Review Questions 312
Programming Exercises 315
Contents ix

11. Character Arrays and Strings 318


11.1 Introduction 318
11.2 Declaring and Initializing String Variables 319
11.3 Reading Strings from Terminal 320
11.4 Writing Strings to Screen 325
11.5 Arithmetic Operations on Characters 330
11.6 Putting Strings Together 331
11.7 Comparison of Two Strings 333
11.8 String-handling Functions 333
11.9 Table of Strings 338
11.10 Other Features of Strings 340
Case Studies 341
Review Questions 345
Programming Exercises 348

12. Pointers 350


12.1 Introduction 350
12.2 Understanding Pointers 350
12.3 Accessing the Address of a Variable 353
12.4 Declaring Pointer Variables 354
12.5 Initialization of Pointer Variables 355
12.6 Accessing a Variable Through Its Pointer 357
12.7 Chain of Pointers 359
12.8 Pointer Expressions 360
12.9 Pointer Increments and Scale Factor 361
12.10 Pointers and Arrays 363
12.11 Pointers and Character Strings 366
12.12 Array of Pointers 368
12.13 Pointers as Function Arguments 369
12.14 Functions Returning Pointers 372
12.15 Pointers to Functions 372
12.16 Pointers and Structures 375
Case Studies 378
Review Questions 383
Programming Exercises 386

13. Structures and Unions 387


13.1 History of Computers 387
13.2 Defining a Structure 387
13.3 Declaring Structure Variables 389
13.4 Accessing Structure Members 391
13.5 Structure Initialization 392
x Contents

13.6 Copying and Comparing Structure Variables 394


13.7 Operations on Individual Members 396
13.8 Arrays of Structures 397
13.9 Arrays within Structures 399
13.10 Structures within Structures 401
13.11 Structures and Functions 403
13.12 Unions 405
13.13 Size of Structures 407
13.14 Bit Fields 407
Case Studies 411
Review Questions 414
Programming Exercises 418

14. File Management in C 420


14.1 Introduction 420
14.2 Defining and Opening a File 421
14.3 Closing a File 422
14.4 Input/Output Operations on Files 423
14.5 Error Handling During I/O Operations 429
14.6 Random Access to Files 431
14.7 Command Line Arguments 436
Review Questions 439
Programming Exercises 440

15. Developing a C Program: Some Guidelines 442


15.1 Introduction 442
15.2 Program Design 442
15.3 Program Coding 444
15.4 Common Programming Errors 446
15.5 Program Testing and Debugging 453
15.6 Program Efficiency 455
Review Questions 456

Solved Question Paper 2012 458–475


Solved Question Paper 2013 476–489
Solved Question Paper 2014 490–506

Bibliography 507
Preface

C is a powerful, flexible, portable and elegantly structured programming language. Since C com-
bines the features of a high-level language with the elements of the assembler, it is suitable for
both systems and applications programming. It is undoubtedly the most widely used general-purpose
language today.
This book is designed for BTech first-year, second-semester students of West Bengal University
of Technology taking the paper on Basic Computation and Principles of Computer Programming
(CS201). This book will also be useful for students taking diploma courses in computer science.
All those who wish to be C programmers, regardless of their past knowledge and experience in pro-
gramming, will find this book very useful for it explains the ‘what’, ‘why’ and ‘how’ of programming
with C in the most easy-to-understand manner.
The writing style uses and emphasizes on the concept of ‘learning by example’. Each major fea-
ture of the language is explained in a comprehensive manner and supported with complete program
examples to illustrate its use. The sample programs are designed to be both simple and educational.
Wherever necessary, pictorial descriptions of concepts are included to improve clarity and facilitate
better understanding.

Salient Features
� 100% coverage and organization as per the WBUT syllabus
� Latest WBUT Solved Examination Question Papers (2012, 2013 and 2012)
� Provides good understanding of both computing fundamentals and programming nuances
� In-depth discussion of operators, expressions, arrays, and pointers
� Dedicated chapter providing guidelines for developing C programs
� Case studies in every chapter comprise problem, problem analysis and program demonstrating
real-life applications
� Special features include supplementary notes and information in special boxes, ‘Just Remember’
section at chapter-end summarizes the main points
� Rich Pedagogy includes:
� 500+ Review Questions comprising True and False, Fill in the Blanks, Find the Errors, and
Objective-Type Questions
� 175 Programming Exercises to practice programming applications
� 105 Solved Examples
� 22 Case Studies
� 145 Illustrations
xii Preface

Chapter Organization
The contents of the book have been divided into 15 chapters. Chapter 1 introduces the subject
describing the history of computers, the different generations of computers and their classification and
input and output devices. It also gives an overview of operating systems. Chapter 2 introduces the
binary number system and explains the procedure for writing algorithms and flowcharts. Chapter 3
discusses how to declare constants, variables and data types. Chapter 4 is on built-in operators and
explains how to build expressions using them. Chapter 5 details input and output operations. Decision
making and branching is discussed in Chapter 6. It describes the if-else, switch and goto statements.
Further, decision making and looping is discussed in Chapter 7 which covers the while, do and
for loops. Functions are discussed in Chapter 8. Chapter 9 deals with preprocessors. Arrays and
ordered arrangement of data elements, important to any programming language, have been covered
in Chapters 10 and 11. Chapter 11 also explains strings. Pointers, commonly perceived as a difficult
topic in C, are covered in Chapter 12 in the most lucid manner. Chapter 13 is on structures and unions.
Chapter 14 discusses file management. Finally, Chapter 15 is on developing a C program. It provides
a comprehensive understanding of the procedures for the development of a program.
Solved WBUT examination papers (2012 to 2014) are provided for students’ practice and self-
assessment toward the book’s end.

Acknowledgements
I am grateful to the following reviewers for taking out time and sharing their valuable comments after
going through various chapters of the book.
Susanta Mitra Adamas Institute of Technology, Kolkata
Sinthia Roy Guru Nanak Institute of Technology, Kolkata
Debasis Giri Haldia Institute of Technology, Medinipur
Anup Mallick Regent Education and Research Foundation, Kolkata
Rinku Supakar Dr Sudhir Chandra Sur Degree Engineering College, Kolkata
Jayanta Pal Narula Institute of Technology, Kolkata
I am also thankful to the staff of McGraw Hill Education (India) for their cooperation and support
in bringing out this book on time.
Suggestions for improvement are always welcome.

E BALAGURUSAMY

Publisher’s Note
Remember to write to us. We look forward to receiving your feedback, comments and ideas to en-
hance the quality of this book. You can reach us at [email protected]. Please mention the
title and author’s name as the subject. In case you spot piracy of this book, please do let us know.
Roadmap to the Syllabus
This textbook is useful for Subject Code:
Basic Computation and Principles of Computer Programming (CS201)

Unit 1 - Fundamentals of Computers


History of computers, generation of computers, classification of computers. Basic anatomy of computer
system, primary and secondary memory, processing unit, input and output devices. Binary and allied
number systems, representation of signed and unsigned numbers, BCD, ASII. Binary arithmetic and logic
gates, assembly language, high-level language, compiler and assembler (basic concepts). Basic concepts
of operating systems like MS DOS, MS WINDOW, UNIX, algorithm, and flow chart.

GO TO Chapter 1 Fundamentals of Computers


Chapter 2 Computing Concepts

Unit 2 - C Fundamentals
The C character set identifiers and keywords, data types and sizes, variable names, declaration,
statements.

GO TO Chapter 3 Constants, Variables and Data Types

Unit 3 - Operators and Expressions


Arithmetic operators, relational and logical operators, type, conversion, increment and decrement
operators, bit-wise operators, assignment operators and expressions, precedence and order of evaluation.
Input and Output: Standard input and output, formatted output—printf(), formatted input, scanf().

GO TO Chapter 4 Operators and Expressions


Chapter 5 Managing Input and Output Operations
xiv Roadmap to the Syllabus

Unit 4 - Flow of Control


Statements and blocks, if–else, switch, loops–while, for, do while, break and continue, go to and labels.

GO TO Chapter 6 Decision Making and Branching


Chapter 7 Decision Making and Looping

Unit 5 - Fundamentals and Program Structures


Basics of functions, function types, functions returning values, functions not returning values, auto,
external, static and register variables, scope rules, recursion, function prototypes, C preprocessor,
command line arguments.

GO TO Chapter 8 User-Defined Functions


Chapter 9 The Preprocessor

Unit 6 - Arrays and Pointers


One-dimensional arrays, pointers and functions, multidimensional arrays.

Chapter 10 Arrays
GO TO Chapter 11 Character Arrays and Strings
Chapter 12 Pointers

Unit 7 - Structures, Union and Files


Basics of structures, structures and functions, arrays of structures, bit fields, formatted and unformatted
files.

Chapter 13 Structures and Unions


GO TO Chapter 14 File Management in C
CHAPTER

1
Fundamentals of Computers

1.1 INTRODUCTION

The term computer is derived from the word compute. A computer is an electronic device that takes
data and instructions as an input from the user, processes data, and provides useful information known
as output. This cycle of operation of a computer is known as the input–process–output cycle and is
shown in Fig.1.1 The electronic device is known as hardware and the set of instructions is known as
software.

INPUT OUTPUT
Data PROCESS Information

Instructions

Fig. 1.1 Input–process–output concept


The spurt of innovations and inventions in computer technology during the last few decades has led
to the development of a variety of computers. They are so versatile that they have become
indispensable to engineers, scientists, business executives, managers, administrators, accountants,
teachers and students. They have strengthened man’s powers in numerical computations and
information processing.
Modern computers possess certain characteristics and abilities peculiar to them. They can:
(i) perform complex and repetitive calculations rapidly and accurately,
(ii) store large amounts of data and information for subsequent manipulations,
(iii) hold a program of a model which can be explored in many different ways,
(iv) compare items and make decisions,
(v) provide information to the user in many different forms,
(vi) automatically correct or modify the parameters of a system under control,
(vii) draw and print graphs,
(viii) converse with users interactively, and
(ix) receive and display audio and video signals.
Random documents with unrelated
content Scribd suggests to you:
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!

ebookultra.com

You might also like