100% found this document useful (6 votes)
35 views

Complete Answer Guide for Introduction to Java Programming Brief Version 10th Edition Liang Test Bank

The document provides links to download various test banks and solution manuals for Java programming and other subjects. It includes specific code snippets and programming exercises related to Java, as well as multiple-choice questions for assessment. The content appears to be part of an academic resource for students studying programming and related fields.

Uploaded by

priebrabiny5
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (6 votes)
35 views

Complete Answer Guide for Introduction to Java Programming Brief Version 10th Edition Liang Test Bank

The document provides links to download various test banks and solution manuals for Java programming and other subjects. It includes specific code snippets and programming exercises related to Java, as well as multiple-choice questions for assessment. The content appears to be part of an academic resource for students studying programming and related fields.

Uploaded by

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

Visit https://testbankdeal.

com to download the full version and


explore more testbank or solution manual

Introduction to Java Programming Brief Version


10th Edition Liang Test Bank

_____ Click the link below to download _____


https://testbankdeal.com/product/introduction-to-java-
programming-brief-version-10th-edition-liang-test-bank/

Explore and download more testbank at testbankdeal.com


Here are some suggested products you might be interested in.
Click the link to download

Introduction to Java Programming Comprehensive Version


10th Edition Liang Test Bank

https://testbankdeal.com/product/introduction-to-java-programming-
comprehensive-version-10th-edition-liang-test-bank/

Introduction to Java Programming Comprehensive Version


10th Edition Liang Solutions Manual

https://testbankdeal.com/product/introduction-to-java-programming-
comprehensive-version-10th-edition-liang-solutions-manual/

Introduction to Java Programming Comprehensive Version 9th


Edition Liang Test Bank

https://testbankdeal.com/product/introduction-to-java-programming-
comprehensive-version-9th-edition-liang-test-bank/

Financial and Managerial Accounting 6th Edition Wild


Solutions Manual

https://testbankdeal.com/product/financial-and-managerial-
accounting-6th-edition-wild-solutions-manual/
Hazard Mitigation in Emergency Management 1st Edition
Islam Test Bank

https://testbankdeal.com/product/hazard-mitigation-in-emergency-
management-1st-edition-islam-test-bank/

Foundations of Operations Management Canadian 4th Edition


Ritzman Solutions Manual

https://testbankdeal.com/product/foundations-of-operations-management-
canadian-4th-edition-ritzman-solutions-manual/

Organizational Behaviour Concepts Controversies


Applications Canadian 7th Edition Langton Solutions Manual

https://testbankdeal.com/product/organizational-behaviour-concepts-
controversies-applications-canadian-7th-edition-langton-solutions-
manual/

Strategic Staffing 3rd Edition Phillips Test Bank

https://testbankdeal.com/product/strategic-staffing-3rd-edition-
phillips-test-bank/

Economics of Money Banking and Financial Markets 10th


Edition Mishkin Test Bank

https://testbankdeal.com/product/economics-of-money-banking-and-
financial-markets-10th-edition-mishkin-test-bank/
Human Relations for Career and Personal Success Concepts
Applications and Skills 11th Edition DuBrin Test Bank

https://testbankdeal.com/product/human-relations-for-career-and-
personal-success-concepts-applications-and-skills-11th-edition-dubrin-
test-bank/
Name:_______________________ CSCI 1302 OO Programming
Armstrong Atlantic State University
(50 minutes) Instructor: Dr. Y. Daniel Liang

Part I:

A. (2 pts)
What is wrong in the following code?
public class Test {
public static void main(String[] args) {
Number x = new Integer(3);
System.out.println(x.intValue());
System.out.println(x.compareTo(new Integer(4)));
}
}

What is wrong in the following code?


public class Test {
public static void main(String[] args) {
Number x = new Integer(3);
System.out.println(x.intValue());
System.out.println((Integer)x.compareTo(new Integer(4)));
}
}

B. (3 pts)

Suppose that statement2 causes an exception in the

following try-catch block:

public void m2() {


m1();
}

public void m1() {


try {
statement1;
statement2;
statement3;
}
catch (Exception1 ex1) {
}
catch (Exception2 ex2) {
}

statement4;
}

Answer the following questions:

• Will statement3 be executed?


