Professional Documents
Culture Documents
C++ Programming From Problem Analysis To Program Design 8th Edition Malik Test Bank 1
C++ Programming From Problem Analysis To Program Design 8th Edition Malik Test Bank 1
Chapter 7
Chapter 7
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 469
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:40 PM
DATE MODIFIED: 10/5/2016 1:40 PM
Chapter 7
7. The following statement creates an anonymous type:
Chapter 7
DATE CREATED: 10/5/2016 1:40 PM
DATE MODIFIED: 10/5/2016 1:40 PM
The statement:
Chapter 7
ANSWER: b
POINTS: 1
REFERENCES: 474
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:40 PM
DATE MODIFIED: 10/5/2016 1:40 PM
16. In C++, you can create aliases to a previously defined data type by using the ____ statement.
a. typedef b. using
c. namespace d. alias
ANSWER: a
POINTS: 1
REFERENCES: 477
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
Female. Male.
F . 32.—Cockroaches.
It will be interesting to separate the gizzard from the crop (c) and
stomach (v) and break it open with a couple of needles, so as to examine
the teeth, which will be more easily made out if the opened organ be
allowed to soak for a time in a solution of caustic potash.
Similar teeth-like processes are found in the gizzards of many other
Insects, and their presence has given rise to some strange ideas.
Swammerdam[20] says, ‘I preserve also the threefold stomach of a locust,
which is very like the stomach of animals that chew the cud, and
particularly has that part of the stomach called Echinus[21] very distinctly
visible. I do not, therefore, doubt but locusts chew the cud, as well as the
animals just mentioned. Indeed, I persuade myself that I have seen this.’
Somewhat similar teeth-like processes exist in the Lobster, the Crab,
and the Crayfish. ‘Professor Plateau has expressed a strong opinion that
neither in the stomach of Crustacea nor in the gizzard of Insects have the
so-called teeth any masticatory character.’ He adopts Swammerdam’s
comparison, but considers them strainers, not dividers of the food[22].
We may be fortunate enough to meet with some specimens of the
American Cockroach (Periplane´ta america´na, Fig. 36), a much larger
species, which has established itself in some few places in this country.
At the Zoological Gardens, Regent’s Park, it is abundant, and has almost,
if not entirely, driven out the common form. Mr. Bartlett believes that it
was introduced in cases in which animals have been sent over from
America. Both sexes are winged. They not only possess organs of flight,
but use them. If one visits the Gardens, there will be no difficulty in
getting specimens; and it is interesting to compare the points of
agreement in and of difference between this animal and our common
form.
F . 36.—American Cockroach (male).
From the illustration we may understand how the Earwig opens and
closes its wings. From the point a veins, which are thickened about
halfway down, radiate to the hinder edge of the wing, and a little beyond
the thickening they are connected by a vein which runs parallel with the
hinder edge. These radiating veins are brought together, so that there is a
fan-like closing, like that of the Cockroach, but from a different centre.
The wing is then folded back at the place where the veins are thickened,
and then there is a second transverse fold at the point a, so that the only
part of the wing now visible is the leathery patch, which projects beyond
the wing-case when the wing is tucked away.
It is not difficult to unfold the wing of a dead specimen, under water,
using a needle and fine brush. Mr. E. A. Butler[25] recommends a simple
but excellent plan for unfolding and preserving the wing, by gumming it,
with the upper surface downwards, to a piece of card, and gradually
unfolding it and fastening it down. This is not so easy as it may seem,
but with patience and perseverance success will be obtained; and a
similar method may be adopted with the wings of other Insects, which
may be mounted in this way without any trouble. Thus they may be
easily preserved for examination at a future time, or for comparison with
the wings of other Insects.
It is rather remarkable that an insect like the Common Earwig, which
very rarely takes to flight, should have such a complex method of folding
its wings. Dr. Sharp says that though the Earwig ‘is scarcely surpassed in
numbers by any British insect, yet it is rarely seen on the wing. It is
probable that the majority of individuals of this species may never make
use of their organs of flight, or go through the complex process of
folding and unfolding them.’
Let us choose our next example from the Leaping Orthop´tera. They
may be distinguished at a glance from their relatives that run, but do not
leap, by the peculiar structure of the third pair of legs. These are much
longer and stouter than the other two pairs, and the thigh is very
muscular. This insect is a very good type of the family Locus´tidae, to
which, however, none of the insects popularly called ‘locusts’ belong.
They are included in another family (Acridi´idae), where the common
British Grasshoppers are also placed. The Locustids and the true locusts
may be distinguished by the difference in their antennae: in the latter
these organs are short, in the former they are very long and delicate.
The Great Green Grasshopper (Locus´ta viridis´sima) (Fig. 39) is
fairly common all over the country, but often escapes observation from
the fact that its hue corresponds so nearly to that of the foliage on or
among which it lives. One specimen taken in a Devonshire lane gave me
a great deal of trouble before it was secured and transferred to a small
tube. It was perched on a leaf when I first saw it, and as I approached it
leaped away. Though I was certain it had not gone far, it was some little
time before I discovered it, and got near enough to grasp leaf and insect,
in time to prevent the latter from taking another jump.
This insect may be kept alive in confinement for a considerable time,
and will do fairly well on a diet of leaves and fruit, though it will not
refuse an occasional meal of flesh. Dr. Sharp says that a specimen in
confinement ‘mastered a humble-bee, extracted with its mandibles the
honey-bag, and ate this dainty, leaving the other parts of the bee
untouched.’ It is said that if two be placed together in a box they will
fight most desperately, and that the victor will make a meal off the body
of its victim. De Geer witnessed a case of this kind in a closely allied
species that is found in Sweden. Its specific name signifies ‘wart-eater,’
and commemorates the fact that the peasants incite these insects to bite
their warts, firmly believing that warts once bitten speedily disappear,
and do not grow again. Westwood says that one of these insects actually
devoured part of its own leg that had been broken off accidentally. When
the creature was seen at night the detached leg was whole; in the
morning about half of it had been eaten.
F . 39.—Great Green Grasshopper (female).
F . 45.—Water Boatman.
Active as the Water Boatman is, it often falls a victim to the Water
Scorpion, if both are kept in the same aquarium. I learnt this fact by
experience, for having put two Water Boatmen into a small tank in which
was a Water Scorpion, I found both the former dead in the morning. It
was evident that their destroyer had had a good meal.
The only point to which attention need be called in examining the
Water Boatman is its method of taking in a supply of air. In looking at a
dead specimen we shall see a ridge or keel running down the middle of
the under side of the abdomen, and fringed with hair on each side. A
similar fringe runs along each side of the abdomen, thus forming two
passages along which the air taken in at the end of the body is conveyed
to the spiracles, the largest of which are on the thorax.
Corixa (Fig. 47) swims with its back uppermost, and when kept in the
aquarium may generally be seen foraging for small creatures—larvae or
worms—among the sediment at the bottom. Bateman, who kept a
number of these insects, says that he fed his specimens on garden worms
and pieces of raw meat. Mine have always foraged for themselves, and
done very well without feeding. They may often be seen to rub the short
fore-legs alternately across the front of the head, probably for the
purpose of producing a call-note. I have often watched them at this
practice, but have never been able to detect any sound. The defect is
evidently in my sense of hearing, for the sounds rest on undoubted
authority, and are coincident with the rubbing of the fore-legs across the
head.
F . 47.—Corixa, with wings expanded.