Professional Documents
Culture Documents
Invitation To Computer Science 8th Edition Ebook PDF
Invitation To Computer Science 8th Edition Ebook PDF
LEVEL 5 Applications 636
Chapter 13 Simulation and
Modeling 638
Chapter 14 Ecommerce, Databases,
and Data Science 670
Chapter 15 Artificial Intelligence 712
Chapter 16 Computer Graphics and
Entertainment: Movies,
Games, and Virtual
Communities 758
Online Chapters
This text includes five language-specific online-only downloadable
chapters on Ada, C++, C#, Java, and Python, available on the com-
panion site for this text (www.cengage.com) and in MindTap.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202 vii
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
viii Contents
Practice Problems 51
Special Interest Box: From Little Primitives Mighty
Algorithms Grow 60
2.3 Examples of Algorithmic Problem Solving 60
2.3.1 Example 1: Go Forth and Multiply 60
Practice Problems 61
Practice Problems 64
2.3.2 Example 2: Looking, Looking,
Looking 65
Laboratory Experience 2 70
2.3.3 Example 3: Big, Bigger, Biggest 70
Practice Problems 76
Laboratory Experience 3 76
2.3.4 Example 4: Meeting Your Match 77
Special Interest Box: Hidden Figures 84
2.4 Conclusion 84
Practice Problems 85
EXERCISES 86
CHALLENGE WORK 89
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents xiii
Online Chapters
This text includes five language-specific online-only downloadable
chapters on Ada, C++, C#, Java, and Python, available on the com-
panion site for this text (www.cengage.com) and in MindTap.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xiv Contents
Practice Problems 600
12.4 A Model of an Algorithm 602
12.5 Turing Machine Examples 604
12.5.1 A Bit Inverter 605
Practice Problems 607
12.5.2 A Parity Bit Machine 607
12.5.3 Machines for Unary Incrementing 610
Practice Problem 610
12.5.4 A Unary Addition Machine 614
Practice Problems 616
Laboratory Experience 16 616
12.6 The Church–Turing Thesis 617
Special Interest Box: The Turing Award 618
12.7 Unsolvable Problems 621
Special Interest Box: Couldn’t Do, Can’t Do, Never
Will Be Able to . . . 626
Practice Problems 626
Laboratory Experience 17 627
12.8 Conclusion 627
12.9 Summary of Level 4 628
EXERCISES 629
CHALLENGE WORK 633
LEVEL 5 Applications 636
Chapter 13 Simulation and Modeling 638
Introduction 638
13.1
Computational Modeling 639
13.2
Introduction
13.2.1 to Systems and Models 639
Computational
13.2.2 Models, Accuracy,
and Errors 642
13.2.3 An Example of Model Building 644
Practice Problems 653
Laboratory Experience 18 654
13.3 Running the Model and Visualizing Results 654
13.4 Conclusion 664
Special Interest Box: The Mother of All
Computations! 664
EXERCISES 665
CHALLENGE WORK 667
Decisions, Decisions 673
14.2.1
Anatomy of a Transaction 675
14.2.2
Special Interest Box: A Rose by Any Other Name. . . 677
14.2.3 Designing Your Website 680
Special Interest Box: Less Is More 682
14.2.4 Behind the Scenes 682
Practice Problems 683
14.2.5 Other Ecommerce Models 683
14.2.6 Electronic Payment Systems 685
Special Interest Box: Blockchain: A New Revolution? 687
14.3 Databases 688
14.3.1 Data Organization 688
14.3.2 Database Management Systems 690
14.3.3 Other Considerations 696
Special Interest Box: SQL, NoSQL, NewSQL 697
Practice Problems 698
Laboratory Experience 19 699
14.4 Data Science 699
14.4.1 Tools 700
Special Interest Box: Algorithm Bias 703
Practice Problem 704
14.4.2 Personal Privacy 704
Special Interest Box: What Your Smartphone
Photo Knows 705
14.4.3 For the Greater Good 706
14.5 Conclusion 707
EXERCISES 708
CHALLENGE WORK 711
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents xvii
Practice Problems 739
15.5.5 The Games We Play 739
15.6 Robots and Drones 744
15.6.1 Robots 744
Special Interest Box: Wait—Where Am I? 746
15.6.2 Drones 749
15.7 Conclusion 751
EXERCISES 752
CHALLENGE WORK 754
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xviii Contents
17.2.2 Case
2: Legalized Snooping—Privacy vs.
Security 801
Special Interest Box: Hero or Traitor? 803
Practice Problems 809
Case 3: Hackers—Public Enemies
17.2.3
or Gadflies? 809
Practice Problems 815
17.2.4 Case 4: Genetic Information
and Medical Research 815
Special Interest Box: Professional Codes of Conduct 821
17.3 Personal Privacy and Social Media 822
Practice Problems 826
17.4 Fake News, Politics, and Social Media 827
17.5 Conclusion 830
17.6 Summary of Level 6 830
EXERCISES 831
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Preface to the Eighth
Edition
Overview
This text is intended for a one-semester introductory course in computer
science. It presents a broad-based overview of the discipline that assumes
no prior background in computer science, programming, or mathematics. It
would be appropriate for a college or university service course for students
not majoring in computer science, as well as for schools that implement
their first course for majors using a breadth-first approach that surveys the
fundamental aspects of computer science. It would be highly suitable for
a high school computer science course, especially the AP Computer Sci-
ence Principles course created by the College Board in cooperation with
the National Science Foundation and colleges and universities around the
United States.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202 xix
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xx Preface to the Eighth Edition
productivity software. They have been using word processors and search
engines since elementary school and are familiar with social media, online
retailing, and email; many have designed webpages and even manage their
own websites and blogs. In today’s world, a course that focuses on comput-
ing applications would be of little or no interest.
But a more important reason for rethinking the structure of the CS 0
service course, and the primary reason why we authored this book, is the
following observation:
Most computer science service courses do not teach students the foun-
dations and fundamental concepts of computer science!
We believe that students in a computer science service course should receive
a solid grounding in the fundamental concepts of the discipline, just as
introductory courses in biology, physics, and geology present the central
concepts of their fields. Topics in a breadth-first computer science service
course would not be limited to “fun” applications such as webpage creation,
blogging, game design, and interactive graphics, but would also cover foun-
dational issues such as algorithms, abstraction, hardware, computer organi-
zation, system software, language models, and the social and ethical issues
of computing. An introduction to these core ideas exposes students to the
overall richness and beauty of the field and allows them not only to use
computers and software effectively, but also to understand and appreciate
the basic ideas underlying the discipline of computer science and the cre-
ation of computational artifacts. As a side benefit, students who complete
such a course will have a much better idea of what a major or a minor in
computer science will entail.
This last point was the primary reason for the development of the AP
Computer Science Principles high school course, which is quite similar to
the breadth-first overview model just described. By learning about the field
in its entirety, rather than seeing only the small slice of it called “program-
ming,” high school students will be in a better position to decide if computer
science is a subject they wish to study when they begin college.
A Hierarchy of Abstractions
The central theme of this book is that computer science is the study of
algorithms. Our hierarchy utilizes this definition by initially looking at the
algorithmic foundations of computer science and then moving upward from
this central theme to higher-level issues such as hardware, systems, software,
applications, and ethics.
The six levels in our computer science hierarchy are:
Level 1. The Algorithmic Foundations of Computer Science
Level 2. The Hardware World
Level 3. The Virtual Machine
Level 4. The Software World
Level 5. Applications
Level 6. Social Issues in Computing
Level 1
Following an introductory chapter, Level 1 (Chapters 2–3) introduces “The
Algorithmic Foundations of Computer Science,” the bedrock on which all
other aspects of the discipline are built. It presents fundamental ideas such as
the design of algorithms, algorithmic problem solving, abstraction, pseudo-
code, and iteration and illustrates these ideas using well-known examples. It
also introduces the concepts of algorithm efficiency and asymptotic growth
and demonstrates that not all algorithms are, at least in terms of running
time, created equal.
The discussions in Level 1 assume that our algorithms are executed by
something called a “computing agent,” an abstract concept for any entity
that can carry out the instructions in our solution.
Level 2
However, in Level 2 (Chapters 4–5), “The Hardware World,” we want our
algorithms to be executed by “real” computers to produce “real” results.
Thus begins our discussion of hardware, logic design, and computer orga-
nization. The initial discussion introduces the basic building blocks of com-
puter systems—binary numbers, Boolean logic, gates, and circuits. It then
shows how these elementary concepts can be combined to construct a real
computer using the Von Neumann architecture, composed of processors,
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xxii Preface to the Eighth Edition
Level 3
This complexity is the motivation for the material contained in Level 3
(Chapters 6–8), “The Virtual Machine.” This section describes how system
software is used to create a user-friendly, user-oriented problem-solving
environment that hides many of the ugly hardware details just described.
Level 3 looks at the same problems discussed in Level 2, encoding and
executing algorithms, but shows how this can be done easily in a virtual
environment containing helpful tools like a graphical user interface, editors,
language translators, file systems, and debuggers. This section discusses the
services and responsibilities of the operating system and how it has evolved.
It investigates one of the most important virtual environments in current
use, computer networks, and shows how technologies such as Ethernet, the
Internet, and the web link together independent systems via transmission
media and communications software. This creates a virtual environment in
which we seamlessly and transparently use not only the computer on our
desk or in our hand, but also computing devices located around the world.
This transparency has progressed to the point where we can now use sys-
tems located “in the cloud” without regard for where they are, how they
provide their services, and even whether they exist as real physical entities.
Level 3 concludes with a look at one of the most important services provided
by a virtual machine, namely information security, and describes algorithms
for protecting the user and the system from accidental or malicious damage.
Level 4
Once we have created this powerful user-oriented virtual environment, what
do we want to do with it? Most likely we want to write programs to solve
interesting problems. This is the motivation for Level 4 (Chapters 9–12), “The
Software World.” Although this book should not be viewed as a program-
ming text, it contains an overview of the features found in modern procedural
programming languages. This gives students an appreciation for the inter-
esting and challenging task of the computer programmer and the power of
the problem-solving environment created by a modern high-level language.
(More detailed introductions to five important high-level programming lan-
guages are available via online, downloadable chapters accessible through
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Preface to the Eighth Edition xxiii
Level 5
We now have a high-level programming environment in which it is possible
to write programs to solve important problems. In Level 5 (Chapters 13–16),
“Applications,” we take a look at some important uses of computers. There is
no way to cover more than a fraction of the many applications of computers
and information technology in a single section. We have included applica-
tions drawn from the sciences and engineering (simulation and modeling),
business and finance (ecommerce, databases, data science), the social sci-
ences (artificial intelligence), and everyday life (computer-generated imag-
ery, video gaming, virtual communities). Our goal is to show students that
these applications are not “magic boxes” whose inner workings are totally
unfathomable. Rather, they are the direct result of building upon the core
concepts of computer science presented in the previous chapters.
Level 6
Finally, we reach the highest level of study, Level 6 (Chapter 17), “Social
Issues in Computing,” which addresses the social, ethical, moral, and legal
issues raised by pervasive computer technology. This section, based on con-
tributions by Professor Bo Brinkman of Miami University, examines issues
such as the theft of intellectual property, national security concerns, the
erosion of personal privacy, and the political impact of the proliferation of
fake news distributed using social media. This chapter does not attempt to
provide easy solutions to these many-faceted problems. Instead, it focuses
on techniques that students can use to think about ethical issues and reach
their own conclusions. Our goal in this final section is to make students
aware of the enormous impact that information technology is having on our
society and to give them tools for making informed decisions.
This, then, is the hierarchical structure of our text. It begins with the
algorithmic foundations of the discipline and works its way from lower-
level hardware concepts through virtual machine environments, high-level
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-202
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Another random document with
no related content on Scribd:
“Sooner or later she may,” the young woman said, still with the
thoughtful air upon her. “But I am as much in the dark about this
query as anybody—perhaps as the boys themselves.”
“Humph!” muttered the major. “Which of them likes her the better?”
“And that I’d like to know,” said his sister earnestly. “There is
another thing, Dorothy: Which of my sons is destined to fall in love
with this very, very pretty girl you have invited here—Jennie
Hapgood, I mean?”
“Oh! they’re all doing it, are they?” grunted the major. “How about
our Dorothy? Where does she come in? No mate for her?”
“I think I shall probably become an old maid,” Dorothy Dale said,
but with a conscious flush that made her aunt watch her in a puzzled
way for some time.
But the major put back his head and laughed delightedly. “No
more chance of your remaining a spinster—when you are really old
enough to be called one—than there is of my leading troops into
battle again,” he declared with warmth. “Hey, Sister?”
“Our Dorothy is too attractive I am sure to escape the chance to
marry, at least,” said Aunt Winnie, still watching her niece with
clouded gaze. “I wonder whence the right knight will come riding—
from north, or south, east or west?”
And in spite of herself Dorothy flushed up again at her aunt’s last
word.
It was a question oft-repeated in Dorothy Dale’s mind during the
following days, this one regarding the state of mind of her two
cousins and her two school friends.
It had always seemed to Dorothy, whenever she had thought of it,
that one of her cousins, either Ned or Nat, must in the end be
preferred by Tavia. To think of Tavia’s really settling down to caring
for any other man than Ned or Nat, was quite impossible.
On the other hand, the boys had both shown a great fondness for
the society of Jennie Hapgood when they were all at her home in
Pennsylvania such a short time previous; and now that all four were
together again Dorothy could not guess “which was which” as Tavia
herself would have said.
The boys did not allow Dorothy to be overlooked in any particular.
She was not neglected in the least; yet she did, as the days passed,
find more time to spend with her father and with her Aunt Winnie.
“The little captain is getting more thoughtful. She is steadying
down,” the major told Mrs. White.
“But I wonder why?” was that good woman’s puzzled response.
Dorothy Dale sitting by herself with a book that she was not
reading or with fancywork on which she only occasionally took
stitches, was entirely out of her character. She had never been this
way before going to New York, Mrs. White was sure.
There were several uncertainties upon the girl’s mind. One of them
almost came to light when, after ten days, her letter addressed to
“Mr. Garford Knapp, Desert City,” was returned to her by the post-
office department, as instructed in the upper left-hand corner of the
envelope.
Her letter, warning Garry Knapp of the advantage the real estate
men wished to take of him, would, after all, do him no good. He
would never know that she had written. Perhaps her path and Garry
Knapp’s would never cross again.
CHAPTER XIII
DOROTHY MAKES A DISCOVERY
“After that scare I’m afraid the boys will have to go without a bird
dog,” Tavia said that night as she and Dorothy were brushing their
hair before the latter’s dressing-glass.
Tavia and Jennie and Ned and Nat were almost inseparable during
the daytime; but when the time came to retire the flyaway girl had to
have an old-time “confab,” as she expressed it, with her chum.
Dorothy was so bright and so busy all day long that nobody
discovered—not even the major—that she was rather “out of it.” The
two couples of young folk sometimes ran away and left Dorothy busy
at some domestic task in which she claimed to find much more
interest than in the fun her friends and cousins were having.
“It would have been a terrible thing if the poor dog had bitten one
of us,” Dorothy replied. “Dr. Agnew, the veterinary, says without
doubt it was afflicted with rabies.”
“And how scared your Aunt Winnie was!” Then Tavia began to
giggle. “She will be so afraid of anything that barks now, that she’ll
want all the trees cut down around the house.”
“That pun is unworthy of you, my dear,” Dorothy said placidly.
“Dear me, Doro Doodlekins!” exclaimed Tavia, suddenly and
affectionately, coming close to her chum and kissing her warmly.
“You are such a tabby-cat all of a sudden. Why! you have grown up,
while the rest of us are only kids.”
“Yes; I am very settled,” observed Dorothy, smiling into the mirror
at her friend. “A cap for me and knitting very soon, Tavia. Then I shall
sit in the chimney corner and think——”
“Think about whom, my dear?” Tavia asked saucily. “That Garry
Knapp, I bet.”
“I wouldn’t bet,” sighed Dorothy. “It isn’t ladylike.”
“Oh—de-ah—me!” groaned Tavia. “You are thinking of him just the
same.”
“I happened to be just now,” admitted Dorothy, and without
blushing this time.
“No! were you really?” demanded Tavia, eagerly. “Isn’t it funny he
doesn’t write?”
“No. Not at all.”
“But you’d think he would write and thank you for your letter if
nothing more,” urged the argumentative Tavia.
“No,” said Dorothy again.
“Why not?”
“Because Mr. Knapp never got my letter,” Dorothy said, opening
her bureau drawer and pulling the letter out from under some things
laid there. “See. It was returned to-day.”
“Oh, Dorothy!” gasped Tavia, both startled and troubled.
“Yes. It—it didn’t reach him somehow,” Dorothy said, and she
could not keep the trouble entirely out of her voice.
“Oh, my dear!” repeated Tavia.
“And I am sorry,” her friend went on to say; “for now he will not
know about the intentions of those men, Stiffbold and Lightly.”
“But, goodness! it serves him right,” exclaimed Tavia, suddenly.
“He didn’t give us his right address.”
“He gave us no address,” said Dorothy, sadly.
“Why, yes! he said Desert City——”
“He mentioned that place and said that his land was somewhere
near there. But he works on a ranch, which, perhaps, is a long way
from Desert City.”
“That’s so,” grumbled Tavia. “I forgot he’s only a cowboy.”
At this Dorothy flushed a little and Tavia, looking at her sideways
and eagerly, noted the flush. Her eyes danced for a moment, for the
girl was naturally chock-full of mischief.
But in a moment the expression of Tavia Travers’ face changed.
Dorothy was pensively gazing in the glass; she had halted in her hair
brushing, and Tavia knew that her chum neither saw her own
reflection nor anything else pictured in the mirror. The mirror of her
mind held Dorothy’s attention, and Tavia could easily guess the
vision there. A tall, broad-shouldered, broad-hatted young man with
a frank and handsome face and a ready smile that dimpled one
bronzed cheek ever so little and wrinkled the outer corners of his
clear, far-seeing eyes.
Garry Knapp!
Tavia for the first time realized that Dorothy had found interest and
evidently a deep and abiding interest, in the young stranger from
Desert City. It rather shocked her. Dorothy, of all persons, to become
so very deeply interested in a man about whom they knew practically
nothing.
Tavia suddenly realized that she knew more about him than
Dorothy did. At least, she had been with Garry Knapp more than had
her friend. It was Tavia who had had the two hours’ tête-à-tête with
the Westerner at dinner on the evening before Garry Knapp
departed so suddenly for the West. All that happened and was said
at that dinner suddenly unrolled like a panorama before Tavia’s
memory.
Why! she could picture it all plainly. She had been highly delighted
herself in the recovery of her bag and in listening to Garry’s story of
how it had been returned by the cash-girl’s sister. And, of course,
she had been pleased to be dining alone with a fine looking young
man in a hotel dining-room. She had rattled on when her turn came
to talk, just as irresponsibly as usual.
Now, in thinking over the occasion, she realized that the young
man from the West had been a shrewd questioner. He had got her
started upon Dorothy Dale, and before they came to the little cups of
black coffee Tavia had told just about all she knew regarding her
chum.
The reader may be sure that all Tavia said was to Dorothy’s glory.
She had little need to explain to Garry Knapp what a beautiful
character Dorothy Dale possessed. Tavia had told about Dorothy’s
family, her Aunt Winnie’s wealth, the fortunes Major Dale now
possessed both in the East and West, and the fact that when
Dorothy came of age, at twenty-one, she would be wealthy in her
own right. She had said all this to a young man who was struggling
along as a cowpuncher on a Western ranch, and whose patrimony
was a piece of rundown land that he could sell but for a song, as he
admitted himself. “And no chorus to it!” Tavia thought.
“I’m a bonehead!” she suddenly thought fiercely. “Nat would say
my noodle is solid ivory. I know now what was the matter with Garry
Knapp that evening. I know why he rushed up to me and asked for
Dorothy, and was what the novelists call ‘distrait’ during our dinner.
Oh, what a worm I am! A miserable, squirmy worm! Ugh!” and the
conscience-stricken girl fairly shuddered at her own reflection in the
mirror and turned away quickly so that Dorothy should not see her
features.
“It’s—it’s the most wonderful thing. And it began right under my
nose, my poor little ‘re-trousered’ nose, as Joe called it the other day,
and I didn’t really see it! I thought it was just a fancy on Dorothy’s
part! And I never thought of Garry Knapp’s side of it at all! Oh, my
heaven!” groaned Tavia, deep in her own soul. “Why wasn’t I born
with some good sense instead of good looks? I—I’ve spoiled my
chum’s life, perhaps. Goodness! it can’t be so bad as that.
“Of course, Garry Knapp is just the sort of fellow who would raise
a barrier of Dorothy’s riches between them. Goodness me!” added
the practical Tavia, “I’d like to see any barrier of wealth stop me if I
wanted a man. I’d shin the wall in a hurry so as to be on the same
side of it as he was.”
She would have laughed at this fancy had she not taken a look at
Dorothy’s face again.
“Good-night!” she shouted into her chum’s ear, hugged her tight,
kissed her loudly, and ran away into her own room. Once there, she
cried all the time she was disrobing, getting into her lacy nightgown,
and pulling down the bedclothes.
Then she did not immediately go to bed. Instead, she tiptoed back
to the connecting door and closed it softly. She turned on the
hanging electric light over the desk.
“I’ll do it!” she said, with determined mien. “I’ll write to Lance
Petterby.” And she did so.
CHAPTER XV
THE SLIDE ON SNAKE HILL
Joe and Roger marched down at an early breakfast hour from the
upper regions of the big white house, singing energetically if not
melodiously a pæan of joy: