Professional Documents
Culture Documents
5 Steps To A 5 Ap Computer Science Principles 2Nd Edition Julie Schacht Sway Full Chapter
5 Steps To A 5 Ap Computer Science Principles 2Nd Edition Julie Schacht Sway Full Chapter
ISBN: 978-1-26-046677-5
MHID: 1-26-046677-9
The material in this eBook also appears in the print version of this
title: ISBN: 978-1-26-046676-8, MHID: 1-26-046676-0.
McGraw Hill, the McGraw Hill logo, 5 Steps to a 5, and related trade
dress are trademarks or registered trademarks of McGraw Hill and/or
its affiliates in the United States and other countries and may not be
used without written permission. All other trademarks are the
property of their respective owners. McGraw Hill is not associated
with any product or vendor mentioned in this book.
TERMS OF USE
Preface
About the Author
Introduction to the Five-Step Preparation Program
Appendix
AP Computer Science Principles Exam Reference Sheet
PREFACE
Welcome to the future! Your future, that is. It will be filled with
technology as it is well integrated into many aspects of our lives.
The good news is computer science is not that hard! You’ve just had
little, if any, experience with it and this course exposes you to
several key aspects in the field. Even if you do not become a
programmer, data analyst, or network engineer, the more you
understand about how these work, the more valuable you will be to
a future employer or the more prepared you will be as a future
business owner.
This review book is designed to help you prepare for the AP
Computer Science Principles exam and performance task. Reviewing
the concepts helps you confirm those you are confident about and
identifies those you need to better understand before the exam. This
book also guides you through preparing your project and written
response for the performance task to earn as many points as
possible. Let’s get started!
ABOUT THE AUTHOR
This icon points out a very important concept that you should not
pass over.
This icon calls your attention to a strategy that you may want to try.
Key Ideas
The multiple-choice exam, administered Thursday, May 13, 2021,
contains 70 questions and is two hours long.
In addition to the multiple-choice exam, you must submit a Create
performance task by the April 30, 2021, deadline.
Your score (on a scale of 1–5) is determined by your scores on
the component parts:
70% of your total score is based on the multiple-choice exam
30% of your total score is based on the Create performance task
Most colleges and universities award credit for earning a score of
4 or 5. Some award credit for a score of 3. A list of individual
college policies can be found on the College Board site, and you
should always check with the colleges and universities you are
applying to for their current AP policy.
The Basics
The AP Computer Science Principles exam was first offered in spring
2017. More than 45,000 students took the first multiple-choice exam
and submitted their performance task projects. The following year,
enrollment grew to 76,000—55% increase! In 2018–2019, over
100,000 students took the exam. In 2019–2020, 150,000 students
were registered and 110,000 still submitted their performance tasks,
even with the pandemic! One key goal of this course, according to
the College Board, is to make computer science more inclusive and
accessible to all students. This course is an introductory course,
equivalent to a one-semester course in college. It’s the computer
science for non–computer science majors course. For computer
science majors, it may fulfill another requirement, such as an ethics
in computer science requirement.
The Format
The AP Computer Science Principles assessment consists of a
multiple-choice exam (70% of your score) and a Create performance
task (30% of your score). You’ll want to focus more time preparing
for the exam since it counts more. However, you cannot ignore or do
minimal effort on the Create performance task and still expect to
earn a good score.
Your AP Score
The multiple-choice exam is graded automatically by a computer.
The Create performance task is graded by college professors and
high school AP teachers who are teaching the course. They are
trained and each project is evaluated and reviewed to ensure
projects are graded consistently and fairly.
In the end you will be given a score that ranges from 1–5. The
following table shows the meanings of the scores:
Most colleges and universities award one-semester course credit
if you earn a score of 4 or 5. Some colleges award credit for a score
of 3. You should check with the colleges and universities you are
applying to for their current policy regarding this AP exam. The
College Board website has a list of the AP policies of individual
colleges and universities, but to be sure, check directly with the
school.
Being awarded college credit while you are still in high school has
its advantages. You may be able to skip an introductory course and
jump right into the elective courses you want to take. If you earn
enough AP credits, you may be able to graduate early. Even if you
don’t want to graduate early, earning AP credit will give you more
flexibility, making it easier to obtain a double major or study abroad.
Another benefit is that you’ll probably save money by not having to
pay college tuition for course credits you’ve earned in high school.
Perhaps most important, doing well on AP exams will help you stand
out in the college admissions process, showing colleges that you’re
serious about studying and that you’re able to handle college-level
courses.
Step 4 in this book, where you’ll review the content you need to
know, is organized around these “big ideas.”
The following table shows the percentage of multiple-choice
questions you can expect from each of the Big Ideas in the AP exam.
These practices are interwoven throughout the course. All but the
last one are evaluated through questions on the multiple-choice
exam. More detailed information on what’s covered in the AP course
and exam is available on the College Board’s website in the PDF
publication Computer Science Principles Course and Exam
Description. You can find it by searching by the title or you can go to
https://apcentral.collegeboard.org/pdf/ap-computer-science-
principles-course-and-exam-description.pdf.
How to Register
If you are taking AP Computer Science Principles at school, the
school’s AP coordinator will contact you and help you sign up. If you
are not taking the class, you should contact the AP coordinator at
your school or school district for assistance in registering. Home-
schooled students should either contact the AP coordinator for their
school district or their assigned school to register. Beginning with the
2019–2020 school year, students had to register for the AP exam by
November 15. Students in classes that only meet second semester
had to register by March 15. Do not miss this registration date or
you will be charged a $40 late fee.
The fee to take an AP exam in 2020 was $94 in the United States
and $124 if taken outside of the United States. Check the College
Board website for the most up-to-date information on fees. You can
get a refund of most of your fee if you end up not submitting your
performance task and not taking the exam. You may be entitled to a
reduced fee if you have significant financial need; check with the AP
coordinator at your school for more information about eligibility for
fee reductions.
The Dates
You should plan to complete the AP Computer Science Principles
performance task by mid-April. The project for the performance task
must be submitted via an online submission process by April 30,
2021, at 11:59 p.m. Eastern time. Check with your AP teacher or the
College Board website for the instructions for submitting your
project.
The AP Computer Science Principles multiple-choice exam will be
administered on Thursday, May 13, 2021, at 8:00 a.m. this year. The
actual date varies each year. You may also view this information at
the College Board’s website:
https://apcentral.collegeboard.org/courses/exam-dates-and-
fees/2021-exam-dates.
Test-Day Policies
On test day, you need to bring the following items:
• Several pencils and an eraser that doesn’t leave smudges
• A school-issued or government-issued photo identification
• A watch so you can easily keep track of test time in case there is
no clock in the testing room
Items you are NOT to bring into the test room include:
Key Ideas
The multiple-choice exam, administered Thursday, May 13, 2021,
contains 70 questions and is two hours long.
Do not wait until the last minute to begin preparing. Develop a
study plan and stick with it.
Your study plan should be tailored to your needs, your study
habits, and the amount of time you have available.
Prioritize your review based on your strengths and weaknesses.
Take the diagnostic exam in the next chapter to identify the areas
you most need to review and practice.
Save the last practice test for a final check at the end of April or
beginning of May. But don’t wait until the night before the test to
take the practice tests. Staying up and trying to do some last-
minute cramming may be counterproductive.
Key Ideas
Taking the Diagnostic Exam will allow you to familiarize yourself
with the AP Computer Science Principles Exam.
Evaluate your performance on this test to identify your own
strengths and weaknesses and then modify your study plan to
prioritize the types of skills or areas of content you most need to
work on.
How to Take the Diagnostic Test
Take this diagnostic exam when you begin to review for the exam. It
will help you determine what you already know and what you need
to spend time reviewing. It will also give you an idea of the format
of questions on the AP exam.
Take the diagnostic exam in a simulated testing environment. Be
in a quiet location where you will not be disturbed. Use the answer
sheet in this manual and a pencil to answer the multiple-choice
questions. The AP Computer Science Principles Exam is still a pencil-
and-paper exam!
Set a timer for two hours and try to pace yourself so you finish
the exam. If you are not finished when the time is up, note how far
you got, and then complete the rest of the exam. Answering all the
questions will provide a better evaluation of what areas you need to
review.
As you take the test, mark all the questions you were not sure
about so you check the answer explanations for them as well as
those you miss. But do not check an answer until you have
finished all the questions and the two-hour testing period.
Test yourself in an exam-like setting. Take this diagnostic test and
the practice exams at the end of this book in a place you won’t be
interrupted for two hours. Time yourself. If you use your cell
phone to time yourself, make sure it’s completely silenced in
airplane mode so you won’t be interrupted.
In the next section of this book, you’ll find helpful strategies for
attacking both the multiple-choice exam and the Create performance
task. The strategies were developed to help you prepare in the most
effective and efficient way. Then in Step 4, you’ll begin the review of
the concepts and skills tested. After taking this diagnostic exam, you
will know which of these chapters you need to review the most.
ANSWER SHEET
AP Computer Science Principles
Diagnostic Test
Multiple-Choice Questions
Time: 2 hours
Number of questions: 70
The multiple-choice questions represent 70% of your total score.
Directions: Choose the one best answer for each question. The last
eight questions have two correct answers; for these, you will be
instructed to choose two answer choices.
Tear out the answer sheet on the previous page and grid in your
answers using a pencil.
AP Computer Science Principles Exam Reference Sheet
To make taking this practice test like taking the actual exam, tear
out the reference sheet so you can easily refer to it while taking
the test. Save these reference pages since you’ll need to use them
when you take AP Computer Science Principles Practice Exams 1
and 2 at the end of this book.
The period which follows after about the year 1862 is notable as
witnessing not only the gradual universal adoption of the screw in
steamships, but the more general appreciation of iron as the material
from which to construct a vessel’s hull. After the prejudices which
already we have seen arising at different stages of the steamship’s
history, it was scarcely to be wondered at that iron should come in
for its full share of virulent criticism and opposition. The obvious
remark made on all sides was that to expect iron to float was to
suppose that man could act exactly contrary to the laws of Nature,
and this notwithstanding that already, besides barges, a few ships
thus built had somehow not only managed to keep afloat, but to
traverse channels and oceans in perfect safety, carrying such heavy
weights as their own machinery, to say nothing of their cargoes and
human freights. But slowly the public prejudice began to wane.
Already the Cunard Company had given way to iron in 1856, and in
1860 the Admiralty were at last convinced that the new method was
just and sound. Within the limited scope at our command we have
not space here to enter into the elaborate discussion of matters
which have to be taken for granted before the building of the
steamship begins. But the plain answer to the natural inquiry, as to
how and why a vessel made out of iron does not immediately sink to
the bottom as soon as ever she is launched, is this: whereas iron in
itself is far heavier than water, yet the iron ship has not the same
specific gravity as the iron from which it is made. Therefore, the ship
of this material will be supported by the water in which it is placed.
In actual displacement, an iron ship is proportionately lighter
than a ship built of wood, and by “displacement” is meant the amount
of water which a vessel displaces through being allowed to float. Of
course, the quantity of water which a ship displaces (or pushes to
one side) depends entirely on the weight of the vessel, and is exactly
equal to the weight of the ship. Thus, suppose we were to fill a dock
with water up to the level of the quay and then lower down into it by
means of gigantic cranes a Mauretania or Lusitania, the water would,
of course, flow over on to the quays. Now the amount of water thus
driven out would be the exact equivalent of the liner’s displacement.
When we say, for instance, that the displacement of the Mauretania
is 40,000 tons, when loaded, we mean that her total weight when
loaded is this number of tons, and her hull when afloat puts on one
side (or “displaces”) just that amount of water.
Now, as compared with wooden ships, the use of iron meant a
saving in displacement of about one-third, taking the wooden and the
iron ships to be of the same dimensions. From this followed the fact
that the iron ship could carry a greater amount of cargo with
consequent greater profit to her owners. And, as I have already
indicated in another chapter, before it was possible to build ships of
great length iron had to be introduced to enable them to endure such
longitudinal strains. Again, a wooden ship must have her skin and
ribs made of a thickness far greater than an iron ship, for the clear
reason that one inch of iron is much stronger than one inch of wood;
in other words, to obtain a given strength the iron will take up less
room in the ship. Thus in an iron steamer there will be more space
available for cargo than in a wooden ship of the same design. We
could go on enumerating the advantages of iron, and quote
instances of iron ships, whose cargo had got on fire, arriving safely
in port and coming into dock where the assistance of the local fire-
brigade had enabled the vessel’s own pumps to get the conflagration
under. It is only as recently as December of 1909 that the Celtic, the
well-known White Star liner, during a voyage between New York and
Liverpool, had the misfortune to get on fire while at sea. By means of
tarpaulins and injections of steam it was possible to control the
burning until the Mersey was reached, when it was intended to flood
her holds. Had she been a wooden ship instead of steel, or even
iron, the Celtic would undoubtedly have ended her days in the
Atlantic.
The first Atlantic company to build all its steamers of iron was the
Inman Line, which had been founded in 1850, and until 1892 was
one of the foremost competitors for the coveted “blue ribbon” of the
Atlantic. Their first ships had been the City of Glasgow and the City
of Manchester, and these, inasmuch as they were built of iron, and
were propelled by a screw at a time when prejudice had not yet died
down, were entirely different from the prevailing type of steamer; and
this, it should be remembered, at a period six years before the
Cunard had built their iron Persia. This City of Glasgow was built by
a Glasgow firm of shipbuilders, and Mr. Inman had sufficient
confidence in her to purchase her and form a company. Barque-
rigged, with a single funnel, she was of only 1,610 tons and 350
horse-power. Under the command of Captain B. E. Matthews, who
had been on the famous Great Western, she had already crossed
from Glasgow to New York and back in 1850, and on December 11th
of that year began her regular sailings between England and
America. The City of Glasgow—all the ships of this line were named
after cities—was fitted up in a manner which at that time called forth
the greatest admiration. “One room,” wrote a correspondent in the
Glasgow Courier, about that date, “is being fitted up as an
apothecary’s shop, from which the surgeon will dispense his
medicines.” She was provided with five water-tight bulkheads, and
had a propeller whose diameter was 13 feet, with an 18 feet pitch. It
was in connection with the Inman ships that the custom was
inaugurated of carrying steerage passengers on the best Atlantic
liners, although hitherto they had been taken across solely on board
sailing ships.
THE “CITY OF PARIS” (1866).
From the Model in the Victoria and Albert Museum.