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

Solution Manual for Java How to Program, Early Objects (11th Edition) (Deitel: How to Program) 11th Edition download

The document provides links to various solution manuals and test banks for programming and accounting textbooks, including Java and C++ editions by Deitel. It includes self-review exercises and programming tasks related to Java applications, focusing on arithmetic operators, decision-making statements, and input/output operations. Additionally, it contains exercises with answers to reinforce learning concepts in Java programming.

Uploaded by

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

Solution Manual for Java How to Program, Early Objects (11th Edition) (Deitel: How to Program) 11th Edition download

The document provides links to various solution manuals and test banks for programming and accounting textbooks, including Java and C++ editions by Deitel. It includes self-review exercises and programming tasks related to Java applications, focusing on arithmetic operators, decision-making statements, and input/output operations. Additionally, it contains exercises with answers to reinforce learning concepts in Java programming.

Uploaded by

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

Solution Manual for Java How to Program, Early

Objects (11th Edition) (Deitel: How to Program)


11th Edition install download

https://testbankmall.com/product/solution-manual-for-java-how-to-
program-early-objects-11th-edition-deitel-how-to-program-11th-
edition/

Download more testbank from https://testbankmall.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

Test Bank for Java How To Program (early objects), 9th


Edition: Paul Deitel

https://testbankmall.com/product/test-bank-for-java-how-to-program-
early-objects-9th-edition-paul-deitel/

testbankmall.com

Solution Manual for C++ How to Program 10th by Deitel

https://testbankmall.com/product/solution-manual-for-c-how-to-
program-10th-by-deitel/

testbankmall.com

C++ How to Program 10th Edition Deitel Solutions Manual

https://testbankmall.com/product/c-how-to-program-10th-edition-deitel-
solutions-manual/

testbankmall.com

Managerial Accounting An Introduction to Concepts, Methods


and Uses Maher 11th Edition Test Bank

https://testbankmall.com/product/managerial-accounting-an-
introduction-to-concepts-methods-and-uses-maher-11th-edition-test-
bank/
testbankmall.com
Test Bank for Financial Accounting: A Business Process
Approach, 3rd Edition: Jane L. Reimers

https://testbankmall.com/product/test-bank-for-financial-accounting-a-
business-process-approach-3rd-edition-jane-l-reimers/

testbankmall.com

Test Bank for Concise History of Western Music 5th Edition


Anthology Update by Barbara Russano Hanning

https://testbankmall.com/product/test-bank-for-concise-history-of-
western-music-5th-edition-anthology-update-by-barbara-russano-hanning/

testbankmall.com

Health Economics 6th Edition Santerre Test Bank

https://testbankmall.com/product/health-economics-6th-edition-
santerre-test-bank/

testbankmall.com

Construction Jobsite Management 4th Edition Mincks Test


Bank

https://testbankmall.com/product/construction-jobsite-management-4th-
edition-mincks-test-bank/

testbankmall.com

Test Bank for Macroeconomics, Fifth Canadian Edition, 5/E


5th Edition Olivier Blanchard, David W. Johnson

https://testbankmall.com/product/test-bank-for-macroeconomics-fifth-
canadian-edition-5-e-5th-edition-olivier-blanchard-david-w-johnson/

testbankmall.com
Test Bank for Gardners Art through the Ages The Western
Perspective, Volume I, 13th Edition

https://testbankmall.com/product/test-bank-for-gardners-art-through-
the-ages-the-western-perspective-volume-i-13th-edition/

testbankmall.com
■ Use arithmetic operators.
■ Learn the precedence of
arithmetic operators.
■ Write decision-making
statements.
■ Use relational and equality
operators.
jhtp_02_IntroToApplications.FM Page 2 Sunday, May 18, 2014 9:41 PM

Self-Review Exercises 2

