Introduction To Java Programming Comprehensive Version 10th Edition Liang Test Bank
Introduction To Java Programming Comprehensive Version 10th Edition Liang Test Bank
com
http://testbankbell.com/product/introduction-to-java-
programming-comprehensive-version-10th-edition-liang-test-
bank/
OR CLICK BUTTON
DOWLOAD EBOOK
https://testbankbell.com/product/test-bank-for-introduction-to-
java-programming-and-data-structures-comprehensive-version-12th-
edition-y-daniel-liang/
https://testbankbell.com/product/solution-manual-for-
introduction-to-java-programming-and-data-structures-
comprehensive-version-12th-edition-y-daniel-liang/
https://testbankbell.com/product/solution-manual-for-
introduction-to-java-programming-brief-version-11th-edition-y-
daniel-liang/
https://testbankbell.com/product/test-bank-for-introduction-to-
java-programming-comprehensive-version-9-e-9th-
edition-0133050572/
Test Bank for Intro to Java Programming, Comp Version,
10/E 10th Edition : 0133813460
https://testbankbell.com/product/test-bank-for-intro-to-java-
programming-comp-version-10-e-10th-edition-0133813460/
https://testbankbell.com/product/solution-manual-for-intro-to-
java-programming-comp-version-10-e-10th-edition-0133813460/
https://testbankbell.com/product/solutions-manual-to-accompany-
introduction-to-java-programming-9th-edition/
https://testbankbell.com/product/solution-manual-for-revel-for-
introduction-to-python-programming-and-data-structures-y-daniel-
liang/
https://testbankbell.com/product/introduction-to-programming-
using-visual-basic-10th-edition-schneider-solutions-manual/
chapter2.txt
Introduction to Java Programming Comprehensive
Version 10th Edition Liang Test Bank
full chapter at: https://testbankbell.com/product/introduction-to-java-
programming-comprehensive-version-10th-edition-liang-test-bank/
Chapter 2 Elementary Programming
a. input.nextInt();
b. input.nextInteger();
c. input.int();
d. input.integer();
Key:a
#
2. The following code fragment reads in two numbers:
a. Enter an integer, a space, a double value, and then the Enter key.
b. Enter an integer, two spaces, a double value, and then the Enter key.
c. Enter an integer, an Enter key, a double value, and then the Enter key.
d. Enter a numeric value with a decimal point, a space, an integer, and then the
Enter key.
Key:abc
#
6. is the code with natural language mixed with Java code.
a. Java program
b. A Java statement
c. Pseudocode
d. A flowchart diagram
key:c
#
3. If you enter 1 2 3, when you run this program, what will be the output?
Page 1
import java.util.Scanner; chapter2.txt
Page 2
chapter2.txt
double number1 = input.nextDouble();
double number2 = input.nextDouble();
double number3 = input.nextDouble();
// Compute average
double average = (number1 + number2 + number3) / 3;
// Display result
System.out.println(average);
}
}
a. 1.0
b. 2.0
c. 3.0
d. 4.0
Key:b
#
4. What is the exact output of the following code?
a. 3.53.5
b. 3.5 3.5
c. area3.5
d. area 3.5
Key:c
#
Section 2.4 Identifiers
4. Every letter in a Java keyword is in lowercase?
a. true
b. false
Key:a
#
5. Which of the following is a valid identifier?
a. $343
b. class
c. 9X
d. 8+9
e. radius
Key:ae
Page 3
chapter2.txt
Section 2.5 Variables
6. Which of the following are correct names for variables according to Java
naming conventions?
a. radius
b. Radius
c. RADIUS
d. findArea
e. FindArea
Key:ad
#
7. Which of the following are correct ways to declare variables?
a. int length; int width;
b. int length, width;
c. int length; width;
d. int length, int width;
Key:ab
#
Section 2.6 Assignment Statements and Assignment Expressions
8. is the Java assignment operator.
a. ==
b. :=
c. =
d. =:
Key:c
#
9. To assign a value 1 to variable x, you write
a. 1 = x;
b. x = 1;
c. x := 1;
d. 1 := x;
e. x == 1;
Key:b
#
10. Which of the following assignment statements is incorrect?
a. i = j = k = 1;
b. i = 1; j = 1; k = 1;
c. i = 1 = j = 1 = k = 1;
d. i == j == k == 1;
Key:cd
#
Section 2.7 Named Constants
11. To declare a constant MAX_LENGTH inside a method with value 99.98, you write
a. final MAX_LENGTH = 99.98;
Page 4
chapter2.txt
b. final float MAX_LENGTH = 99.98;
c. double MAX_LENGTH = 99.98;
d. final double MAX_LENGTH = 99.98;
Key:d
#
12. Which of the following is a constant, according to Java naming conventions?
a. MAX_VALUE
b. Test
c. read
d. ReadInt
e. COUNT
Key:ae
#
13. To improve readability and maintainability, you should declare
instead of using literal values such as 3.14159.
a. variables
b. methods
c. constants
d. classes
Key:c
#
Section 2.8 Naming Conventions
60. According to Java naming convention, which of the following names can be
variables?
a. FindArea
b. findArea
c. totalLength
d. TOTAL_LENGTH
e. class
Key:bc
#
Section 2.9 Numeric Data Types and Operations
14. Which of these data types requires the most amount of memory?
a. long
b. int
c. short
d. byte
Key:a
#
34. If a number is too large to be stored in a variable of the float type, it
.
a. causes overflow
b. causes underflow
Page 5
chapter2.txt
c. causes no error
d. cannot happen in Java
Key:a
#
15. Analyze the following code:
#
16. What is the result of 45 / 4?
a. 10
b. 11
c. 11.25
d. 12
Key:b 45 / 4 is an integer division, which results in 11
#
18. Which of the following expression results in a value 1?
a. 2 % 1
b. 15 % 4
c. 25 % 5
d. 37 % 6
Key:d 2 % 1 is 0, 15 % 4 is 3, 25 % 5 is 0, and 37 % 6 is 1
#
19. 25 % 1 is
a. 1
b. 2
c. 3
d. 4
Page 6
chapter2.txt
e. 0
Key:e
#
20. -25 % 5 is
a. 1
b. 2
c. 3
d. 4
e. 0
Key:e
#
21. 24 % 5 is
a. 1
b. 2
c. 3
d. 4
e. 0
Key:d
#
22. -24 % 5 is
a. -1
b. -2
c. -3
d. -4
e. 0
Key:d
#
23. -24 % -5 is
a. 3
b. -3
c. 4
d. -4
e. 0
Key:d
#
30. Math.pow(2, 3) returns .
a. 9
b. 8
c. 9.0
d. 8.0
Key:d It returns a double value 8.0.
Page 7
chapter2.txt
30. Math.pow(4, 1 / 2) returns .
a. 2
b. 2.0
c. 0
d. 1.0
e. 1
Key:d Note that 1 / 2 is 0.
#
30. Math.pow(4, 1.0 / 2) returns .
a. 2
b. 2.0
c. 0
d. 1.0
e. 1
Key:b Note that the pow method returns a double value, not an integer.
#
31. The method returns a raised to the power of b.
a. Math.power(a, b)
b. Math.exponent(a, b)
c. Math.pow(a, b)
d. Math.pow(b, a)
Key:c
#
Section 2.10 Numeric Literals
15. To declare an int variable number with initial value 2, you write
a. int number = 2L;
b. int number = 2l;
c. int number = 2;
d. int number = 2.0;
Key:c
#
32. Analyze the following code.
Page 8
chapter2.txt
digit. An octal digit is 0, 1, 2, 3, 4, 5, 6, or 7.
#
15. Which of the following are the same as 1545.534?
a. 1.545534e+3
b. 0.1545534e+4
c. 1545534.0e-3
d. 154553.4e-2
Key:abcd
#
Section 2.11 Evaluating Expressions and Operator Precedence
24. The expression 4 + 20 / (3 - 1) * 2 is evaluated to
a. 4
b. 20
c. 24
d. 9
e. 25
Key:c
#
Section 2.12 Case Study: Displaying the Current Time
58. The System.currentTimeMillis() returns .
a. the current time.
b. the current time in milliseconds.
c. the current time in milliseconds since midnight.
d. the current time in milliseconds since midnight, January 1, 1970.
e. the current time in milliseconds since midnight, January 1, 1970 GMT (the
Unix time).
Key:e
#
24. To obtain the current second, use .
a. System.currentTimeMillis() % 3600
b. System.currentTimeMillis() % 60
c. System.currentTimeMillis() / 1000 % 60
d. System.currentTimeMillis() / 1000 / 60 % 60
e. System.currentTimeMillis() / 1000 / 60 / 60 % 24
Key:c
#
24. To obtain the current minute, use .
a. System.currentTimeMillis() % 3600
b. System.currentTimeMillis() % 60
c. System.currentTimeMillis() / 1000 % 60
d. System.currentTimeMillis() / 1000 / 60 % 60
e. System.currentTimeMillis() / 1000 / 60 / 60 % 24
Key:d
Page 9
chapter2.txt
#
24. To obtain the current hour in UTC, use _.
a. System.currentTimeMillis() % 3600
b. System.currentTimeMillis() % 60
c. System.currentTimeMillis() / 1000 % 60
d. System.currentTimeMillis() / 1000 / 60 % 60
e. System.currentTimeMillis() / 1000 / 60 / 60 % 24
Key:e
#
Section 2.13 Augmented Assignment Operators
24. To add a value 1 to variable x, you write
a. 1 + x = x;
b. x += 1;
c. x := 1;
d. x = x + 1;
e. x = 1 + x;
Key:bde
#
25. To add number to sum, you write (Note: Java is case-sensitive)
a. number += sum;
b. number = sum + number;
c. sum = Number + sum;
d. sum += number;
e. sum = sum + number;
Key:de
#
26. Suppose x is 1. What is x after x += 2?
a. 0
b. 1
c. 2
d. 3
e. 4
Key:d
#
27. Suppose x is 1. What is x after x -= 1?
a. 0
b. 1
c. 2
d. -1
e. -2
Key:a
Page 10
chapter2.txt
28. What is x after the following statements?
int x = 2;
int y = 1;
x *= y + 1;
a. x is 1.
b. x is 2.
c. x is 3.
d. x is 4.
Key:d
#
29. What is x after the following statements?
int x = 1;
x *= x + 1;
a. x is 1.
b. x is 2.
c. x is 3.
d. x is 4.
Key:b
#
29. Which of the following statements are the same?
(A) x -= x + 4
(B) x = x + 4 - x
(C) x = x - (x + 4)
#
Section 2.14 Increment and Decrement Operators
21. Are the following four statements equivalent?
number += 1;
number = number + 1;
number++;
++number;
a. Yes
b. No
Key:a
Page 11
chapter2.txt
#
34. What is i printed?
public class Test {
public static void main(String[] args) {
int j = 0;
int i = ++j + j * 5;
#
35. What is i printed in the following code?
#
36. What is y displayed in the following code?
Page 12
chapter2.txt
c. y is 3.
d. y is 4.
Key:c When evaluating x++ + x, x++ is evaluated first, which does two things: 1.
returns 1 since it is post-increment. x becomes 2. Therefore y is 1 + 2.
#
37. What is y displayed?
#
Section 2.15 Numeric Type Conversions
38. To assign a double variable d to a float variable x, you write
a. x = (long)d
b. x = (int)d;
c. x = d;
d. x = (float)d;
Key:d
#
17. Which of the following expressions will yield 0.5?
a. 1 / 2
b. 1.0 / 2
c. (double) (1 / 2)
d. (double) 1 / 2
e. 1 / 2.0
Key:bde 1 / 2 is an integer division, which results in 0.
#
39. What is the printout of the following code:
double x = 5.5;
int y = (int)x;
System.out.println("x is " + x + " and y is " + y);
a. x is 5 and y is 6
b. x is 6.0 and y is 6.0
Page 13
chapter2.txt
c. x is 6 and y is 6
d. x is 5.5 and y is 5
e. x is 5.5 and y is 5.0
Key:d The value is x is not changed after the casting.
#
40. Which of the following assignment statements is illegal?
a. float f = -34;
b. int t = 23;
c. short s = 10;
d. int t = (int)false;
e. int t = 4.5;
Key:de
#
41. What is the value of (double)5/2?
a. 2
b. 2.5
c. 3
d. 2.0
e. 3.0
Key:b
#
42. What is the value of (double)(5/2)?
a. 2
b. 2.5
c. 3
d. 2.0
e. 3.0
Key:d
#
43. Which of the following expression results in 45.37?
a. (int)(45.378 * 100) / 100
b. (int)(45.378 * 100) / 100.0
c. (int)(45.378 * 100 / 100)
d. (int)(45.378) * 100 / 100.0
Key:b
#
43. The expression (int)(76.0252175 * 100) / 100 evaluates to .
a. 76.02
b. 76
c. 76.0252175
d. 76.03
Key:b In order to obtain 76.02, you have divide 100.0.
Page 14
chapter2.txt
#
44. If you attempt to add an int, a byte, a long, and a double, the result will
be a value.
a. byte
b. int
c. long
d. double
Key:d
#
Section 2.16 Software Life Cycle
1. is a formal process that seeks to understand the problem and
system’s input and output. When you do analysis, it helps to identify what the
output is first, and then figure out what input data you need in order to produce
the output.
a. Requirements specification
b. Analysis
c. Design
d. Implementation
e. Testing
Key:b
#
0. Any assignment statement can be used as an assignment expression.
a. true
b. false
Key:a
#
1. You can define a constant twice in a block.
a. true
b. false
Key:b
#
44. are valid Java identifiers.
a. $Java
b. _RE4
Page 15
Another random document with
no related content on Scribd:
That they acted, even in a political view, in the very best manner
that their circumstances admitted, is, I think, demonstrable. They
showed to the people that it was not the fleece but the flock that
had been the object of their care, and imprinted upon their minds a
sense of the worth of the truth for which they were contending,
beyond what they could have done in any other manner; and that
truth was one written as with a sunbeam throughout the whole New
Testament—that Christ is the king and head of his church, and that
whatever form of church government does not acknowledge this, is
essentially antichristian. It is not less evident, that the prelatists, as
well as the papists, gave that dignity and power to another; and the
solemn and universal testimony which so many godly men lifted up
at once against acknowledging such unholy usurpation, has not lost
its effect even unto this day—an effect it never could have had, had
the ministers resisted and allowed themselves to have been thrust
out one by one.
From Glasgow, Middleton and his Episcopalian reformadoes
pursued their route, confirming their churches in the south, through
Galloway as far as Wigton; and, upon the last day of October,
returned to Holyrood-house.
On his arrival, the Commissioner was assailed by what was to him
unexpected intelligence, that the whole south and west were thrown
into confusion; and, enraged to find that both the archbishop and
himself had so entirely miscalculated, he expressed his astonishment
at the unaccountable conduct of the “madmen” with a volley of
oaths and execrations—the now fashionable dialect of the court—
and, on the first meeting of council, caused letters be sent off
express to his lordship and the primate, requesting their presence
and advice. Meanwhile, they proceeded in the usual course of
endeavouring to intimidate the humbler refractory by their rigour to
the more eminent. Mr Hugh M’Kail, chaplain to Sir James Stewart of
Kirkfield, a youth of high promise, was forced into voluntary exile
because he had defended in a sermon what he considered the
scriptural mode of church government. Mr John Brown of Wamphrey,
well known by his historical, controversial, and practical writings, not
less respected for his piety than for his learning, having reproved
some ministers for attending the Archbishop of Glasgow’s diocesan
synod, styling them perjured, was banished to Holland—at that time
the asylum of the persecuted; there he remained for many years,
and, by his seasonable publications, strengthened the hands of the
sufferers in his native land, and proved a thorn in the side of their
tyrannical government.
Mr John Livingston, more honoured of God as the means of
converting sinners to Christ than almost any minister of the church
of Scotland since the Reformation, then minister at Ancrum, because
he would not promise to observe the 29th of May as an holyday, nor
take the oath of allegiance without any explanation, was subjected
to a like punishment, as were Messrs Robert Traill of Edinburgh,
Neave of Newmills, and Gardner of Saddle. Mr Livingston, in the true
spirit of a Christian patriot, after sentence was pronounced, thus
replied—“Well! although it be not permitted me to breathe my native
air, yet into whatsoever part of the world I may go, I shall not cease
to pray for a blessing to these lands, to his majesty, the government,
and the inferior magistrates thereof; but especially for the land of
my nativity!” In the same excellent spirit, having been denied the
privilege of paying a farewell visit to his wife, children, and people,
he addressed a pastoral letter to the flock of Jesus Christ in Ancrum.
Their sins and his own, he told them, had drawn down this severe
stroke; and, while it was their part to search out and mourn for
them, “it is not needful,” he adds, “to look much to instruments, I
have from my heart forgiven them all, and would wish you to do the
like, and pray for them that it be not laid to their charge. For my
part, I bless his name I have great peace in the matter of my
sufferings. I need not repeat, you know my testimony of the things
in controversy:—Jesus Christ is a king, and only hath power to
appoint the officers and government of his house. It is a fearful
thing to violate the oath of God, and fall into the hands of the living
God. It could not well be expected,” he proceeds to remark, and the
remark is applicable in all similar cases when religion has been in
repute among a people—“there having been so fair and so general a
profession throughout the land, but that the Lord would put men to
it; and it is like it shall come to every man’s door, that, when every
one according to their inclination, may have acted their part—and he
seems to stand by—He may come at last and act his part, and
vindicate his glory and truth. I have often showed you that it is the
greatest difficulty under heaven to believe that there is a God and a
life after this; and have often told you that, for my part, I could
never make it a chief part of my work to insist upon the particular
debates of the time, as being assured that if a man drink in the
knowledge and the main foundations of the Christian religion, and
have the work of God’s spirit in his heart to make him walk with
God, and make conscience of his ways, such an one shall not readily
mistake Christ’s quarrel, to join either with a profane atheist party or
a fanatic party. There may be diversity of judgment, and sometimes
sharp debates among them that are going to heaven; but, certainly,
a spirit guides the seed of the woman, and another spirit the seed of
the serpent.”
Several of lesser note were treated with not much less harshness,
being ordered to confinement in distant places of the country,
without the means of subsistence, and debarred from preaching in
the rugged and barren districts to which they were banished.
Such, however, was the outcry the wide desolation of the church
had occasioned, that the council were convinced they had acted with
unwise precipitation, and endeavoured in some measure to retrace
their steps. The author of the mischief, Fairfoul, though repeatedly
called upon, does not appear to have assisted their deliberations,
which were protracted, till the month of December, when a
proclamation was issued, extending the time allowed ministers for
procuring presentations and collocation to the 1st of February, but
ordering those who neglected to do so to remove from their parishes
and presbyteries; and such of them as belonged to the dioceses of
St Andrews and Edinburgh, to go into banishment beyond the Tay.
The older ministers, who had not been touched by the Glasgow act,
and had hitherto remained exercising their parochial duties among
their people, because they had not attended the diocesan meetings,
were confined to their parishes. The people who left the hirelings
intruded upon them, travelling sometimes twenty miles to hear the
gospel, were now ordered to attend their parish churches, under a
penalty of twenty shillings for every day’s absence; and because in
those places where the ministers, in view of separation from their
flocks, had celebrated the sacrament of the Lord’s Supper to
multitudes assembled from the surrounding districts—and much of
the divine presence had appeared among them—these were
stigmatized as unlicentiate confluences of the people; and the
discourses delivered under such circumstances, with more than
ordinary fervour, and accompanied with more than ordinary power,
abused as the extravagant sermons of some ministers of unquiet
and factious spirits—special engines to debauch people from their
duty, and lead them to disobedience, schism, and rebellion:
therefore every incumbent was prohibited from employing more than
one or two of his neighbours at a communion without a license from
the bishop, or admitting the people of any other parish to participate
of the sacrament without a certificate from his curate.
This was the last of Middleton’s acts in Scotland. His rival,
Lauderdale, had so well employed the access he had to the king to
undermine his influence, that he was called to court to answer
charges of having encroached upon the royal prerogative by the
balloting act, and defrauded the royal treasury by appropriating the
fines. While the affair was under discussion, Lauderdale procured an
order to delay levying the fines due the first term and dismiss the
collector. Middleton, who saw that this was a deadly blow at his
interest in Scotland, countermanded the royal letter upon alleged
verbal authority, which Charles either never gave, or found it
convenient to disown; and this completed his ruin. His rashness and
inconsideration were too palpable to be denied; but, by the interest
of his friends, Clarendon and the Bishop of London, his fall was
softened, and he was sent into a kind of honourable banishment as
governor of Tangiers. There he continued to indulge his habits of
intemperance, and, falling down a stair in a fit of intoxication, broke
his right arm so severely, that the bone protruded through the flesh,
and, penetrating his side, a mortification ensued, which terminated
his life.
Middleton, who never appears to have had any serious religion,
was the friend of Lord Clarendon—a statesman bigoted to
Episcopacy, rather on account of its political than its spiritual
advantages—and employed by him for rearing in Scotland, upon the
ruins of Presbytery, which he detested, an establishment more in
accordance with those high notions of the prerogative which,
notwithstanding the melancholy example of the first Charles, were
adopted and cherished by the court of his son. Well calculated for
carrying through the most despotic measures by force, he must be
acquitted of the mean duplicity of Charles’s letter to the ministers of
Edinburgh, the obloquy of which rests upon the crafty politics of
Sharpe. When first shown it, he considered it as opposed to
Episcopacy, and expressed his regret; but when told that, upon
rescinding all the laws in favour of Presbytery, then Episcopacy
remained the church government settled by law, he observed, “that
might be done; but for his part he was not fond of making his
majesty’s first appearance in Scotland to be in the character of a
cheat.” Once, however, fairly embarked, he never hesitated, and
concurred with the bishops in their every project, however
treacherous or oppressive. He first overturned the Presbyterian
church government, which had been settled under as solemn
sanctions, and as strong legal guarantees, as can ever possibly be
devised to secure any religious establishment, and then sent to the
scaffold, from motives of avarice and revenge, the noblest
ornaments of that religion, whose only crime was, adhering to a
profession he himself had, with uplifted hand, sworn to support.
In council, he unwarrantably extended the tyrannical acts of his
servile parliament, and wantonly laid waste hundreds of peaceable
and flourishing congregations. With a cunning worthy the priesthood
of Rome, he invited numbers of unsuspecting ministers from distant
parts of the country to Edinburgh, as if to consult them on the
affairs of the church, then ensnared them by insidious questions,
and punished their unsuspecting simplicity with deprivation,
imprisonment, and exile. Without any shadow of law, and without
the form of a trial, he turned ministers from their congregations—
prohibited them from preaching, praying, or expounding the
Scriptures, and sent them to the most distant corners of the land, or
forced them to seek an asylum in foreign countries—then intruded
on the desolated parishes worthless and incapable hirelings—and
concluded his career by commanding the people to attend upon their
ministrations under a severe and oppressive penalty. His own
expatriation to the barren coast of Africa was looked upon by the
sufferers as a righteous retribution, and his melancholy end as an
evident mark of divine displeasure; nor could the coincidence
between his own rash imprecation and the manner of his death fail
to strike the most careless. Like many other political hypocrites, with
a zeal as furious as false, he had sworn and subscribed the
covenants when it was the fashion of the time to do so; and, on
retiring from the place where he had taken these vows upon him, he
said to some of those who were with him, “that that was the
pleasantest day he had ever seen; and if ever he should do any
thing against that blessed work, he had been engaging in,” holding
up his right arm, “he wished that it might be his death!” The
enormous fines he imposed, he never was empowered to exact;
and, in return for impoverishing his country, he died an exile and a
beggar.
Lauderdale having succeeded in removing his formidable
antagonist, from thenceforth for a number of years almost solely
directed Scottish affairs. The Presbyterians, who believed that he
was secretly attached to their cause, anticipated better days under
his protection; but ambition was his master-passion, and to it he was
prepared to sacrifice all his early attachments and principles. While
religion appeared the only road to power in the state, he had been
foremost in the ranks of the covenanters; and, by the warmth of his
professions, and the consistency of his conduct, had gained the
confidence of those who were sincerely devoted to the cause; but
when the path of preferment on Charles’s restoration struck off in an
opposite direction, he deserted to the prelates, and evinced the
sincerity of his change by at once forsaking his sobriety of manners,
and apostatizing from his form of religion; and, as he understood
well the principles he betrayed, and at one time certainly had strong
convictions of their truth, his opposition was proportionably
inveterate, and he became outrageously furious at whatever tended
to remind him of his former “fanaticism.”
BOOK IV.
37. “Through excessive blood-letting and other detestable means used by his
wicked physician, Doctor Bates, who they say was hired either to poison or
distract him, and partly through melancholy, he had in a manner wholly lost
his memory.” Kirkton’s Hist. p. 170. Mr C. K. Sharpe, the editor, thinks his
mental imbecility was occasioned in some measure by fear, and quotes a
passage from one of Lord Middleton’s letters to Primrose. “He pretends to
have lost his memory,” &c. “He is the most timorous person ever I did see in
my life,” &c. Note. But it was not to be expected that Middleton would allude
in the most distant manner to any thing that could be supposed to
countenance in the least the then general belief.