100% found this document useful (8 votes)
154 views

Solution Manual for Starting Out with C++: Early Objects, 8/E 8th Edition : 013336092X - Download Now And Never Miss A Chapter

The document provides information on downloading solution manuals and test banks for various editions of C++ and other programming textbooks. It includes lesson objectives, lab assignments, and pre-lab reading assignments focused on basic C++ programming concepts such as data types, memory usage, and the structure of C++ programs. Additionally, it outlines the importance of variables and constants in programming, along with examples and exercises for students.

Uploaded by

fivetfiffy
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 (8 votes)
154 views

Solution Manual for Starting Out with C++: Early Objects, 8/E 8th Edition : 013336092X - Download Now And Never Miss A Chapter

The document provides information on downloading solution manuals and test banks for various editions of C++ and other programming textbooks. It includes lesson objectives, lab assignments, and pre-lab reading assignments focused on basic C++ programming concepts such as data types, memory usage, and the structure of C++ programs. Additionally, it outlines the importance of variables and constants in programming, along with examples and exercises for students.

Uploaded by

fivetfiffy
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/ 49

Visit https://testbankbell.

com to download the full version and


explore more testbank or solutions manual

Solution Manual for Starting Out with C++: Early


Objects, 8/E 8th Edition : 013336092X

_____ Click the link below to download _____


http://testbankbell.com/product/solution-manual-for-
starting-out-with-c-early-objects-8-e-8th-
edition-013336092x/

Explore and download more testbank or solutions manual at testbankbell.com


Here are some recommended products that we believe you will be
interested in. You can click the link to download.

Starting Out with C++ Early Objects 9th Edition Gaddis


Test Bank

http://testbankbell.com/product/starting-out-with-c-early-objects-9th-
edition-gaddis-test-bank/

Solution Manual for Starting Out with C++: Early Objects,


6th Edition, Tony Gaddis, Judy Walters, Godfrey Muganda

http://testbankbell.com/product/solution-manual-for-starting-out-with-
c-early-objects-6th-edition-tony-gaddis-judy-walters-godfrey-muganda/

Test Bank Starting Out with Java: Early Objects, 5/E Tony
Gaddis

http://testbankbell.com/product/test-bank-starting-out-with-java-
early-objects-5-e-tony-gaddis/

Test Bank for Maternity Nursing An Introductory Text, 11th


Edition: Leifer

http://testbankbell.com/product/test-bank-for-maternity-nursing-an-
introductory-text-11th-edition-leifer/
Solution Manual for Beginning and Intermediate Algebra,
5th Edition, Julie Miller, Molly O’Neill Nancy Hyde

http://testbankbell.com/product/solution-manual-for-beginning-and-
intermediate-algebra-5th-edition-julie-miller-molly-oneill-nancy-hyde/

Solution Manual for Intel Microprocessors 8/E 8th Edition


Barry B. Brey

http://testbankbell.com/product/solution-manual-for-intel-
microprocessors-8-e-8th-edition-barry-b-brey/

Test Bank for Nature of Mathematics, 13th Edition, Karl


Smith

http://testbankbell.com/product/test-bank-for-nature-of-
mathematics-13th-edition-karl-smith/

Test bank for Cost Accounting: A Managerial Emphasis 13e


9780136126638

http://testbankbell.com/product/test-bank-for-cost-accounting-a-
managerial-emphasis-13e-9780136126638/

International Management Managing Across Borders and


Cultures Text and Cases 9th Edition Deresky Solutions
Manual
http://testbankbell.com/product/international-management-managing-
across-borders-and-cultures-text-and-cases-9th-edition-deresky-
solutions-manual/
Solution Manual for Financial Statement Analysis 10th
Edition by Subramanyam

http://testbankbell.com/product/solution-manual-for-financial-
statement-analysis-10th-edition-by-subramanyam/
Solution Manual for Starting Out with C++:
Early Objects, 8/E 8th Edition : 013336092X
Full download link at: https://testbankbell.com/product/solution-manual-
for-starting-out-with-c-early-objects-8-e-8th-edition-013336092x/
LESSON SET 2

Introduction to the C++


Programming Language
OBJECTIVES FOR STUDENT
Lesson 2A:

1. To learn the basic components of a C++ program


2. To gain a basic knowledge of how memory is used in programming
3. To understand the basic data types:
a. Integer
b. Character
c. Float
d. Boolean
e. String (the string class is treated as a data type here)
4. To introduce the five fundamental instructions and to use the assign and
output statements

Lesson 2B:

5. To develop a small program using simple C++ instructions


6. To work with characters and strings

ASSUMPTIONS
Lesson 2A:

1. Students have a basic knowledge of the programming environment. They can open, edit,
compile and run simple programs.

Lesson 2B:

1. Students are familiar with the output and assignment statements in C++
2. Students are familiar with the general basic outline of a C++ program so
that they can generate a simple program
3. Students are familiar with the basic data types including character and string (class treated
as a data type )

PRE-LAB WRITING ASSIGNMENT SOLUTIONS


1. constant
2. Integer
3. Real or Floating point
4. Modulus or mod
5. output
6. Boolean
7. 8
8. comment
9. variable
10. string