Self-Review Exercises
2.1 Fill in the blanks in each of the following statements:
a) A(n) begins the body of every method, and a(n) ends the body of
every method.
ANS: left brace ({), right brace (} ).
b) You can use the statement to make decisions.
ANS: if.
c) begins an end-of-line comment.
ANS: //.
d) , and are called white space.
ANS: Space characters, newlines and tabs.
e) are reserved for use by Java.
ANS: Keywords.
f) Java applications begin execution at method .
ANS: main.
g) Methods , and display information in a command win-
dow.
ANS: System.out.print, System.out.println and System.out.printf.
2.2 State whether each of the following is true or false. If false, explain why.
a) Comments cause the computer to print the text after the // on the screen when the pro-
gram executes.
ANS: False. Comments do not cause any action to be performed when the program exe-
cutes. They’re used to document programs and improve their readability.
b) All variables must be given a type when they’re declared.
ANS: True.
c) Java considers the variables number and NuMbEr to be identical.
ANS: False. Java is case sensitive, so these variables are distinct.
d) The remainder operator (%) can be used only with integer operands.
ANS: False. The remainder operator can also be used with noninteger operands in Java.
e) The arithmetic operators *, /, %, + and - all have the same level of precedence.
ANS: False. The operators *, / and % are higher precedence than operators + and -.
2.3 Write statements to accomplish each of the following tasks:
a) Declare variables c, thisIsAVariable, q76354 and number to be of type int.
ANS: int c, thisIsAVariable, q76354, number;
or
int c;
int thisIsAVariable;
int q76354;
int number;
b) Prompt the user to enter an integer.
ANS: System.out.print("Enter an integer: ");
c) Input an integer and assign the result to int variable value. Assume Scanner variable
input can be used to read a value from the keyboard.
ANS: value = input.nextInt();
d) Print "This is a Java program" on one line in the command window. Use method
System.out.println.
ANS: System.out.println("This is a Java program");
jhtp_02_IntroToApplications.FM Page 3 Sunday, May 18, 2014 9:41 PM

3 Chapter 2 Introduction to Java Applications; Input/Output and Operators

e) Print "This is a Java program" on two lines in the command window. The first line
should end with Java. Use method System.out.printf and two %s format specifiers.
ANS: System.out.printf("%s%n%s%n", "This is a Java", "program");
f) If the variable number is not equal to 7, display "The variable number is not equal to 7".
ANS: if (number != 7)
System.out.println("The variable number is not equal to 7");

2.4 Identify and correct the errors in each of the following statements:
a) if (c < 7);
System.out.println("c is less than 7");
ANS: Error: Semicolon after the right parenthesis of the condition (c < 7) in the if.
Correction: Remove the semicolon after the right parenthesis. [Note: As a result, the
output statement will execute regardless of whether the condition in the if is true.]
b) if (c => 7)
System.out.println("c is equal to or greater than 7");
ANS: Error: The relational operator => is incorrect. Correction: Change => to >=.
2.5 Write declarations, statements or comments that accomplish each of the following tasks:
a) State that a program will calculate the product of three integers.
ANS: // Calculate the product of three integers
b) Create a Scanner called input that reads values from the standard input.
ANS: Scanner input = new Scanner(System.in);
c) Declare the variables x, y, z and result to be of type int.
ANS: int x, y, z, result;
or
int x;
int y;
int z;
int result;
d) Prompt the user to enter the first integer.
ANS: System.out.print("Enter first integer: ");
e) Read the first integer from the user and store it in the variable x.
ANS: x = input.nextInt();
f) Prompt the user to enter the second integer.
ANS: System.out.print("Enter second integer: ");
g) Read the second integer from the user and store it in the variable y.
ANS: y = input.nextInt();
h) Prompt the user to enter the third integer.
ANS: System.out.print("Enter third integer: ");
i) Read the third integer from the user and store it in the variable z.
ANS: z = input.nextInt();
j) Compute the product of the three integers contained in variables x, y and z, and assign
the result to the variable result.
ANS: result = x * y * z;
k) Use System.out.printf to display the message "Product is" followed by the value of
the variable result.
ANS: System.out.printf("Product is %d%n", result);
jhtp_02_IntroToApplications.FM Page 4 Sunday, May 18, 2014 9:41 PM

Exercises 4

2.6 Using the statements you wrote in Exercise 2.5, write a complete program that calculates
and prints the product of three integers.
ANS:

1 // Ex. 2.6: Product.java


2 // Calculate the product of three integers.
3 import java.util.Scanner; // program uses Scanner
4
5 public class Product
6 {
7 public static void main(String[] args)
8 {
9 // create Scanner to obtain input from command window
10 Scanner input = new Scanner(System.in);
11
12 int x; // first number input by user
13 int y; // second number input by user
14 int z; // third number input by user
15 int result; // product of numbers
16
17 System.out.print("Enter first integer: "); // prompt for input
18 x = input.nextInt(); // read first integer
19
20 System.out.print("Enter second integer: "); // prompt for input
21 y = input.nextInt(); // read second integer
22
23 System.out.print("Enter third integer: "); // prompt for input
24 z = input.nextInt(); // read third integer
25
26 result = x * y * z; // calculate product of numbers
27
28 System.out.printf("Product is %d%n", result);
29 } // end method main
30 } // end class Product

Enter first integer: 10


Enter second integer: 20
Enter third integer: 30
Product is 6000

Exercises
NOTE: Solutions to the programming exercises are located in the ch02solutions folder.
Each exercise has its own folder named ex02_## where ## is a two-digit number represent-
ing the exercise number. For example, exercise 2.14’s solution is located in the folder
ex02_14.
2.7 Fill in the blanks in each of the following statements:
a) are used to document a program and improve its readability.
ANS: Comments.
b) A decision can be made in a Java program with a(n) .
ANS: if statement.
c) Calculations are normally performed by statements.
ANS: assignment statements.
d) The arithmetic operators with the same precedence as multiplication are and
.
jhtp_02_IntroToApplications.FM Page 5 Sunday, May 18, 2014 9:41 PM

5 Chapter 2 Introduction to Java Applications; Input/Output and Operators

ANS: division (/), remainder (%)


e) When parentheses in an arithmetic expression are nested, the set of paren-
theses is evaluated first.
ANS: innermost.
f) A location in the computer’s memory that may contain different values at various times
throughout the execution of a program is called a(n) .
ANS: variable.
2.8 Write Java statements that accomplish each of the following tasks:
a) Display the message "Enter an integer: ", leaving the cursor on the same line.
ANS: System.out.print( "Enter an integer: " );
b) Assign the product of variables b and c to variable a.
ANS: a = b * c;
c) Use a comment to state that a program performs a sample payroll calculation.
ANS: // This program performs a simple payroll calculation.
2.9 State whether each of the following is true or false. If false, explain why.
a) Java operators are evaluated from left to right.
ANS: False. Some operators (e.g., assignment, =) evaluate from right to left.
b) The following are all valid variable names: _under_bar_, m928134, t5, j7, her_sales$,
his_$account_total, a, b$, c, z and z2.
ANS: True.
c) A valid Java arithmetic expression with no parentheses is evaluated from left to right.
ANS: False. The expression is evaluated according to operator precedence.
d) The following are all invalid variable names: 3g, 87, 67h2, h22 and 2h.
ANS: False. Identifier h22 is a valid variable name.
2.10 Assuming that x = 2 and y = 3, what does each of the following statements display?
a) System.out.printf("x = %d%n", x);
ANS: x = 2
b) System.out.printf("Value of %d + %d is %d%n", x, x, (x + x));
ANS: Value of 2 + 2 is 4
c) System.out.printf("x =");
ANS: x =
d) System.out.printf("%d = %d%n", (x + y), (y + x));
ANS: 5 = 5
2.11 Which of the following Java statements contain variables whose values are modified?
a) p = i + j + k + 7;
b) System.out.println("variables whose values are modified");
c) System.out.println("a = 5");
d) value = input.nextInt();
ANS: (a), (d).
2.12 Given that y = ax3 + 7, which of the following are correct Java statements for this equation?
a) y = a * x * x * x + 7;
b) y = a * x * x * (x + 7);
c) y = (a * x) * x * (x + 7);
d) y = (a * x) * x * x + 7;
e) y = a * (x * x * x) + 7;
f) y = a * x * (x * x + 7);
ANS: (a), (d), (e)
2.13 State the order of evaluation of the operators in each of the following Java statements, and
show the value of x after each statement is performed:
jhtp_02_IntroToApplications.FM Page 6 Sunday, May 18, 2014 9:41 PM

Exercises 6

a) x = 7 + 3 * 6 / 2 - 1;
ANS: *, /, +, -; Value of x is 15.
b) x = 2 % 2 + 2 * 2 - 2 / 2;
ANS: %, *, /, +, -; Value of x is 3.
c) x = (3 * 9 * (3 + (9 * 3 / (3))));
ANS: x = ( 3 * 9 * ( 3 + ( 9 * 3 / ( 3 ) ) ) );
4 5 3 1 2
Value of x is 324.
2.19 What does the following code print?
System.out.printf("*%n**%n***%n****%n*****%n");

ANS:

*
**
***
****
*****

2.20 What does the following code print?


System.out.println("*");
System.out.println("***");
System.out.println("*****");
System.out.println("****");
System.out.println("**");

ANS:

*
***
*****
****
**

2.21 What does the following code print?


System.out.print("*");
System.out.print("***");
System.out.print("*****");
System.out.print("****");
System.out.println("**");

ANS:

***************

2.22 What does the following code print?


System.out.print("*");
System.out.println("***");
jhtp_02_IntroToApplications.FM Page 7 Sunday, May 18, 2014 9:41 PM
jhtp_02_IntroToApplications.FM Page 8 Sunday, May 18, 2014 9:41 PM

7 Chapter 2 Introduction to Java Applications; Input/Output and Operators

System.out.println("*****");
System.out.print("****");
System.out.println("**");

ANS:

****
*****
******

2.23 What does the following code print?


System.out.printf("%s%n%s%n%s%n", "*", "***", "*****");

ANS:

*
***
*****
Other documents randomly have
different content
frightened voice crying out, “Monsieur, you are wanted; you are
wanted.” He sprang from table, saw the smoke rolling in volumes
from the top of the rock, ran up the steep ascent, reached the
seminary, and found an excited crowd making a prodigious outcry.
He shouted for carpenters. Four men came to him, and he set them
at work with such tools as they had to tear away planks and beams,
and prevent the fire from spreading to the adjacent parts of the
building; but, when he went to find others to help them, they ran
off. He set new men in their place, and these too ran off the moment
his back was turned. A cry was raised that the building was to be
blown up, on which the crowd scattered for their lives. Vasseur now
gave up the seminary for lost, and thought only of cutting off the fire
from the rear of the church, which was not far distant. In this he
succeeded, by tearing down an intervening wing or gallery. The walls
of the burning building were of massive stone, and by seven o’clock
the fire had spent itself. We hear nothing of the Dutch pump, nor
does it appear that the soldiers of the garrison made any effort to
keep order. Under cover of the confusion, property was stolen from
the seminary to the amount of about two thousand livres, which is
remarkable, considering the religious character of the building, and
the supposed piety of the people. “There were more than three
hundred persons at the fire," says Yasseur; “but thirty picked men
would have been worth more than the whole of them.” *
August, September, and October were the busy months at
Quebec. Then the ships from France discharged their lading, the
shops and warehouses of the Lower Town were filled with goods,
and the habitants came to town to make their purchases. When the
frosts began, the vessels sailed away, the harbor was deserted, the
streets were silent again, and like ants or squirrels the people set at
work to lay in their winter stores. Fathers of families packed their
cellars with beets, carrots, potatoes, and cabbages; and, at the end
of autumn, with meat, fowls, game, fish, and eels, all frozen to stony
hardness. Most of the shops closed, and the long season of leisure
and amusement began. New Year’s day brought visits and mutual
gifts. Thence till Lent dinner parties were frequent, sometimes
familiar and sometimes ceremonious. The governor’s little court at
the chateau was a standing example to all the aspiring spirits of
Quebec, and forms and orders of precedence were in some houses
punctiliously observed. There were dinners to the military and civic
dignitaries and their wives, and others, quite distinct, to prominent
citizens. The wives and daughters of the burghers of Quebec are
said to have been superior in manners to women of the
corresponding

* Vasseur au Ministre, 2-4 Nov., 1701. Like Denonville


before him, he urges the need of fire-buckets.

class in France. “They have wit,” says La Potherie, “delicacy, good


