100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Exam (elaborations) APCSP Computer Science with solutions $9.99   Add to cart

Exam (elaborations)

Exam (elaborations) APCSP Computer Science with solutions

 7 views  0 purchase

Computer science sample questions with solutions

Preview 3 out of 19  pages

  • September 2, 2024
  • 19
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
book image

Book Title:

Author(s):

  • Edition:
  • ISBN:
  • Edition:
All documents for this subject (13)
avatar-seller
TGUARD
Sample Exam Questions




Sample Exam Questions
To elicit evidence of student achievement of the course learning objectives, exam
questions assess both the application of the computational thinking practices
and an understanding of the big ideas. Exam questions may assess achievement
of multiple learning objectives. They may also address content from more than
one essential knowledge statement. Exam questions may be accompanied
by nontextual stimulus material such as diagrams, charts, or other graphical
illustrations. The sample questions that follow illustrate the relationship between
the curriculum framework and the AP Computer Science Principles Exam and serve
as examples of the types of questions that will appear on the exam. Each question
is accompanied by a table containing the enduring understandings, learning
objectives, computational thinking practices, and essential knowledge statements
that the question addresses. Note that in cases where multiple learning objectives
are provided for a question, the primary learning objective is listed first, along
with the associated computational thinking practice and essential knowledge
statement(s).




SAMPLE EXAM QUESTIONS




Return to
AP Computer Science Principles Course and Exam Description Table of Contents 83
© 2014 The College Board

, Sample Exam Questions




1. A video-streaming Web site uses 32-bit integers to count the number of times each video has
been played. In anticipation of some videos being played more times than can be represented
with 32 bits, the Web site is planning to change to 64-bit integers for the counter. Which of the
following best describes the result of using 64-bit integers instead of 32-bit integers?
(A) 2 times as many values can be represented.
(B) 32 times as many values can be represented.
(C) 232 times as many values can be represented.
(D) 322 times as many values can be represented.


Enduring Computational Essential
Understandings Learning Objectives Thinking Practices Knowledge

2.1 A variety of 2.1.1 Describe the variety of P3 Abstracting 2.1.1A
abstractions built upon abstractions used to represent
2.1.1B
binary sequences can data. [P3]
be used to represent 2.1.1E
all digital data.




2. A programmer completes the user manual for a video game she has developed and realizes she
has reversed the roles of goats and sheep throughout the text. Consider the programmer’s goal
of changing all occurrences of “goats” to “sheep” and all occurrences of “sheep” to “goats.” The
programmer will use the fact that the word “foxes” does not appear anywhere in the original text.
Which of the following algorithms can be used to accomplish the programmer’s goal?
(A) First, change all occurrences of “goats” to “sheep.”
Then, change all occurrences of “sheep” to “goats.”
(B) First, change all occurrences of “goats” to “sheep.”
Then, change all occurrences of “sheep” to “goats.”
Last, change all occurrences of “foxes” to “sheep.”
(C) First, change all occurrences of “goats” to “foxes.”
Then, change all occurrences of “sheep” to “goats.”
SAMPLE EXAM QUESTIONS




Last, change all occurrences of “foxes” to “sheep.”
(D) First, change all occurrences of “goats” to “foxes.”
Then, change all occurrences of “foxes” to “sheep.”
Last, change all occurrences of “sheep” to “goats.”


Enduring Computational Essential
Understandings Learning Objectives Thinking Practices Knowledge

4.1 Algorithms are 4.1.1 Develop an algorithm for P2 Creating 4.1.1A
precise sequences implementation in a program. [P2] computational artifacts
4.1.1B
of instructions for
processes that can be
executed by a computer
and are implemented
using programming
languages.




Return to
AP Computer Science Principles Course and Exam Description Table of Contents 84
© 2016 The College Board

, Sample Exam Questions




3. ASCII is a character-encoding scheme that uses a numeric value to represent each character.
For example, the uppercase letter “G” is represented by the decimal (base 10) value 71. A partial
list of characters and their corresponding ASCII values are shown in the table below.




ASCII characters can also be represented by hexadecimal numbers. According to ASCII
character encoding, which of the following letters is represented by the hexadecimal (base 16)
number 56?
(A) A
(B) L
(C) V
(D) Y


Enduring Computational Essential
Understandings Learning Objectives Thinking Practices Knowledge

2.1 A variety of 2.1.1 Describe the variety of P3 Abstracting 2.1.1A
abstractions built upon abstractions used to represent
2.1.1C




SAMPLE EXAM QUESTIONS
binary sequences can data. [P3]
be used to represent 2.1.1D
all digital data. 2.1.1E
2.1.1G




Return to
AP Computer Science Principles Course and Exam Description Table of Contents 85
© 2014 The College Board

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller TGUARD. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78998 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart