(Ebook PDF) Introduction To Programming Using Visual Basic 10Th Edition PDF Download
(Ebook PDF) Introduction To Programming Using Visual Basic 10Th Edition PDF Download
https://ebooksecure.com/product/ebook-pdf-introduction-to-
programming-using-visual-basic-10th-edition/
https://ebooksecure.com/download/clearly-visual-basic-
programming-with-microsoft-visual-basic-2010-second-edition-
ebook-pdf/
http://ebooksecure.com/product/ebook-pdf-introduction-to-
programming-using-python-an-1/
http://ebooksecure.com/product/ebook-pdf-microsoft-visual-c-an-
introduction-to-object-oriented-programming-7th-edition/
https://ebooksecure.com/download/programming-with-microsoft-
visual-basic-2017-ebook-pdf/
Introduction to Java Programming, Comprehensive Version
10th edition- eBook PDF
https://ebooksecure.com/download/introduction-to-java-
programming-comprehensive-version-ebook-pdf/
https://ebooksecure.com/download/an-introduction-to-parallel-
programming-ebook-pdf/
https://ebooksecure.com/download/introduction-to-solid-modeling-
using-solidworks-2022-ebook-pdf-2/
http://ebooksecure.com/product/ebook-pdf-practices-of-looking-an-
introduction-to-visual-culture-3rd-edition/
http://ebooksecure.com/product/ebook-pdf-introduction-to-basic-
cardiac-dysrhythmias-5th-edition/
An Introduction to Programming
Using Visual Basic®
Tenth Edition
David I. Schneider
University of Maryland
Copyright © 2017, 2014, 2011, 2006 Pearson Education, Inc. All rights
reserved. Printed in the United States of America. This publication is
protected by Copyright, and permission should be obtained from the
publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical,
photocopying, recording, or likewise. For information regarding
permissions, request forms and the appropriate contacts within the Pearson
Education Global Rights & Permissions Department, please visit
www.pearsoned.com/permissions/.
The programs and applications presented in this book have been included
for their instructional value. They have been tested with care, but are not
guaranteed for any particular purpose. The publisher does not offer any
warranties or representations, nor does it accept any liabilities with respect
to the programs or applications.
10 9 8 7 6 5 4 3 2 1
www.visualstudio.com
http://www.pearsonhighered.com/cs-resources
These files are required for many of the book’s tutorials. Simply download
the Student Sample Program files to a location on your hard drive where
you can easily access them.
VideoNote Guide to VideoNotes
www.pearsonhighered.com/cs-resources
1. Textbox Walkthrough 22
2. Button Walkthrough27
3. Event Procedures 37
2. Variable Scope 82
3. Chapter 4 Decisions
2. If Blocks 122
6. Chapter 7 Arrays
3. LINQ 321
3. Graphics 491
3. Inheritance 581
Guide to Application Topics
Business and Economics
Admission fee, 164
APY, 142
Cost of electricity, 88
Municipal bonds, 92
Percentage markup, 69
Present value, 92
Price-to-earnings ratio, 89
Revenue, 156
Salary, 108
Sales commission, 91
Anagram, 332
Calendar, 412
GPA, 237
Palindrome, 288
Pizza consumption, 70
Proverbs, 238
Quasi-palindromes, 271
Speed of a car, 89
Stopwatch, 463
Supreme Court justices, 356, 357, 399, 400, 402, 411, 412
U.S. presidents, 140, 148, 159, 317, 324, 333, 402, 406, 410
U.S. states, 274, 275, 281–83, 304, 316, 321, 326, 333, 335, 354, 433,
436, 577
Water usage, 70
Mathematics
Areas of geometric shapes, 156
Average speed, 70
Calculate an average, 90, 138, 244, 270, 276, 303, 316, 319, 332, 333,
344, 372, 386, 567, 597
Convert speeds, 71
Factorization, 253
Gas mileage, 70
Blackjack, 601
Four-minute mile, 71
Pick-up-Sticks, 238
Powerball, 476
Triathlon, 88
3. Preface xii
4. MyProgrammingLab xvi
5. Acknowledgments xvii
1. Summary 52
1. 3.1 Numbers 54
2. 3.2 Strings 72
Discovering Diverse Content Through
Random Scribd Documents
so we may look at, first, the plant life of this period; second, animal life on the
land; and third, animal life in the waters and in the ocean depths.
The Mesozoic shores were clothed with an abundant flora, which changed
considerably in its form during the lapse of this long time; but yet it has a
character of its own distinct from that of the previous Palæozoic and the
succeeding Tertiary. Perhaps no feature of this period is more characteristic
than the great abundance of those singular plants, the cycads, which in the
modern flora are placed near to the pines, but in their appearance and habit
more resemble palms, and which in the modern world are chiefly found in the
tropical and warm temperate zones of Asia and America. No plants certainly of
this order occur in the Carboniferous, where their nearest allies are perhaps
some of the Sigillarise; and in the modern time the cycads are not so
abundant, nor do they occur at all in climates where their predecessors appear
to have abounded. In the quarries of the island of Portland, we have a
remarkable evidence of this in beds with numerous stems of cycads still in situ
in the soil in which they grew, and associated with stumps of pines which
seem to have flourished along with them. In further illustration of this point, I
may refer to the fact that Carruthers, in a recent paper, catalogues twenty-five
British species belonging to eight genera—a fact which markedly characterizes
the British flora of the Mesozoic period. These plants will therefore occupy a
prominent place in our restoration of the Mesozoic landscape, and we should
give especial prominence to the beautiful species Williamsonia gigas,
discovered by the eminent botanist whose name it bears, and restored in his
paper on the plant in the “Linnæan Transactions.” These plants, with pines and
gigantic equisetums, prevailed greatly in the earlier Mesozoic flora, but as the
time wore on, various kinds of endogens, resembling the palms and the screw-
pines of the tropical islands, were introduced, and toward its close some
representatives of the exogens very like our ordinary trees. Among these we
find for the first time in our upward progress in the history of the earth,
species of our familiar oaks, figs, and walnut, along with some trees now
confined to Australia and the Cape of Good Hope, as the banksias and “silver-
trees,” and their allies. In America a large number of the genera of the modern
trees are present, and even some of those now peculiar to America, as the
tulip-trees and sweet-gums. These forests of the later Mesozoic must therefore
have been as gay with flowers and as beautiful in foliage as those of the
modern world, and there is evidence that they swarmed with insect life.
Further, the Mesozoic plants produced in some places beds of coal comparable
in value and thickness to those of the old coal formation. Of this kind are the
coal beds of Brora in Sutherlandshire, those of Richmond in Virginia, and Deep
River in N. Carolina, those of Vancouver’s Island, and a large part of those of
China. To the same age have been referred some at least of the coal beds of
Australia and India. So important are these beds in China, that had geology
originated in that country, the Mesozoic might have been our age of coal.
If the forests of the Mesozoic present a great advance over those of the
Palæozoic, so do the animals of the land, which now embrace all the great
types of vertebrate life. Some of these creatures have left strange evidence of
their existence in their footprints on the sand and clay, now cemented into
beds of hard rock excavated by the quarryman. If we had landed on some
wide muddy Mesozoic shore, we might have found it marked in all directions
with animal footprints. Some of these are shaped much like a human hand.
The creature that made this mark was a gigantic successor of the crocodilian
newts or labyrinthodonts of the Carboniferous, and this type seems to have
attained its maximum in this period, where one species, Labyrinthodon
giganteus, had great teeth three or four inches in length, and presenting in
their cross section the most complicated foldings of enamel imaginable. But
we may see on the shores still more remarkable footprints. They indicate
biped and three-toed animals of gigantic size, with a stride perhaps six feet in
length. Were they enormous birds? If so, the birds of this age must have been
giants which would dwarf even our ostriches. But as we walk along the shore
we see many other impressions, some of them much smaller and different in
form. Some, again, very similar in other respects, have four toes; and, more
wonderful still, in tracing up some of the tracks, we find that here and there
the creature has put down on the ground a sort of four-fingered hand, while
some of these animals seem to have trailed long tails behind them. What were
these portentous creatures—bird, beast, or reptile? The answer has been
given to us by their bones, as studied by Yon Meyer and Owen, and more
recently by Huxley and Cope. We thus have brought before us the Dinosaurs—
the terrible Saurians—of the Mesozoic age, the noblest of the Tanninim of old.
These creatures constitute numerous genera and species, some of gigantic
size, others comparatively small;—some harmless browsers on plants, others
terrible renders of living flesh; but all remarkable for presenting a higher type
of reptile organization than any now existing, and approaching in some
respects to the birds and in others to the mammalia. Let us take one example
of each of the principal groups. And first marches before us the Iguanodon or
his relation Hadrosaurus—a gigantic biped, twenty feet or more in height, with
enormous legs shaped like those of an ostrich, but of elephantine thickness. It
strides along, not by leaps like a kangaroo, but with slow and stately tread,
occasionally resting, and supporting itself on the tripod formed by its hind
limbs and a huge tail, like the inverted trunk of a tree. The upper part of its
body becomes small and slender, and its head, of diminutive size and mild
aspect, is furnished with teeth for munching the leaves and fruits of trees,
which it can easily reach with its small fore-limbs, or hands, as it walks
through the woods. The outward appearance of these creatures we do not
certainly know. It is not likely that they had bony plates like crocodiles, but
they may have shone resplendent in horny scale armour of varied hues. But
another and more dreadful form rises before us. It is Megalosaurus or perhaps
Lælaps. Here we have a creature of equally gigantic size and biped habits; but
it is much more agile, and runs with great swiftness or advances by huge
leaps, and its feet and hands are armed with strong curved claws; while its
mouth has a formidable armature of sharp-edged and pointed teeth. It is a
type of a group of biped bird-like lizards, the most terrible and formidable of
rapacious animals that the earth has ever seen. Some of these creatures, in
their short deep jaws and heads, resembled the great carnivorous mammals of
modern times, while all in the structure of their limbs had a strange and
grotesque resemblance to the birds. Nearly all naturalists regard them as
reptiles; but in their circulation and respiration they must have approached to
the mammalia, and their general habit of body recalls that of the kangaroos.
They were no doubt oviparous; and this, with their biped habit, seems to
explain the strong resemblance of their hind quarters to those of birds. Had
we seen the eagle-clawed Lælaps rushing on his prey; throwing his huge bulk
perhaps thirty feet through the air, and crushing to the earth under his gigantic
talons some feebler Hadrosaur, we should have shudderingly preferred the
companionship of modern wolves and tigers to that of those savage and
gigantic monsters of the Mesozoic.
We must not leave the great land-lizards of the reptilian age, without some
notice of that Goliath of the race which, by a singular misnomer, has received
the appellation of Ceteosaurus or “Whale-Saurian.” It was first introduced to
naturalists by the discovery of a few enormous vertebrae in the English Oolite;
and as these in size and form seemed best to fit an aquatic creature, it was
named in accordance with this view. But subsequent discoveries have shown
that, incredible though this at first appeared, the animal had limbs fitted for
walking on the land. Professor Phillips has been most successful in collecting
and restoring the remains of Ceteosaurus, and devotes to its history a long
and interesting section of his “Geology of Oxford.” The size of the animal may
be estimated, from the fact that its thigh-bone is sixty-four inches long, and
thick in proportion. From this and other fragments of the skeleton, we learn
that this huge monster must have stood ten feet high when on all fours, and
that its length, could not have been less than fifty feet; perhaps much more.
From a single tooth, which has been found, it seems to have been
herbivorous; and it was probably a sort of reptilian Hippopotamus, living on
the rich herbage by the sides of streams and marshes, and perhaps sometimes
taking to the water, where the strokes of its powerful tail would enable it to
move more rapidly than on the land. In structure, it seems to have been a
composite creature, resembling in many points the contemporary Dinosaurs;
but in others, approaching to the crocodiles and the lizards.
But the wonders of Mesozoic reptiles are not yet exhausted. While noticing
numerous crocodiles and lizard: like creatures, and several kinds of tortoises,
we are startled by what seems a flight of great bats, wheeling and screaming
overhead, pouncing on smaller creatures of their own kind, as hawks seize
sparrows and partridges, and perhaps diving into the sea for fish. These were
the Pterodactyles, the reptile bats of the Mesozoic. They fly by means of a
membrane stretched on a monstrously enlarged little finger, while the other
fingers of the fore limb are left free to be used as hands or feet. To move
these wings, they had large breast-muscles like those of birds. In their general
structure, they were lizards, but no doubt of far higher organization than any
animals of this order now living; and in accordance with this, the interior of
their skull shows that they must have had a brain comparable with that of
birds, which, they rivalled in energy and intelligence. Some of them were
larger than the largest modern birds of prey, others were like pigeons and
snipes in size. Specimens in the Cambridge Museum indicate one species
twenty feet in the expanse of its wings. Cope has recently described an equally
gigantic species from the Mesozoic of Western America, and fragments of
much larger species are said to exist.[AE] Imagine such a creature, a flying
dragon, with vast skinny wings, its body, perhaps, covered with scales, both
wings and feet armed with strong claws, and with long jaws furnished with
sharp teeth. Nothing can be conceived more strange and frightful. Some of
them had the hind limbs long, like wading birds. Some had short, legs,
adapted perhaps for perching. They could probably fold up their wings, and
walk on all fours. Their skeleton, like that of birds, was very light, yet strong;
and the hollow bones have pores, which show that, as in birds, air could be
introduced into them from the lungs. This proves a circulation resembling that
of birds, and warm blood. Indeed, in many respects, these creatures bridge
over the space between the birds and the reptiles. “That they lived,” says
Seeley, "exclusively upon land or in the air is improbable, considering the
circumstances under which their remains are found. It is likely that they
haunted the sea-shores; and while sometimes rowing themselves over the
water with their powerful wings, used the wing membrane, as does the bat, to
encloses the prey and bring it to the mouth. The large Pterodactyles probably
pursued a more substantial prey than dragon-flies. Their teeth were well
suited for fish; but probably fowl and small mammal, and even fruits, made a
variety in their food. As the lord of the cliff, it may be supposed to have taken
toll of all animals that could be conquered with tooth and nail. From its brain,
it might be regarded as an intelligent animal. The jaws present indications of
having been sheathed with a horny covering, and some species show a rugose
anterior termination of the snout, suggestive of fleshy lips like those of the
bat, and which may have been similarly used to stretch and clean the wing-
membrane."
[AE] Seeley: “Ornithosauria.”
Here, however, perched on the trees, we see true birds. At least they have
beaks, and are clothed with feathers. But they have very strange wings, the
feathers all secondaries, without any large quills, and several fingers with
claws at the angle of the wing, so that though less useful as wings, they
served the double purpose of wing and hand. More strange still, the tail was
long and flexible, like that of a lizard, with the feathers arranged in rows along
its sides. If the lizards of this strange and uncertain time had wings like bats,
the birds had tails and hands like lizards. This was in short the special age of
reptiles, when animals of that class usurped the powers which rightfully
belonged to creatures yet in their nonage, the true birds and mammals of our
modern days, while the birds were compelled to assume some reptilian traits.
Yet, strange to say, representatives of the higher creatures destined to
inherit the earth at a later date actually existed. Toward the close of the
Mesozoic we find birds approaching to those of our own day, and almost at the
beginning of the time there were small mammals, remains of which are found
both in the earlier and later formations of the Mesozoic, but which never seem
to have thriven; at least so far as the introduction of large and important
species is concerned. Traversing the Mesozoic woods, we might see here and
there little hairy creatures, which would strike a naturalist as allies of the
modern bandicoots, kangaroo rats, and myrmecobius of Australia; and closer
study would confirm this impression, though showing differences of detail. In
their teeth, their size, and general form, and probably in their pouched or
marsupial reproduction, these animals were early representatives of the
smaller quadrupeds of the Austral continent, creatures which are not only
small but of low organisation in their class.
One of these mammals, known to us only by its teeth, and well named
Microlestes, the “little thief” sneaks into existence, so to speak, in the Trias of
Europe, while another very similar, Dromatherium, appears in rocks of similar
age in America; and this is the small beginning of the great class Mammalia,
destined in its quadrupedal forms to culminate in the elephants and their
contemporaries in the Tertiary period. Who that saw them trodden under foot
lay the reptile aristocracy of the Mesozoic could have divined their destiny?
But, notwithstanding the struggle for existence, the weakest does not always
“go to the wall.” The weak things of this world are often chosen to confound
those that are mighty; and the little quadrupeds of the Mesozoic are an
allegory. They may typify the true, the good, and the hopeful, mildly and
humbly asserting themselves in the world that now is, in the presence of the
dragon monsters of pride and violence, which in the days to come they will
overthrow. Physically the Mesozoic has passed away, but still exists morally in
an age of evil reptiles, whose end is as certain as that of the great Dinosaurs
of the old world.
The Mesozoic mammals are among the most interesting fossils known to
us. In a recent memoir by Professor Owen, thirty-three species are indicated—
all, or nearly all, Marsupial—all small—all closely allied to modern Australian
animals; some herbivorous, some probably carnivorous. Owen informs us that
these animals are not merely marsupials, but marsupials of low grade, a point
in which, however, Huxley differs somewhat in opinion. They are at least not
lower than some that still exist, and not so low as those lowest of mammals in
Modern Australia, the duck-billed platypus and the echidna. Owen further
supposes that they were possibly the first mammals, and not only the
predecessors but the progenitors of the modern marsupials. If so, we have the
singular fact that they not only did not improve throughout the vast Mesozoic
time, but that they have been in the progress of subsequent geological ages
expelled out of the great eastern continent, and, with the exception of the
American opossums, banished, like convicts, to Australia. Yet, notwithstanding
their multiplied travels and long experiences, they have made little advance. It
thus seems that the Mesozoic mammals were, from the evolutionist point of
view, a decided failure, and the work of introducing mammals had to be done
over again in the Tertiary; and then, as we shall find, in a very different way. If
nothing more, however, the Mesozoic mammals were a mute prophecy of a
better time, a protest that the age of reptiles was an imperfect age, and that
better things were in store for the world. Moses seems to have been more
hopeful of them than Owen or even Huxley would have been. He says that
God “created” the great Tanninim, the Dinosaurs and their allies, but only
“made” the mammals of the following creative day; so that when Microlestes
and his companions quietly and unnoticed presented themselves in the
Mesozoic, they would appear in some way to have obviated, in the case of the
tertiary mammals, the necessity of a repetition of the greater intervention
implied in the word “create.” How that was effected none of us know; but,
perhaps, we may know hereafter.
CHAPTER IX.
CHAPTER X.
This fact leads us naturally to consider in the second place the mammalia,
and other land animals of the Tertiary. At the beginning of the period we meet
with that higher group of mammals, not pouched, which now prevails. Among
the oldest of these Tertiary beasts are Coryphodon, an animal related to the
Modern Tapirs, and Arctocyon, a creature related to the bears and racoons.
These animals represent respectively the Pachyderms, or thick-skinned
mammals, and the ordinary Carnivora. Contemporary with or shortly
succeeding these, were species
representing the Rodents, or
gnawing animals, and many other
creatures of the group
Pachydermata, allied to the Modern
Tapirs and Hogs, as well as several
additional carnivorous quadrupeds.
Thus at the very beginning of the
Tertiary period we enter on the age
of mammals, It may be well,
however, to take these animals
somewhat in chronological order.
If the old Egyptian, by quarrying
the nummulite limestone, bore FORAMINIFERAL ROCK-BUILDERS.
unconscious testimony to the recent A. Nummulites lævigata—Eocene.
origin of man (whose remains are B. The same, showing chambered
wholly absent from the Tertiary interior.
deposits), so did the ancient Britons C. Milioline limestone, magnified—
and Gauls, when they laid the first Eocene, Paris.
rude foundations of future capitals D. Hard Chalk, section magnified—
on the banks of the Thames and of Cretaceous.
the Seine. Both cities lie in basins of
Eocene Tertiary, occupying hollows
in the chalk. Under London there is principally a thick bed of clay, the “London
clay” attaining a thickness of five hundred feet. This bed is obviously marine,
containing numerous species of sea shells; but it must have been deposited
near land, as it also holds many fossil fruits and other remains of plants to
which we shall refer in the sequel, and the bones of several species of large
animals. Among these the old reptiles of the Mesozoic are represented by the
vertebrae of a supposed “sea snake” (Palæophis) thirteen feet long, and
species of crocodile allied both to the alligators and the gavials. But besides
these there are bones of several animals allied to the hog and tapir, and also a
species of opossum, These remains must be drift carcases from neighbouring
shores, and they show first the elevation of the old deep-sea bottom
represented by the chalk, so that part of it became dry land; next, the
peopling of that land by tribes of animals and plants unknown to the Mesozoic;
and lastly, that a warm climate must have existed, enabling England at this
time to support many types of animals and plants now proper to intertropical
regions. As Lyell well remarks, it is most interesting to observe that these beds
belong to the beginning of the Tertiary, that they are older than those great
nummulite limestones to which we have referred, and that they are older than
the principal mountain chains of Europe and Asia. They show that no sooner
was the Cretaceous sea dried from off the new land, than there were
abundance of animals and plants ready to occupy it, and these not the
survivors of the flora and fauna of the Wealden, but a new creation. The
mention of the deposit last named places this in a striking light. We have seen
that the Wealden beds, under the chalk, represent a Mesozoic estuary, and in
it we have the remains of the animals and plants of the land that then was.
The great Cretaceous subsidence intervened, and in the London clay we have
an estuary of the Eocene. But if we pass through the galleries of a museum
where these formations are represented, though we know that both existed in
the same locality under a warm climate, we see that they belong to two
different worlds, the one to that of the Dinosaurs, the Ammonites, the Cycads,
and the minute Marsupials of the Mesozoic, the other to that of the
Pachyderms, the Palms, and the Nautili of the Tertiary.
The London clay is lower Eocene; but in the beds of the Isle of Wight and
neighbouring parts of the South of England, we have the middle and upper
members of the series. They are not, however, so largely developed as in the
Paris basin, where, resting on the equivalent of the London clay, we have a
thick marine limestone, the Calcaire Grossier, abounding in marine remains,
and in some beds composed of shells of foraminifera. The sea in which this
limestone was deposited, a portion no doubt of the great Atlantic area of the
period, became shallow, so that beds of sand succeeded those of limestone,
and finally it was dried up into lake basins, in which gypsum, magnesian
sediments, and siliceous limestone were deposited. These lakes or ponds must
at some period have resembled the American “salt-licks,” and were no doubt
resorted to by animals from all the surrounding country in search of the saline
mud and water which they afforded. Hence in some marly beds intervening
between the layers of gypsum, numerous footprints occur, exactly like those
already noticed in the Trias. Had there been a Nimrod in those days to watch
with bow or boomerang by the muddy shore, he would have seen herds of
heavy short-legged and three-hoofed monsters (Palæotherium), with large
heads and long snouts, probably scantily covered with sleek hair, and closely
resembling the Modern Tapirs of South America and India, laboriously wading
through the mud, and grunting with indolent delight as they rolled themselves
in the cool saline slime. Others more light and graceful, combining some
features of the antelope with those of the Tapir (Anoplotherium) ran in herds
over the drier ridges, or sometimes timidly approached the treacherous clay,
tempted by the saline waters. Other creatures representing the Modern
Damans or Conies—“feeble folk” which, with the aspect of hares, have the
Welcome to Our Bookstore - The Ultimate Destination for Book Lovers
Are you passionate about testbank and eager to explore new worlds of
knowledge? At our website, we offer a vast collection of books that
cater to every interest and age group. From classic literature to
specialized publications, self-help books, and children’s stories, we
have it all! Each book is a gateway to new adventures, helping you
expand your knowledge and nourish your soul
Experience Convenient and Enjoyable Book Shopping Our website is more
than just an online bookstore—it’s a bridge connecting readers to the
timeless values of culture and wisdom. With a sleek and user-friendly
interface and a smart search system, you can find your favorite books
quickly and easily. Enjoy special promotions, fast home delivery, and
a seamless shopping experience that saves you time and enhances your
love for reading.
Let us accompany you on the journey of exploring knowledge and
personal growth!
ebooksecure.com