voices, and a great fondness for dancing. They are discreet, and not
much given to flirting; but when they undertake to catch a lover it is
not easy for him to escape the bands of Hymen.” *
So much for the town. In the country parishes, there was the
same autumnal stowing away of frozen vegetables, meat, fish, and
eels, and unfortunately the same surfeit of leisure through five
months of the year. During the seventeenth century, many of the
people were so poor that women were forced to keep at home from
sheer want of winter clothing. Nothing, however, could prevent their
running from house to house to exchange gossip with the neighbors,
who all knew each other, and, having nothing else to do, discussed
each other’s affairs with an industry which often bred bitter quarrels.
At a later period, a more general introduction of family weaving and
spinning served at once to furnish clothing and to promote domestic
peace.
The most important persons in a parish were the curé, the
seignior, and the militia captain. The seignior had his bench of honor
in the church. Immediately behind it was the bench of the militia
captain, whose duty it was to drill the able-bodied men of the
neighborhood, direct road-making and other public works, and serve
as deputy to the intendant, whose ordinances he was required to
enforce. Next in honor came the local judge any there was, and the
church-wardens.
* La Potherie. I. 279.

The existence of slavery in Canada dates from the end of the


seventeenth century. In 1688, the attorney-general made a visit to
Paris, and urged upon the king the expediency of importing negroes
from the West Indies as a remedy for the scarcity and dearness of
labor. The king consented, but advised caution, on the ground that
the rigor of the climate would make the venture a critical one. * A
number of slaves were brought into the colony; but the system
never flourished, the climate and other circumstances being hostile
to it. Many of the colonists, especially at Detroit and other outlying
posts, owned slaves of a remote Indian tribe, the Pawnees. The fact
is remarkable, since it would be difficult to find another of the wild
tribes of the continent capable of subjection to domestic servitude.
The Pawnee slaves were captives taken in war and sold at low prices
to the Canadians. Their market value was much impaired by their
propensity to run off.
It is curious to observe the views of the Canadians taken at
different times by different writers. La Hontan says, “They are
vigorous, enterprising, and indefatigable, and need nothing but
education. They are presumptuous and full of self-conceit, regard
themselves as above all the nations of the earth, and, unfortunately,
have not the veneration for their parents that they ought to have.
The women are generally pretty; few of them are

* Instruction au Sr. de Frontenac, 1689. On Canadian


slavery, see a long paper, l'Esclavage en Canada, published
by the Historical Society of Montreal.

brunettes; many of them are discreet, and a good number are


lazy. They are fond to the last degree of dress and show, and each
tries to outdo the rest in the art of catching a husband.” *
Fifty years later, the intendant Hocquart writes, “The Canadians
are fond of distinctions and attentions, plume themselves on their
courage, and are extremely sensitive to slights or the smallest
corrections. They are self-interested, vindictive, prone to
drunkenness, use a great deal of brandy, and pass for not being at
all truthful. This portrait is true of many of them, particularly the
country people: those of the towns are less vicious. They are all
attached to religion, and criminals are rare. They are volatile, and
think too well of themselves, which prevents their succeeding as
they might in farming and trade. They have not the rude and rustic
air of our French peasants. If they are put on their honor and
governed with justice, they are tractable enough; but their natural
disposition is indocile.” *
The navigator Bougainville, in the last years of the French rule,
describes the Canadian habitant as essentially superior to the French
peasant, and adds, “He is loud, boastful, mendacious, obliging, civil,
and honest; indefatigable in hunting, travelling, and bush-ranging,
but lazy in tilling the soil.” ***
The Swedish botanist, Kalm, an excellent observer, was in Canada
a few years before Bougainville,

* La Hontan, II. 81 (ed. 1709).

** Mémoire de 1736.

*** Mémoire de 1757, printed in Margry, Relations Inédites.

and sketches from life the following traits of Canadian manners.


The language is chat of the old English translation. “The men here
(at Montreal) are extremely civil, and take their hats off to every
person indifferently whom they meet in the streets. The women in
general are handsome; they are well bred and virtuous, with an
innocent and becoming freedom. They dress out very fine on
Sundays, and though on the other days they do not take much pains
with the other parts of their dress, yet they are very fond of
adorning their heads, the hair of which is always curled and
powdered and ornamented with glittering bodkins and aigrettes.
They are not averse to taking part in all the business of
housekeeping, and I have with pleasure seen the daughters of the
better sort of people, and of the governor (of Montreal) himself, not
too finely dressed, and going into kitchens and cellars to look that
every thing be done as it ought. What I have mentioned above of
their dressing their heads too assiduously is the case with all the
ladies throughout Canada. Their hair is always curled even when
they are at home in a dirty jacket, and short coarse petticoat that
does not reach to the middle of their legs. On those days when they
pay or receive visits they dress so gayly that one is almost induced
to think their parents possess the greatest honors in the state. They
are no less attentive to have the newest fashions, and they laugh at
each other when they are not dressed to each other’s fancy. One of
the first questions they propose to a stranger is, whether he is
married; the next, how he likes the ladies of the country, and
whether he thinks them handsomer than those of his own country;
and the third, whether he will take one home with him. The behavior
of the ladies seemed to me somewhat too free at Quebec, and of a
more becoming modesty at Montreal. Those of Quebec are not very
industrious. The young ladies, especially those of a higher rank, get
up at seven and dress till nine, drinking their coffee at the same
time. When they are dressed, they place themselves near a window
that opens into the street, take up some needlework and sew a
stitch now and then, but turn their eyes into the street most of the
time. When a young fellow comes in, whether they are acquainted
with him or not, they immediately lay aside their work, sit down by
him, and begin to chat, laugh, joke, and invent double-entendres,
and this is reckoned being very witty. In this manner they frequently
pass the whole day, leaving their mothers to do the business of the
house. They are likewise cheerful and content, and nobody can say
that they want either wit or charms. Their fault is that they think too
well of themselves. However, the daughters of people of all ranks
without exception go to market and carry home what they have
bought. The girls at Montreal are very much displeased that those at
Quebec get husbands sooner than they. The reason of this is that
many young gentlemen who come over from France with the ships
are captivated by the ladies at Quebec and marry them; but, as
these gentlemen seldom go up to Montreal, the girls there are not
often so happy as those of the former place." *
Long before Kalm’s visit, the Jesuit Charlevoix, a traveller and a
man of the world, wrote thus of Quebec in a letter to the Duchesse
de Lesdiguières: “There is a select little society here which wants
nothing to make it agreeable. In the salons of the wives of the
governor and of the intendant, one finds circles as brilliant as in
other countries.” These circles were formed partly of the principal
inhabitants, but chiefly of military officers and government officials,
with their families. Charlevoix continues, “Everybody does his part to
make the time pass pleasantly, with games and parties of pleasure;
drives and canoe excursions in summer, sleighing and skating in
winter. There is a great deal of hunting and shooting, for many
Canadian gentlemen are almost destitute of any other means of
living at their ease. The news of the day amounts to very little
indeed, as the country furnishes scarcely any, while that from
Europe comes all at once. Science and the fine arts have their turn,
and conversation does not fail. The Canadians breathe from their
birth an air of liberty, which makes them very pleasant in the
intercourse of life, and our language is nowhere more purely spoken.
One finds here no rich persons whatever, and this is a great pity; for
the Canadians like to get the credit of their money, and scarcely
anybody

* Kalm, Travels into North America, translated into English


by John Reinold Forster (London, 1771), 56, 282, etc.

amuses himself with hoarding it. They say it is very different with
our neighbors the English, and one who knew the two colonies only
by the way of living, acting, and speaking of the colonists would not
hesitate to judge ours the more flourishing. In New England and the
other British colonies, there reigns an opulence by which the people
seem not to know how to profit; while in New France poverty is
hidden under an air of ease which appears entirely natural. The
English colonist keeps as much and spends as little as possible: the
French colonist enjoys what he has got, and often makes a display
of what he has not got. The one labors for his heirs: the other leaves
them to get on as they can, like himself. I could push the
comparison farther; but I must close here: the king’s ship is about to
sail, and the merchant vessels are getting ready to follow. In three
days perhaps, not one will be left in the harbor.” * And now we, too,
will leave Canada. Winter draws near, and the first patch of snow lies
gleaming on the distant mountain of Cape Tourmente. The sun has
set in chill autumnal beauty, and the sharp spires of fir-trees on the
heights of Sillery stand stiff and black against the pure cold amber of
the fading west. The ship sails in the morning; and, before the old
towers of Rochelle rise in sight, there will be time to smoke many a
pipe, and ponder what we have seen on the banks of the St
Lawrence.

* Charlevoix. Journal Historique 80 (ed. 1744).


CHAPTER XXI. 1663-1763.
CANADIAN ABSOLUTISM.
Formation op Canadian Character.—The Rival Colonies.—England
and France.—New England.—Characteristics op Race.—Military
Qualities.—The Church.—The English Conquest.

N
ot institutions alone, but geographical position, climate, and
many other conditions unite to form the educational
influences that, acting through successive generations, shape
the character of nations and communities.
It is easy to see the nature of the education, past and present,
which wrought on the Canadians and made them what they were.
An ignorant population, sprung from a brave and active race, but
trained to subjection and dependence through centuries of feudal
and monarchical despotism, was planted in the wilderness by the
hand of authority, and told to grow and flourish. Artificial stimulants
were applied, but freedom was withheld. Perpetual intervention of
government, regulations, restrictions, encouragements sometimes
more mischievous than restrictions, a constant uncertainty what the
authorities would do next, the fate of each man resting less with
himself than with another, volition enfeebled, self-reliance paralyzed,
—the condition, in short, of a child held always under the rule of a
father, in the main well-meaning and kind, sometimes generous,
sometimes neglectful, often capricious, and rarely very wise,—such
were the influences under which Canada grew up. If she had
prospered, it would have been sheer miracle. A man, to be a man,
must feel that he holds his fate, in some good measure, in his own
hands.
But this was not all. Against absolute authority there was a
counter influence, rudely and wildly antagonistic. Canada was at the
very portal of the great interior wilderness. The St. Lawrence and
the Lakes were the highway to that domain of savage freedom; and
thither the disfranchised, half-starved seignior, and the discouraged
habitant who could find no market for his produce, naturally enough
betook themselves. Their lesson of savagery was well learned, and
for many a year a boundless license and a stiff-handed authority
battled for the control of Canada. Nor, to the last, were church and
state fairly masters of the field. The French rule was drawing
towards its close when the intendant complained that though
twenty-eight companies of regular troops were quartered in the
colony, there were not soldiers enough to keep the people in order. *
One cannot but remember that in a neighboring colony, far more
populous, perfect order prevailed, with no other

* Mémoire de 1736 (printed by the Historical Society of


Quebec).

guardians than a few constables chosen by the people themselves.