LAB ASSIGNMENTS

Lesson 2A:

Lab 2.1: Working with the cout statement.


Lab 2.2: Working with constants, variables and arithmetic operators

Lesson 2B:

Lab 2.3: Rectangle area and perimeter


Lab 2.4 Working with characters and Strings

LESSON 2A

LAB 2.1: Working with the cout Statement

This is a simple lab that works with the cout statement.

A solution is found in nameKey.cpp in the instructor’s folder for Lesson Set 2.

LAB 2.2: Working with Constants, Variables and Arithmetic Operators

This is a simple lab that continues to work with the cout statement and introduces
the assignment statement.

A solution is found in circleareaKey.cpp in the instructor’s folder for Lesson Set 2.

LESSON 2B
LAB 2.3: Rectangle Area and Perimeter

Although Lab 2.3 asks students to create a program from scratch, it is not labeled
as optional since it is so similar to Lab 2.2 that most students should not find it
too difficult.

A solution is found in rectangleKey.cpp in the instructor’s folder for Lesson Set 2.

LAB 2.3: Working with characters and Strings

This lab introduces characters and the string class which is treated as a data type. The distinction of
the string class from true data types is not explained until the student is introduced to arrays of
characters later in the manual.
A solution is found in stringcharKey.cpp in the instructor’s folder for Lesson Set 2.

Possible solutions to all labs are given in the instructor’s folder for Lesson Set 2.
Answers to Review Questions
Chapter 2

1. 1, 2, 3
2. double temp, weight, age;
3. int months = 2, days, years = 3;
4. A) b = a + 2;
B) a = b * 4;
C) b = a / 3.14;
D) a = b - 8;
E) a = 27;
F) c = 'K';
G) c = 66;
5. Multi-line comment
6. Single line comment
7. #include <iostream>
int main()
{
cout << "Two mandolins like creatures in the\n\n\n";
cout << "dark\n\n\n";
cout << "Creating the agony of ecstasy.\n\n\n";
cout << " - George Barker\n\n\n";
return 0;
}

8. A) 0
100
B) 8
2
C) I am the incrediblecomputing
machine
and I will
amaze
you.
D) Be careful
This might/n be a trick question
E) 23
1
9. C
10. C
11. B
12. A
13. B
14. A
15. B, C
16. B, C, D
17. A) 12 B) 4 C) 2 D) 6 E) 1

Starting Out with C++: From Control Structures through Objects, 8/e ©2015 Pearson Education
18. A) 3.287E6 B) -978.65E12 C) 7.65491E-3 D)-58710.23E-4
19. A
20. C
21. A
22. true
23. false
24. true
25. true
26. false

27. int speed, time, distance;


speed = 20;
time = 10;
distance = speed * time;
cout << distance << endl;

28. double force, area, pressure;


force = 172.5;
area = 27.5;
pressure = force / area;
cout << pressure << endl;

29. The C-style comments symbols are backwards.


iostream should be enclosed in angle brackets.
There shouldn’t be a semicolon after int main.
The opening and closing braces of function main are reversed.
There should be a semicolon after int a, b, c.
The comment \\ Three integers should read // Three integers.
There should be a semicolon at the end of the following lines:
a = 3
b = 4
c = a + b
cout begins with a capital letter.
The stream insertion operator (that appears twice in the cout statement) should
read << instead of <.
The cout statement uses the variable C instead of c.

Starting Out with C++: From Control Structures through Objects, 8/e ©2015 Pearson Education
L E S S O N S E T

2 Introduction to the C++


Programming Language

PURPOSE 1. To briefly introduce the C++ programming language


2. To show the use of memory in programming
3. To introduce variables and named constants
4. To introduce various data types:
a. Integer
b. Character
c. Floating point
d. Boolean
e. String
5. To introduce the assignment and cout statements
6. To demonstrate the use of arithmetic operators

PROCEDURE 1. Students should read the Pre-lab Reading Assignment before coming to lab.
2. Students should complete the Pre-lab Writing Assignment before coming to lab.
3. In the lab, students should complete Labs 2.1 through 2.4 in sequence. Your
instructor will give further instructions as to grading and completion of the lab.

Approximate Check
completion Page when
Contents Prerequisites time number done
Pre-lab Reading Assignment 20 min. 14
Pre-lab Writing Assignment Pre-lab reading 10 min. 19
Lesson 2A
Lab 2.1
Working with the cout Pre-lab reading 20 min. 20
Statement
Lab 2.2
Working with Constants, Understanding of 30 min. 21
Variables, and Arithmetic variables and
Operators operators
continues

13
14 LESSON SET 2 Introduction to the C++ Programming Language

Lesson 2B
Lab 2.3
Rectangle Area and Perimeter Understanding of 30 min. 22
basic components
of a program
Lab 2.4
Working with Characters Completion of 30 min. 22
and Strings labs 2.1–2.3

PRE-LAB READING ASSIGNMENT


The C++ Programming Language
Computer programming courses generally concentrate on program design that can
be applied to any number of programming languages on the market. It is imper-
ative, however, to apply that design to a particular language. This course uses C++,
a popular object-oriented language, for that purpose.
For now, we can think of a C++ program as consisting of two general divi-
sions: header and main. The header, or global section, gives preliminary
instructions to the compiler. It consists of comments that describe the purpose
of the program, as well as information on which library routines will be used by
the program.

// This program prints to the screen the words:


// PI = 3.14
// Radius = 4
// Circumference = 25.12

#include <iostream>
using namespace std;

const double PI = 3.14;

int main()
{
float radius;
radius = 4.0;

cout << "PI = " << PI << endl;


cout << "Radius = " << radius << endl;
cout << "Circumference = " << 2 * PI * radius << endl;

return 0;
}

Everything in bold (everything above the int main() statement) is considered the
header or global section. Everything else is the main section.
Pre-lab Reading Assignment 15

Comments are included in every program to document what a program


does and how it operates. These statements are ignored by the computer but are
most valuable to the programmers who must update or fix the program. In C++,
comments begin with // which is an indication to the compiler to ignore every-
thing from the // to the end of the line. Comments can also cross line boundaries
by beginning with /* and ending with */. Notice that the first three lines of the
previous program all begin with // and thus are comments. Those same lines could
also have been written as the following:
/* This program prints to the screen the words:
PI = 3.14
Radius = 4
Circumference = 25.12
*/
The next statement, the #include statement, indicates which library will be needed
by the program.
#include <iostream>

Recall from Lesson Set 1, that every program needs other modules attached so that
it may execute properly. Your instructor will generally tell you which libraries are
needed for each particular programming assignment; however, in time you will
learn this task for yourself.
Every C++ program has a main function which indicates the start of the
executable instructions. Every main must begin with a left brace { and end with
a right brace }. The statements inside those braces will be explained as we
progress through this lesson.

Memory
Memory storage is the collection of locations where instructions and data that are
used by the program are temporarily stored. Recall from Lesson Set 1 that a com-
puter only understands a sequence of 1s and 0s. These are binary digits or bits
(BInary digiTs). Eight of these brought together are called a byte, which is the
most common unit of storage. These chunks of memory can be thought of as hotel
mailboxes at the registration desk. The size of each of those boxes indicates the
type of mail that can be stored there. A very small mailbox can only hold notes
or postcards. Larger mailboxes can hold letters, while even larger ones can hold
packages. Each mailbox is identified by a number or name of an occupant. We
have identified two very important attributes of these mailboxes: the name or num-
ber, which indicates the mailbox that is being referenced, and the size, which indi-
cates what type of “data” can be placed there.

Example: postcards Jim is an indication that the mailbox called Jim can only hold
postcards, while the statement packages Mary indicates that the mailbox called
Mary can hold large packages. Memory locations in a computer are identified by
the same two attributes: data type and name.

Much of programming is getting data to and from memory locations and thus it
is imperative that the programmer tell the computer the name and data type of
each memory location that he or she intends to use. In the sample program the
statement float radius does just that. float is a data type that indicates what
kind of data can be stored and radius is the name for that particular memory
location.
16 LESSON SET 2 Introduction to the C++ Programming Language
Variables and Constants
The ability to change or not change the data stored can be a third attribute of
these memory locations. Components of memory in which data values stored can
change during the execution of the program are called variables. These usually
should not be defined in the header or global section of the program. In our sam-
ple program, radius is defined in the main function. Components of memory in
which data values stored are initialized once and never changed during the exe-
cution of the program are called constants. They are often defined in the global
section and are preceded (in C++) by the word const. PI, in the sample program,
is an example of a named constant.

Identifiers in C++
Identifiers are used to name variables, constants and many other components of
a program. They consist exclusively of letters, digits and the underscore _ char-
acter. They cannot begin with a digit and cannot duplicate reserved words used
in C++ such as int or if. All characters in C++ are case sensitive; thus memory
locations called simple, Simple, and SIMPLE are three distinct locations. It has
become standard practice among programmers to make constants all uppercase
and variables predominantly lowercase characters.
The statement const double PI = 3.14; in our sample program is
contained in the global section. It defines a memory location called PI to be a
constant holding a double (a data type discussed shortly) value equal to 3.14
which will not change during the execution of the program.
The statement float radius; in the sample program is contained in the
main section. It defines a variable memory location called radius that holds a
float- ing point data type (type discussed shortly) which can be changed during the
exe- cution of the program.
Both of these statements are called definitions. They reserve by name
enough memory to hold the data type specified.
Variables, like constants, can be given an initial value when they are defined,
but that value is not permanent and can be altered. For example:
int count = 7; // Defines a variable memory location called count that
// initially has the value of 7
count = count + 1; // count is now altered

Data Types
As noted earlier, computer memory is composed of locations identified by a data
type and a name (like the room number of a hotel mailbox). The data type indi-
cates what kind of data can be stored, thus setting the size of that location.

Integer Data Type


Integers are real numbers that do not contain any fractional component. They take
up less memory than numbers with fractional components. C++ has three data
types that are integers: short, int and long. The difference is strictly in the
amount of memory (bytes) they reserve: short reserving the least and long
reserving the most. Larger integers may need the long data type.
Pre-lab Reading Assignment 17