• If the exception is not caught, will statement4
be executed?
• If the exception is caught in the catch block,
will statement4 be executed?

1
C. (2 pt)

Why does the following method have a compile error?

public void m(int value) {


if (value < 40)
throw new Exception("value is too small");
}

d. (2 pt)

Why is the following code incorrect for storing the content

of object?

import java.io.*;

public class Test {


private int a = 5;
private double b = 5.5;
private String m = "value is too small";

public static void main(String[] args) throws Exception {


Test t = new Test();

ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream("Test.dat"));

output.writeObject(t);
output.close();

ObjectInputStream input = new ObjectInputStream(new FileInputStream("Test.dat"));


Test t1 = (Test)(input.readObject());

System.out.println(t1.a);
System.out.println(t1.b);
System.out.println(t1.m);
input.close();
}
}

Part II: Write Programs

(5 pts) Write a program that stores an array of the five int values 1, 2, 3, 4 and 5, a Date object

for the current time, and the double value 5.5 into the file named Test.dat.

2
(10 pts) Write a class named Hexagon that extends GeometricObject and
implements the Comparable interface. Assume all six sides of the
hexagon are of equal size. The Hexagon class is defined as
follows:

public class Hexagon extends GeometricObject implements Cloneable,


Comparable<Hexagon> {
private double side;

/** Construct a Hexagon with the specified side */


public Hexagon(double side) {
// Implement it

@Override
public double getArea() {
// Implement it ( area = 3* 3 * side * side )

@Override
public double getPerimeter() {
// Implement it

@Override
public int compareTo(Hexagon obj) {
// Implement it (compare two Hexagons based on their sides)

@Override
public Object clone() {
// Implement it

3
}
}

4
Part III: Multiple Choice Questions: (1 pts each)
(Please circle your answers on paper first. After you
finish the test, enter your choices online to LiveLab. Log
in and click Take Instructor Assigned Quiz. Choose Quiz2.
You have 5 minutes to enter and submit the answers.)

Part III: Multiple Choice Questions:

1. The output from the following code is __________.

java.util.ArrayList<String> list = new java.util.ArrayList<>();


list.add("New York");
java.util.ArrayList<String> list1 =
(java.util.ArrayList<String>)(list.clone());
list.add("Atlanta");
list1.add("Dallas");
System.out.println(list);

a. [New York]
b. [New York, Atlanta]
c. [New York, Atlanta, Dallas]
d. [New York, Dallas]

#
2. Show the output of running the class Test in the following code:

interface A {
void print();
}

class C {}

class B extends C implements A {


public void print() { }
}

public class Test {


public static void main(String[] args) {
B b = new B();
if (b instanceof A)
System.out.println("b is an instance of A");
if (b instanceof C)
System.out.println("b is an instance of C");
}
}

a. Nothing.
b. b is an instance of A.
c. b is an instance of C.
d. b is an instance of A followed by b is an instance of C.

5
3. Suppose A is an interface, B is an abstract class that partial
implements A, and A is a concrete class with a default constructor that
extends B. Which of the following is correct?
a. A a = new A();
b. A a = new B();
c. B b = new A();
d. B b = new B();
Key:c

#
4. Which of the following is correct?
a. An abstract class does not contain constructors.
b. The constructors in an abstract class should be protected.
c. The constructors in an abstract class are private.
d. You may declare a final abstract class.
e. An interface may contain constructors.
Key:b

#
5. What is the output of running class C?

class A {
public A() {
System.out.println(
"The default constructor of A is invoked");
}
}

class B extends A {
public B(String s) {
System.out.println(s);
}
}

public class C {
public static void main(String[] args) {
B b = new B("The constructor of B is invoked");
}
}
a. none
b. "The constructor of B is invoked"
c. "The default constructor of A is invoked" "The constructor of B
is invoked"
d. "The default constructor of A is invoked"

#
6. Analyze the following code:

public class Test1 {


public Object max(Object o1, Object o2) {
if ((Comparable)o1.compareTo(o2) >= 0) {
return o1;
}
else {
return o2;
}
}

6
}

a. The program has a syntax error because Test1 does not have a main
method.
b. The program has a syntax error because o1 is an Object instance
and it does not have the compareTo method.
c. The program has a syntax error because you cannot cast an Object
instance o1 into Comparable.
d. The program would compile if ((Comparable)o1.compareTo(o2) >= 0)
is replaced by (((Comparable)o1).compareTo(o2) >= 0).
e. b and d are both correct.

#
7. Which of the following statements regarding abstract methods is not
true?
a. An abstract class can have instances created using the constructor
of the abstract class.
b. An abstract class can be extended.
c. A subclass of a non-abstract superclass can be abstract.
d. A subclass can override a concrete method in a superclass to declare
it abstract.
e. An abstract class can be used as a data type.

#
8. Which of the following possible modifications will fix the errors in
this code?

public class Test {


private double code;

public double getCode() {


return code;
}

protected abstract void setCode(double code);


}

a. Remove abstract in the setCode method declaration.


b. Change protected to public.
c. Add abstract in the class declaration.
d. b and c.

#
9. Analyze the following code.

class Test {
public static void main(String[] args) {
Object x = new Integer(2);
System.out.println(x.toString());
}
}

a. The program has syntax errors because an Integer object is


assigned to x.
b. When x.toString() is invoked, the toString() method in the Object
class is used.

7
c. When x.toString() is invoked, the toString() method in the
Integer class is used.
d. None of the above.

#
10. What exception type does the following program throw?
public class Test {
public static void main(String[] args) {
Object o = new Object();
String d = (String)o;
}
}

a. ArithmeticException
b. No exception
c. StringIndexOutOfBoundsException
d. ArrayIndexOutOfBoundsException
e. ClassCastException

#
11. What exception type does the following program throw?
public class Test {
public static void main(String[] args) {
Object o = null;
System.out.println(o.toString());
}
}

a. ArrayIndexOutOfBoundsException
b. ClassCastException
c. NullPointerException
d. ArithmeticException
e. StringIndexOutOfBoundsException

#
12. To append data to an existing file, use _____________ to construct a
FileOutputStream for file out.dat.
a. new FileOutputStream("out.dat")
b. new FileOutputStream("out.dat", false)
c. new FileOutputStream("out.dat", true)
d. new FileOutputStream(true, "out.dat")

#
13. After the following program is finished, how many bytes are written to the file t.dat?

import java.io.*;

8
public class Test {
public static void main(String[] args) throws IOException {
DataOutputStream output = new DataOutputStream(
new FileOutputStream("t.dat"));
output.writeInt(1234);
output.writeShort(5678);
output.close();
}
}
a. 2 bytes.
b. 4 bytes.
c. 6 bytes.
d. 8 bytes.
e. 12 bytes

#
14. Which of the following statements is not true?
a. ObjectInputStream/ObjectOutputStream enables you to perform I/O for objects in
addition for primitive type values and strings.
b. Since ObjectInputStream/ObjectOutputStream contains all the functions of
DataInputStream/DataOutputStream, you can replace
DataInputStream/DataOutputStream completely by
ObjectInputStream/ObjectOutputStream.
c. To write an object, the object must be serializable.
d. The Serializable interface does not contain any methods. So it is a mark interface.
e. If a class is serializable, all its data fields are seriablizable.

Please double check your answer before clicking the Submit


button. Whatever submitted to LiveLab is FINAL and counted
for your grade.

Have you submitted your answer to LiveLib? ______________

9
Exploring the Variety of Random
Documents with Different Content
panes, bringing with it the wild crash of the Christmas bells, a tumult
of voices, and Daphne's thrilling scream.
Peril makes some men mad. It made Angelo sane. He realised the
situation—realised that his hated rival was slipping from his power;
but the knowledge of this fact only made him more desperate.
"Damn you! you shall not escape!" he cried fiercely. "I'll have your
life, though I die the next moment for it!"
With the dagger gleaming aloft, he darted on me. Measuring him
with my eye, I swung the chair round, and tried to bring it down on
his head, but he eluded the blow by springing deftly to one side.
The robe of tragedy is often sewn with the threads of comedy. The
chair intended for the artist lighted instead on his unfinished picture,
and went sheer through the canvas, overturning the easel, and
inflicting more damage to the painted Colosseum in two seconds
than old Time has been able to inflict on the solid original in well-
nigh two millenniums.
"My picture! Oh, my picture!" cried the artist. "You have destroyed
it!"
Petrified with dismay, he gazed on the ruins of his work of art,
oblivious for the moment of everything else. Taking advantage of his
surprise, I sprang forward, and seized him by the throat with such
force and energy that he toppled backwards, and measured his
length on the floor of the cell. I fell with him.
"That's it! Bravo! Hold him down!" cried a voice, which I recognised
as the Baronet's. "We'll be with you in an instant."
Sir Hugh, my uncle, and some others were standing on the window-
ledge, striving to effect an entrance by forcing asunder the slender
cross-bars of the casement.
The artist lay extended on the floor of the cell. My knee was on his
chest, and with one hand I grasped him by the throat, and with the
other pinioned to the floor his hand that held the dagger. I tried to
keep him in this position till aid should come, but with a strength
almost superhuman he rose to his feet, dragging me with him, and,
grappling with each other, we swayed backwards and forwards in the
moonlit cell.
"I always hated you," he gasped. "But for you I might have won the
love of Daphne. You shall not escape me!"
He made frantic efforts to reach me with the dagger, but I clung
heavily to the arm that held it, impeding his power of action. At
length with a sudden effort of strength he flung me off, but as he did
so the cross-bars of the casement gave way, and three human
bodies were projected through it in a most ungraceful fashion, and
fell on all-fours to the floor.
For one second the artist stood irresolute, and then darting towards
the secret opening, he disappeared from view.
The cell seemed to swim around me, a mist passed before my eyes,
and then dimly as in a dream I became conscious that I was
reclining in an oaken chair, supported on one side by my uncle and
on the other by Daphne. The door of the tower was wide open,
hanging obliquely on one hinge. Someone was putting a lighted
match to the wick in the antique iron lamp, and its bright flame lit up
a crowd of faces that were bent upon me with wondering looks. At
one end of the cell some men, a helmeted police-officer among the
number, were kneeling, fingering and clawing at the stone slab
which the artist had pulled down after him to cover his retreat.
"It must be chained down," I heard the Baronet saying. "Pass the
crowbar. Damn it! the fellow will escape."
"His eyes are open," I heard Daphne saying. "Oh, Frank, you are not
hurt, are you?"
She was now kneeling beside me, her lovely eyes full of tenderness
and sympathy. It was worth all the agony I had endured to be the
object of her sweet pity. I tried to speak, but emotion checked my
utterance, and I could reply to her question only by an assuring
smile.
"You are looking like the very dead," said the doctor. "Here, take a
drop of this. This will revive you."
"Is my hair grey?" I murmured, putting my hand to my head, as if it
were possible to ascertain by the sense of touch. "Do I look old? I
feel like a captive liberated from the Bastile. How long have I been in
this prison? Years upon years?"
In a few words I told my shuddering listeners of the artist's designs
on me. From regard to Daphne, I reserved the story of George's end
for another occasion.
"Ay, ay," remarked the doctor, gravely shaking his head. "I saw this
morning that he exhibited all the symptoms of insanity. Genius and
madness are often allied."
"Well, thank Heaven you are safe!" exclaimed my uncle fervently;
"though more by your own efforts than by ours," he added.
"Have you only just returned from the magistrate's?" I asked him.
There is a good deal of ingratitude in human nature, and even in the
first joy of my deliverance I felt a disposition to reproach my uncle
for what I considered a very tardy rescue, totally forgetful of the fact
that if my rescuers had appeared earlier on the scene there would
have been an end of me, for the artist at sight of them would have
effected his deadly purpose without my being able to offer any
resistance.
"Yes, we have only just returned," he answered, understanding the
motive of my question. "Everything that possibly could went wrong.
The carriage broke down half way from the Manse, and when we set
off to finish the journey on foot we missed our way on the moors
and were a long time in finding it again. When we did reach the
Abbey and did not see you about we guessed where you were and
came at once to the tower. We heard enough to assure us that
something very serious was the matter, and as we could not hope to
make our way in empty handed we ran back for—"
He was interrupted by a shout coming from outside of the cell, and
turning quickly I saw that the slab had been lifted up revealing a
stairway beneath.
"Turn your lantern down here, Wilson," cried the Baronet excitedly,
"and lead the way. Look sharp, or he'll escape after all."
The constable obediently went down the opening, followed by Sir
Hugh, my uncle and two or three other men. Thinking that I had as
good a right as any to join the pursuit, I rose with the intention of
following them, but at Daphne's entreaty, I forbore, and, leaving the
cell, we both walked across the lawn to the Abbey, all unconscious of
the tragedy that was happening under our very feet.
For the steps down which the artist had fled opened into a stone
passage, the walls of which were dripping with moisture and stained
with horrid fungi. At the foot of the steps Sir Hugh came upon a
recess, where they found a grey cloak, and a gentleman's dress suit.
The Baronet, with a look of inquiry on his face, pointed out these
things to my uncle.
"Yes," said my uncle, "those are his clothes right enough. They are
what he wore the last time we saw him alive. It is clear that Vasari
murdered him that night, and he has kept these clothes by him ever
since. Look," he went on, "this is where he was stabbed," and he
pointed to a cut in the back of the coat. As he was handling the
garment something bright fell from the breast pocket, and stooping
to pick it up he recognised the ring which Daphne had thrown into
the well at Rivoli.
"We mustn't stop," the Baronet said. "Hold up the light, Wilson," and
the whole party again stumbled forward along the passage.
"Where does it lead to?" the constable asked, peering cautiously into
the darkness before him.
"I wish I could tell you," Sir Hugh replied. "I have never seen the
place before. It must be the nuns' corridor of ancient days. I always
understood it had been bricked up. By the way, we must go
carefully. If I'm right, there must be a deep chasm ahead—the Nuns'
Shaft, and if—hullo, what's that?"
Distant a few paces in front was a human figure crouching low
against the wall.
"There he is," several voices cried at once.
"Take care," said my uncle. "Remember, he is a madman!"
At this, the whole party came to a sudden halt.
"Yield in the King's name," shouted the constable. But whatever
effect the King's name may have upon the sane it cannot be
expected to exercise much influence upon a maniac. Rising to his
feet, with a wild laugh that sounded unearthly in the echoing
passage, the madman ran on into the darkness, with the pursuit hot
behind him.
Suddenly he checked his headlong pace, and, turning swiftly,
confronted his pursuers. The light held aloft by the constable fell full
on his despairing face, and to their dying day those who saw Angelo
Vasari at that moment will never forget the sight.
With a gesture in which rage, defiance and hopelessness were all
mingled, he sprang into the air. For one moment he was visible, in
the next he had vanished. No sound broke from him. In absolute
silence, more terrible than any cry, he was swallowed by the
blackness beneath him.
"By God, he's gone!" the Baronet shouted, and there was fear in his
voice. "Stop, stop, for Heaven's sake, or you are all dead men."
"What is it?" shouted some, catching the infection of his fear.
"He has leaped down the shaft of the old silver mine."

Thus died Angelo Vasari, and perhaps it was better that he should
perish by suicide than be taken alive only to fall into the hangman's
hands or drag out a long life in some asylum for the insane. That the
story could be kept from the general public was, of course,
impossible, and the sensation caused at the inquest by the telling of
the manner of his death was enhanced by the account I had to
repeat of how my brother came by his. Vasari's studio in London was
examined, and evidence was discovered in the cellar corroborating
his assertion that he had burnt the body of the man whom he had
sacrificed to his insane desire for fame.
As for the picture itself, Sir Hugh at first thought of destroying it, but
finally decided to keep it on account of its marvellous merit as a
work of art. It was removed from the gallery, and hung by itself in a
room where it could be inspected by the privileged few. Daphne
could never bring herself to look at it. She did not want the idealised
image of her lover to be marred by the ghastly presentment of his
dead likeness.
Whose wife Daphne is now, it is hardly necessary to say. We were
married in the spring at Silverdale, and quiet though we wished the
wedding to be, the church was crowded with people from far and
wide who were eager to see the girl whose beauty had been the
cause of such a tragedy. To efface from her mind as far as possible
the memory of that tragedy is the chief object of my life and I am
glad to think I do not wholly fail. She wears in addition to her
wedding ring a second golden band, the ring that she threw into the
well at Rivoli. It is to be buried with her, she says. May that day be
far distant, is my constant prayer.
THE END
*** END OF THE PROJECT GUTENBERG EBOOK THE WEIRD
PICTURE ***

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!

testbankdeal.com

You might also like