Whence arose this difference, and other differences equally
striking, between the rival colonies? It is easy to ascribe them to a
difference of political and religious institutions; but the explanation
does not cover the ground. The institutions of New England were
utterly inapplicable to the population of New France, and the
attempt to apply them would have wrought nothing but mischief.
There are no political panaceas, except in the imagination of political
quacks. To each degree and each variety of public development
there are corresponding institutions, best answering the public
needs; and what is meat to one is poison to another. Freedom is for
those who are fit for it. The rest will lose it, or turn it to corruption.
Church and state were right in exercising authority over a people
which had not learned the first rudiments of self-government. Their
fault was not that they exercised authority, but that they exercised
too much of it, and, instead of weaning the child to go alone, kept
him in perpetual leading-strings, making him, if possible, more and
more dependent, and less and less fit for freedom.
In the building up of colonies, England succeeded and France
failed. The cause lies chiefly in the vast advantage drawn by England
from the historical training of her people in habits of reflection,
forecast, industry, and self-reliance,—a training which enabled them
to adopt and maintain an invigorating system of self-rule, totally
inapplicable to their rivals.
The New England colonists were far less fugitives from oppression
than voluntary exiles seeking the realization of an idea. They were
neither peasants nor soldiers, but a substantial Puritan yeomanry,
led by Puritan gentlemen and divines in thorough sympathy with
them. They were neither sent out by the king, governed by him, nor
helped by him. They grew up in utter neglect, and continued neglect
was the only boon they asked. Till their increasing strength roused
the jealousy of the Crown, they were virtually independent; a
republic, but by no means a democracy. They chose their governor
and all their rulers from among themselves, made their own
government and paid for it, supported their own clergy, defended
themselves, and educated themselves. Under the hard and repellent
surface of New England society lay the true foundations of a stable
freedom,—conscience, reflection, faith, patience, and public spirit.
The cement of common interests, hopes, and duties compacted the
whole people like a rock of conglomerate; while the people of New
France remained in a state of political segregation, like a basket of
pebbles held together by the enclosure that surrounds them.
It may be that the difference of historical antecedents would alone
explain the difference of character between the rival colonies; but
there are deeper causes, the influence of which went far to
determine the antecedents themselves. The Germanic race, and
especially the Anglo-Saxon branch of it, is peculiarly masculine, and,
therefore, peculiarly fitted for self-government. It submits its action
habitually to the guidance of reason, and has the judicial faculty of
seeing both sides of a question. The French Celt is cast in a different
mould. He sees the end distinctly, and reasons about it with an
admirable clearness; but his own impulses and passions continually
turn him away from it. Opposition excites him; he is impatient of
delay, is impelled always to extremes, and does not readily sacrifice
a present inclination to an ultimate good. He delights in abstractions
and generalizations, cuts loose from unpleasing facts, and roams
through an ocean of desires and theories.
While New England prospered and Canada did not prosper, the
French system had at least one great advantage. It favored military
efficiency. The Canadian population sprang in great part from
soldiers, and was to the last systematically reinforced by disbanded
soldiers. Its chief occupation was a continual training for forest war;
it had little or nothing to lose, and little to do but fight and range the
woods. This was not all. The Canadian government was essentially
military. At its head was a soldier nobleman, often an old and able
commander, and those beneath him caught his spirit and emulated
his example. In spite of its political nothingness, in spite of poverty
and hardship, and in spite even of trade, the upper stratum of
Canadian society was animated by the pride and fire of that gallant
noblesse which held war as its only worthy calling, and prized honor
more than life. As for the habitant, the forest, lake, and river were
his true school; and here, at least, he was an apt scholar. A skilful
woodsman, a bold and adroit canoe-man, a willing fighter in time of
need, often serving without pay, and receiving from government
only his provisions and his canoe, he was more than ready at any
time for any hardy enterprise; and in the forest warfare of skirmish
and surprise there were few to match him. An absolute government
used him at will, and experienced leaders guided his rugged valor to
the best account.
The New England man was precisely the same material with that
of which Cromwell formed his invincible “Ironsides;” but he had very
little forest experience. His geographical position cut him off
completely from the great wilderness of the interior. The sea was his
field of action. Without the aid of government, and in spite of its
restrictions, he built up a prosperous commerce, and enriched
himself by distant fisheries, neglected by the rivals before whose
doors they lay. He knew every ocean from Greenland to Cape Horn,
and the whales of the north and of the south had no more
dangerous foe. But he was too busy to fight without good cause,
and when he turned his hand to soldiering it was only to meet some
pressing need of the hour. The New England troops in the early wars
were bands of raw fishermen and farmers, led by civilians decorated
with military titles, and subject to the slow and uncertain action of
legislative bodies. The officers had not learned to command, nor the
men to obey. The remarkable exploit of the capture of Louisburg,
the strongest fortress in America, was the result of mere audacity
and hardihood, backed by the rarest good luck.
One great fact stands out conspicuous in Canadian history,—the
Church of Rome. More even than the royal power she shaped the
character and the destinies of the colony. She was its nurse and
almost its mother; and, wayward and headstrong as it was, it never
broke the ties of faith that held it to her. It was these ties which, in
the absence of political franchises, formed under the old regime the
only vital coherence in the population. The royal government was
transient; the church was permanent. The English conquest
shattered the whole apparatus of civil administration at a blow, but it
left her untouched. Governors, intendants, councils, and
commandants, all were gone; the principal seigniors fled the colony;
and a people who had never learned to control themselves or help
themselves were suddenly left to their own devices. Confusion, if not
anarchy, would have followed but for the parish priests, who in a
character of double paternity, half spiritual and half temporal,
became more than ever the guardians of order throughout Canada.
This English conquest was the grand crisis of Canadian history. It
was the beginning of a new life. With England came Protestantism,
and the Canadian church grew purer and better in the presence of
an adverse faith. Material growth, an increased mental activity, an
education real though fenced and guarded, a warm and genuine
patriotism, all date from the peace of 1763. England imposed by the
sword on reluctant Canada the boon of rational and ordered liberty.
Through centuries of striving she had advanced from stage to stage
of progress, deliberate and calm, never breaking with her past, but
making each fresh gain the base of a new success, enlarging popular
liberties while bating nothing of that height and force of individual
development which is the brain and heart of civilization; and now,
through a hard-earned victory, she taught the conquered colony to
share the blessings she had won. A happier calamity never befell a
people than the conquest of Canada by the British arms.
*** END OF THE PROJECT GUTENBERG EBOOK FRANCE AND
ENGLAND IN NORTH AMERICA, PART IV: THE OLD RÉGIME IN
CANADA ***

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.

You might also like