The following three statements define integer variables in C++:


short count;
int sum;
long total;

Floating Point Data Type


In computer science 3 = 3.0 is not a true statement. The number on the left is an
integer and the number on the right is a real, or floating point, number (a number
that has a fractional component). Although mathematically the two are equal, the
computer stores them as different data types. C++ uses both float and double
to indicate floating point numbers, with double using more memory than float.
The following two statements define floating point variables in C++.
float average;
double nationaldebt;

Character Data Type


Character data includes the letters of the alphabet (upper and lower cases), the
digits 0–9 and special characters such as ! ? . , *. All these symbols combined are
called alphanumeric. Each character data is enclosed with single quotes to dis-
tinguish it from other data types. Thus '8' is different than 8. The first is a char-
acter while the second is an integer. The following statement defines a C++
character variable initialized to 'a'.
char letter = 'a';

Boolean Data Type


The Boolean data type, named after the mathematician George Boole, allows only
two values: true or false, which are internally represented as 0 and non-zero,
respectively. The following statement defines a Boolean variable initialized to false.
bool found = false;

String Type: A variable defined to be character data can store only one charac-
ter in its memory location, which is not very useful for storing names. The string
class has become part of standard C++ and, although not a primitive type defined
by the language, it can be used as a type for storing several characters in a mem-
ory location. We must “include” the string library (#include <string>) in the pro-
gram header. The following statement defines a string initialized to “Daniel”:
string name = "Daniel"; Note that a string is enclosed in double (not single)
quotes. Thus the string "a" is not the same as the character 'a'.

Assignment Operator
The = symbol in C++ is called the assignment operator and is read “is assigned
the value of.” It assigns the variable on its left the value on its right. Although
this symbol looks like an equal sign, do not confuse it with equality. The left hand
side must always be a variable. For example, count = 8; is a legitimate statement
in C++, however 8 = count; generates a syntax error.

Fundamental Instructions
Most programming languages, including C++, consist of five fundamental instruc-
tions from which all code can be generated.
18 LESSON SET 2 Introduction to the C++ Programming Language

1. Assignment Statements: These statements place values in memory


locations. The left side of an assignment statement consists of one and
only one variable. The right side consists of an expression. An expression
can be any manipulation of literal numbers (actual numbers such as 7 or
38, etc.), or the contents of constants and/or variables, that will “boil
down” to one value. That value is placed in the memory location of the
variable on the left. C++ uses = as the separator between the left and right
side of the assignment statement. Those new to programming often get
this confused with equality; however = in C++ is not equality but rather
the symbol to indicate assignment. The = in C++ is read as “is assigned the
value of”.

Example:
int count;

int total;

total = 10; // 10 is a literal that is placed in the memory


// location called total

count = 3 + 4; // The right hand side of the statement is evaluated to


// 7. count is assigned the value of 7.

total = total + count; // The right hand side is evaluated 10 + 7,


// and 17 is placed in the memory location called
// total.

This last statement may seem a bit confusing. Starting with the right side, it
says to get the value that is in total (10 in this case), add it to the value
that is in count (7 in this case), and then store that combined sum (17) in
the memory location called total. Notice that total, which was initially
10, gets changed to 17.
2. Output Statements: These instructions send information from the computer
to the outside world. This information may be sent to the screen or to some
file. In C++ the cout << statement sends information to the screen. The
#include <iostream> directive must be in the header for cout to be used.

cout << total;

The above statement sends whatever value is stored in the variable total
to the screen. C++ uses the semicolon as a statement terminator.
We can output literal strings (such as “Hello”) by inclosing them in
double quotes.
The << operator acts as a separator for multiple outputs.

cout << "The value of total is " << total << endl;

The endl statement causes the cursor to be moved to the beginning of the
next line.
The remaining three fundamental instructions will be explained in
future labs.
Pre-lab Writing Assignment 19

3. Input Statements: These statements bring in data to the computer.


(Lesson Set 3)
4. Conditional Statements: These instructions test conditions to determine
which path of instructions to execute. (Lesson Set 4)
5. Loops: These instructions indicate a repetition of a series of instructions.
(Lesson Set 5)

Arithmetic Operators
Programming has the traditional arithmetic operators:
Operation C++ Symbol
addition +
subtraction -
multiplication *
division /
modulus %
Integer division occurs when both the numerator and denominator of a divide
operation are integers (or numbers stored in variables defined to be integers). The
result is always an integer because the decimal part is truncated or “chopped” from
the number. Thus 9/2 will give the answer 4 not 4.5! For this reason there are two
division operations for integer numbers. The modulus operator, (%) used only with
integers, gives the remainder of a division operation. 9/2 gives 4 while 9 % 2 gives
1 (the remainder of the division).

Example:
int count = 9;
int div = 2;
int remainder;
int quotient;

quotient = count / div; // quotient is assigned a 4


remainder = count % div; // remainder is assigned a 1

You should go back and review the sample program on the first page of the Pre-
lab Reading Assignment. By now you should understand most of the statements.

PRE-LAB WRITING ASSIGNMENT


Fill-in-the-Blank Questions
1. A is a memory location whose value cannot change
during the execution of the program.
2. is a data type that only holds numbers with no fractional
component.
3. is a data type that holds numbers with fractional
components.
4. is an arithmetic operator that gives the remainder of a
division problem.
20 LESSON SET 2 Introduction to the C++ Programming Language

5. cout << is an example of the fundamental instruction.


6. data types only have two values: true and false.
7. One byte consists of bits.
8. // or /* in C++ indicates the start of a .
9. A is a memory location whose value can change during
the execution of the program.
10. A can hold a sequence of characters such as a name.

LESSON 2A

LAB 2.1 Working with the cout Statement


Exercise 1: Retrieve program name.cpp from the Lab 2 folder.
Fill in the code so that the program will do the following:
Write your first and last name on one line.
Write your address on the next line (recall the function of the endl statement).
Write your city, state and zip on the next line.
Write your telephone number on the next line.
Remember that to output a literal, such as “Hello”, you must use quotes.
Compile and run the program.

Example: Deano Beano


123 Markadella Lane
Fruitland, Md. 55503
489-555-5555
The code for name.cpp is as follows:

// This program will write the name, address and telephone


// number of the programmer.

// PLACE YOUR NAME HERE

#include <iostream>
using namespace std;

int main()
{

// Fill in this space to write your first and last name


// Fill in this space to write your address (on new line)
// Fill in this space to write you city, state and zip (on new line)
// Fill in this space to write your telephone number (on new line)

return 0;

}
Lesson 2A 21

Exercise 2: Change the program so that three blank lines separate the tele-
phone number from the address. Compile and run the program.
Exercise 3: Change the program so that the following (but with your name and
address) is printed. Try to get the spacing just like the example. Compile
and run the program.

LAB 2.2 Working with Constants, Variables and Arithmetic Operators


Exercise 1: Bring in the file circlearea.cpp from the Lab 2 folder.
The code of circlearea.cpp is as follows:

// This program will output the circumference and area


// of the circle with a given radius.

// PLACE YOUR NAME HERE

#include <iostream>
using namespace std;

const double PI = 3.14;


const double RADIUS = 5.4;

int main()

{
area // definition of area of circle

float circumference; // definition of circumference

circumference = 2 * PI * RADIUS; // computes circumference

area = ; // computes area

// Fill in the code for the cout statement that will output (with description)
// the circumference

// Fill in the code for the cout statement that will output (with description)
// the area of the circle

return 0;
}
22 LESSON SET 2 Introduction to the C++ Programming Language

Exercise 2: Fill in the blanks and the cout statements so that the output will
produce the following:

Exercise 3: Change the data type of circumference from float to int. Run the
program and record the results.
The circumference of the circle is .
The area of the circle is .
Explain what happened to get the above results.

LESSON 2B
LAB 2.3 Rectangle Area and Perimeter
Exercise 1: Using Lab 2.2 as an example, develop a program that will deter-
mine the area and perimeter of a rectangle. The length and width can be
given as constants. (LENGTH=8 WIDTH=3)
Exercise 2: Compile and run your program. Continue to work on it until you
get the following output.

LAB 2.4 Working with Characters and Strings

Exercise 1: Retrieve program stringchar.cpp from the Lab 2 folder. This


program illustrates the use of characters and strings. The char data type
allows only one character to be stored in its memory location. The string
data type (actually a class and not a true data type built into the language)
allows a sequence of characters to be stored in one memory location. The
code follows:

// This program demonstrates the use of characters and strings

// PLACE YOUR NAME HERE

#include <iostream>
#include <string>
using namespace std;

// Definition of constants
const string FAVORITESODA = "Dr. Dolittle"; // use double quotes for strings
const char BESTRATING = 'A'; // use single quotes for characters

int main()

{
Lesson 2B 23

char rating; // 2nd highest product rating


string favoriteSnack; // most preferred snack
int numberOfPeople; // the number of people in the survey
int topChoiceTotal; // the number of people who prefer the top choice

// Fill in the code to do the following:


// Assign the value of "crackers" to favoriteSnack
// Assign a grade of 'B' to rating
// Assign the number 250 to the numberOfPeople
// Assign the number 148 to the topChoiceTotal

// Fill in the blanks of the following:


cout << "The preferred soda is " << << endl;
cout << "The preferred snack is " << <<
endl; cout << "Out of " << << " people "
<< << " chose these items!" << endl;
cout << "Each of these products were given a rating of " << ;
cout << " from our expert tasters" << endl;
cout << "The other products were rated no higher than a " << rating
<< endl;

return 0;

Exercise 2: Fill in the indicated code, then compile and run the program.
Continue to work on the program until you have no syntax, run-time, or
logic errors.
The output should look similar to the following:
The preferred soda is Dr. Dolittle
The preferred snack is crackers
Out of 250 people 148 chose these items!
Each of these products were given a rating of A from our expert tasters
The other products were rated no higher than a B
Exercise 3: Is it possible to change the choice of FAVORITESODA by adding
code within the main module of the program? Why or why not?
Exercise 4: Is it possible to change the choice of favoriteSnack by adding code
within the program? Why or why not?
Another Random Scribd Document
with Unrelated Content
Couture:

Méthodes et Entretiens d’atelier, par Thomas Couture. Paris,


1868.

Jules Claretie: Peintres et sculpteurs contemporains. Paris, 1873,


p. 163.

H. Billung: “Kunst-Chronik,” 1879, 30.

“L’Art,” xvii p. 24. 1879.

Paul Leroy: “L’Art,” 1880, 298. Also separate.

Clara Biller: Zur Erinnerung an Thomas Couture, “Zeitschrift für


bildende Kunst,” xvi, 1881, p. 101.

H. C. Angel: Th. Couture, “American Art Review,” 1881, 24.

CHAPTER XII

Cabanel:

Georges Lafenestre: “Gazette des Beaux Arts,” 1889, i 265.

Bouguereau:

Artistes modernes. “Dictionnaire illustré des Beaux Arts.” Paris,


1885. Parts I-V.

Baudry:
Emile Bergerat: Peintures décoratives de Paul Baudry au grand
foyer de l’Opéra. Avec preface de Th. Gautier. Paris, 1875.

Edmond About: Paul Baudry, “L’Art,” 1876, iv 169.

Jules Claretie: L’art et les artistes contemporains. Paris, 1876, p.


49.

Edmond About: Peintures décoratives de Paul Baudry. Photogr.


Goupil. Paris, 1876.

G. Berger: Les peintures de Paul Baudry dans le Foyer de


l’Opéra, “Chronique des Arts,” 1879.

Charles Ephrussi: L’exposition des œuvres de M. P. Baudry,


“Gazette des Beaux Arts,” 1882, ii 132.

G. Dargenty: Paul Baudry à propos de l’exposition de ses


œuvres à l’orangerie des Tuileries, “Courrier de l’Art,” 28,
1883.

Dubufe: Paul Baudry, “La nouvelle Revue,” 15 Juli 1883.

Henri Delaborde: Notice sur la vie et les ouvrages de M. P.


Baudry. Paris, 1886.

Ernest Toudouze: P. Baudry, Notes intimes. Bordeaux, 1886.

Charles Ephrussi: Paul Baudry, sa vie et son œuvre. Paris, 1887.

Richard Graul: Paul Baudry, “Zeitschrift für bildende Kunst,” xxii,


1887, pp. 1 and 65.

A. Bonnin: Paul Baudry. Vannes, 1889.

Benjamin Constant:
Victor Champier: Benjamin Constant, “Art Journal,” August
1883.

F. Naquet: “L’Art,” XLVIII, 237. 1890.

Laurens:

Ferdinand Fabre: Le roman d’un peintre. Paris, 1878.

Regnault:

H. Cazalis: Henri Regnault, sa vie et son œuvre. Paris, 1871.

H. Baillière: H. Regnault. Paris, 1871.

Arthur Duparc: Correspondence de Henri Regnault. Paris, 1873.

Charles Blanc: Les artistes de mon temps. Paris, 1876, p. 347.

Roger-Ballu: Le monument de Henri Regnault à l’école des


Beaux Arts. “L’Art,” 1876, iii 176.

Philip G. Hamerton: Modern Frenchmen, 5 biographies. London,


1878, p. 334.

A. Angelier: Étude sur Henri Regnault. Paris, Boulanger, 1879.

Hermann Billung: Henri Regnault, “Zeitschrift für bildende


Kunst,” 1880, xv 93. “L’Art,” 1886, ii 48.

Roger Marx: Henri Regnault, in “Les artistes célèbres.” Paris,


1886.

Gustave Larroumet: Henri Regnault, 1848-1871. Paris, 1889.


CHAPTER XIII

The Historical School in Belgium:

Principal work: Camille Lemonnier: Histoire des beaux-arts en


Belgique. Cinquante ans de liberté. Bruxelles, 1881, vol. iii.
Neue Ausgabe. 1906.

Likewise: Von Hasselt: La Belgique, in “L’Art moderne en


Allemagne,” iii. Paris, 1841.

Felix Bogaerts: Esquisse d’une histoire des Arts en Belgique


depuis 1640 jusqu’à 1830. Anvers, 1841.

L. Pfau: Die zeitgenössische Kunst in Belgien, “Freie Studien.”


Stuttgart, 1866.

F. Reber: Die belgische Malerei, “Deutsche Revue,” vii, 1882, p.


219. “Patria Belgica,” tome iii, Les Expositions de tableaux
depuis 1830. Bruxelles, 1875.

Annuaire de l’Académie royale des Sciences, Lettres, et Beaux


Arts, passim.

J. A. Wauters: La peinture flamande, 3 éd. Paris, Quantin, 1891.

Compare also the final chapter in Max Rooses’ “Geschichte der


Malerschule Antwerpens,” deutsch von Reber. 2 Ausgabe.
München, 1889.

M. J. van Bree:
L. Gerrits: Levensbeschrijving van M. J. van Bree. Antwerp,
1852.

Wappers:

Hermann Billung: Gustav Wappers, historisches Taschenbuch, 5


Folge, x. 1880, p. 111.

De Keyzer:

Henri Hymans: Nicaise de Keyzer. Bruxelles, 1891.

Guffens and Swerts:

Hermann Riegel: Geschichte der Wandmalerei in Belgien seit


1856. Nebst Briefen von Cornelius, Kaulbach, Overbeck,
Schnorr, Schwind, u. A. an Gottfried Guffens und Jan
Swerts. Berlin, Wasmuth, 1883.

Gallait:

A. Teichlein: L. Gallait und die Malerei in Deutschland. München,


1853.

Henne, Louis Gallait: Annales de l’Académie d’arch. de Belgique,


1890, 4.

Nekrolog in “Zeitschrift für bildende Kunst,” 1890.

Bièfve:

Obituary in “L’Art moderne,” 7, 1881.


“Journal des Beaux Arts,” 1881, 4.

CHAPTER XIV

The Germans in Paris:

Edmond About: Voyage à travers l’exposition des Beaux Arts,


1855, p. 56.

Feuerbach:

Ein Vermächtniss von Anselm Feuerbach. 2 Auflage. Wien, 1885.


4 Aufl, 1897.

Fr. Pecht: “Zeitschrift für bildende Kunst,” viii, 1873, p. 161.

Fr. Pecht: Deutsche Künstler des 19 Jahrhunderts. Nördlingen,


1877, pp. 238-268.

Katalog der Ausstellung des Künstlerischen Nachlasses in der


Berliner Nationalgalerie, mit Biographie von Max Jordan.
Berlin, 1880.

Graf v. Schack: Meine Gemäldesammlung. Stuttgart, 1881, pp.


93-116.

O. Berggruen: Die Galerie Schack in München. Wien, 1883. Mit


Radirungen. (Also in “Graphische Künste,” 1880, iii 1.)

A. Wolf: “Zeitschrift für bildende Kunst,” xv Beiblatt, 15.


W. v. Seidlitz: A. Feuerbach, im 4 Heft der “Stichausgabe
moderner Meister der Dresdener Galerie.”

Marc Schüssler: Zum Gedächtniss an A. Feuerbach. Nürnberg,


1880.

H. Grimm in “15 Essays,” 3 Folge. Berlin, 1882, p. 337.

Feuerbachs Handzeichnungen. München, Hanfstängl, 1888.

Carl Neumann: A. Feuerbach, “Preussische Jahrbücher,” Bd. 62,


1888.

C. Allgeyer: A. Feuerbach, “Nord und Süd,” 1888.

Emil Hannover: A. Feuerbach, “Tilskueren.” Copenhagen, 1890.

Hauptwerk: Karl Allgeyer, Anselm Feuerbach, sein Leben und


seine Kunst. 2 Aufl. besorgt von Karl Neumann. Berlin,
1902.

The Berlin School since 1850:

A. Rosenberg: Die Berliner Malerschule 1819-1879, “Studien und


Kritiken.” Berlin, 1879.

R. Henneberg:

H. Riegel: Kunstgeschichtliche Vorträge und Aufsätze.


Braunschweig, 1877, p. 367.

Gustav Richter:

Ludwig Pietsch: G. Richter, “Westermanns Monatshefte,” 1883,


Oct. and Nov.
Steffeck:

Nekrolog in “Kunstchronik,” 1890, 31.

L. v. Donop: Ausstellung der Werke Karl Steffecks in der Berliner


Nationalgalerie. Berlin, Mittler, 1890.

Historical painting in General:

Ernst Guhl: Die neuere geschichtliche Malerei und die


Akademien. Stuttgart, 1848.

R. v. Eitelberger: Geschichte und Geschichtsmalerei,


Mittheilungen des österreichischen Museums, 1883, 208.

Lessing:

R. Redtenbacher: Erinnerungen an Carl Fr. Lessing, “Zeitschrift


für bildende Kunst,” xvi, 1881, p. 33.

Piloty:

F. Pecht: “Westermanns Monatshefte,” 1882, April.

Karl Stieler: Die Pilotyschule. Berlin, 1881.

F. Pecht: “Künstler des 19 Jahrhunderts.” III Reihe. Nördlingen,


1881.

C. A. Regnet: Münchener Künstlerbiographien, Bd. 2.

A. Rosenberg: Die Hauptströmungen in der bildenden Kunst der


Gegenwart. Grenzboten, 1880.
H. Helferich, Neue Kunst. Berlin, 1887.

Peter Jessen: Piloty und die deutsche Kunst, “Gegenwart,” xxxi


1.

Makart:

C. Landsteiner: H. Makart und Robert Hamerling. Wien, 1873.

C. v. Lützow; Makarts Entwürfe für den Wiener Festzug,


“Zeitschrift für bildende Kunst,” 1879, 7.

S. Feldmann: Hans Makarts neuestes Bild, “Die Gegenwart,”


1881, 24.

B. Worth: Hans Makart and his Studio, “Art Journal,” 1881, 7.

Makart-Album, in 10 Lieferungen, Holzschnitte, und Lichtdrucke,


mit Text. Wien, Bondy, 1883.

H. Makart als Architekt. “Wochenblatt für Architekten,” 1884, 89,


90.

Mrs. Schuyler van Rensselaer: Hans Makart, “Portfolio,” 1886,


pp. 36-49.

Carl v. Lützow: “Zeitschrift fir bildende Kunst,” xxi, 1886, pp.


181, 214.

Robert Stiassny: H. Makart und seine bleibende Bedeutung,


“Sammlung kunstgewerblicher und kunsthistorischer
Vorträge,” Nr. 12. Leipzig, 1886.

Max:
Friedrich Pecht: “Zeitschrift für bildende Kunst,” 1879, xiv 225,
375.

Agathon Klemt: “Graphische Künste,” ix 1-12, 25-36.

J. Beavington-Atkinson: Gabriel Max, “Art Journal,” 1881, 6.

Adolf Kohut: Gabriel Max, “Westermanns Monatshefte,” 1883,


Mai.

Nic. Mann: Gabriel Max, Eine Kunsthistorische Skizze. 2 Aufl.


Leipzig, 1891.

CHAPTER XV

Gleyre:

Charles Clement: Gleyre; Étude biographique. Paris, 1878.

Paul Mantz: “Gazette des Beaux Arts,” 1875, i 233.

Fr. Berthoud: Ch. Gleyre. Genève, 1874 (“Bibliothèque


universelle,” vol. 50).

E. Montégut: Ch. Gleyre, “Revue des Deux Mondes,” 1878.

Hofmeister: Das Leben des Kunstmalers Karl Gleyre. Zürich,


1879.

Ch. Berthoud: Ch. Gleyre. Lausanne, 1880.

Hamon:
Walther Fol: Jean Louis Hamon, “Gazette des Beaux Arts,” 1875,
i 119.

Georges Lafenestre, “L’Art,” 1875, i 394.

Gérôme:

Charles Timbal: “Gazette des Beaux Arts,” 1876, ii 228, 334.

Leys:

Hermann Billung: “Zeitschrift für bildende Kunst,” xv 333, 370.


1880.

Ludwig Pfau: “Freie Studien,” p. 262.

Meissonier:

Ernest Chesneau: Les chefs d’école, p. 241.

Otto Mündler: “Zeitschrift für bildende Kunst,” 1866.

Charles Clement: Études sur les Beaux Arts en France. Paris,


1869, p. 237.

Jules Claretie: Peintres et sculpteurs contemporains. Paris, 1873,


pp. 23, 120.

Roger-Ballu: “1807,” le Meissonier de M. Alexander T. Stewart.


“L’Art,” 1875, i 14.

Charles Blanc: Les artistes de mon temps. Paris, 1876, p. 420.

J. Claretie: E. Meissonier. Paris, 1881.


John W. Mollet: Meissonier, in “The Great Artists.” London, 1882.

H. Heinecke: E. Meissonier, “Westermanns Monatshefte,”


January 1885.

Lionel Robinson: J. L. E. Meissonier, his Life and Work. “Art


Annual” for 1887.

Ch. Bigot: Peintres français contemporains. Paris, 1888.

L. Gonse: Meissonier, “Gazette des Beaux Arts,” 1891, i 177.

G. Larroumet: Meissonier. (Study followed by a Biography by


Philippe Burty.) Paris, 1893.

Gréard: Jean-Louis-Ernest Meissonier, Ses souvenirs—Ses


entretiens. (With a study of his life and work by M. O.
Gréard; with Plates and a Catalogue of the artist’s work.)
Paris, 1897.

E. Hubbard: Meissonier. New York, 1899.

Formentin: C. Meissonier: sa vie, son œuvre. Paris, 1901.

Menzel:

Bruno Meyer: Adolf Menzel, “Zeitschrift für bildende Kunst,” xi,


1, 41. 1876.

Alfred Woltmann: Das Preussenthum in der neueren Kunst,


“Nord und Süd,” 1877, p. 109.

Ludwig Pietsch: A. Menzel, “Nord und Süd,” 1879, p. 439.

Duranty: Adolphe Menzel, “Gazette des Beaux Arts,” 1880, ii


105.
J. Beavington-Atkinson: Adolph Menzel, “Art Journal,” May 1882,
ff.

J. Beavington-Atkinson: Menzel’s Illustrations to the Works of


Frederick the Great, “Art Journal,” November 1883.

L. Gonse: Illustrations d’Adolphe Menzel pour les œuvres de


Frédéric le Grand, “Gazette des Beaux Arts,” 1882, i 596.

Das Werk A. Menzels. Text by Jordan and Dohme. München,


1885, ff.

Cornelius Gurlitt: A. Menzel, “Die Kunst unserer Zeit,” 1892.

Sondermann: Adolph Menzel, Monographie. Magdeburg, 1896.

Knackfuss: Menzel. (With 141 Illustrations), Künstler


Monographien, vii. Bielefeld, 1895.

H. von Tschudi: Das Werk Adolf Menzels. Berlin, 1905.

Julius Meyer-Gräfe: Der junge Menzel. Stuttgart, 1906.

Printed by Morrison & Gibb Limited, Edinburgh


*** END OF THE PROJECT GUTENBERG EBOOK THE HISTORY OF
MODERN PAINTING, VOLUME 1 (OF 4) ***

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 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!

testbankbell.com

You might also like