Welcome to
Big Idea 3 AP Computer Science Principles Multiple Choice Questions! Grab some paper and a pencil 📄 to record your answers as you go. You can see how you did on the
Big Idea 3 Practice Questions Answers and Review sheet once you're done. Don't worry, we have tons of resources available if you get stumped 😕 on a question. And if solo study is not your thing, join a group in
Hours!
Not ready to take a quiz yet? Take a look at the
Intro to Big Idea 3.
Image courtesy of Pixabay
Facts about the test: The AP CS: Principles exam has 70 multiple choice questions and you will be given 2 hours (120 minutes)
to complete the section. That means it should take you
around 10 minutes to complete 6 questions.
*The following questions were not written by College Board and, although they cover information outlined in the AP Computer Science Principles Course and Exam Description, the formatting on the exam may be different.
1. How are list elements accessed individually?A. The list name with an integer index in brackets.
B. The list name is with the value the code needs to access.
C. The "access" command with the list name and length.
D. A FOR REACH loop with the list to find an individual value.
2. What do logical conditions evaluate to?
A. a constant
B. a string
C. a real number
D. a boolean
3. Consider a 4-bit binary sequences to represent nonnegative integers. For example, 0101 represents the decimal value 5. Using this, add the decimal values 14 and 15 and assign the result to the variable total. Which of the following best describes the result?
A. 29 will be assigned to the variable total.
B. An overflow error because 4 bits is not big enough to represent 29.
C. An overflow error because 4 bits is not large enough to represent either of the values 14 or 15.
D. A round-off error because 14 and 15 are represented as approximations due to the fixed number of bits used.
4. You stop at a convenience store to purchase your favorite energy drink. The cash register displays the change you are owed as $0.049999999999 instead of 5 cents. What happened?
A. The DISPLAY procedure in the cash register software has an error.
B. The computer is displaying in a different currency.
C. A rounding error happened because decimal values (like money) are stored imprecisely
D. The change is being displayed in hexadecimal rather than decimal
5. You pull into a public parking garage that assigns parking spots by automated maching. When looking at the ticket, the parking space number is displayed in binary, but the actual parking spots are labeled in decimal. Whch spot (in decimal) is 10011011?
A. 155
B. 154
C. 157
D. 9F
6. Which statement is NOT true?
A. Low-level languages are easier to debug since they are have fewer options.
B. Higher-level languages are easier to debug because the language is closer to natural language.
C. Low-level languages provide less abstraction
D. High level languages are easier to code since they are more like natural language.
7. Which of the following are true about the data that can be represented using binary sequences?
A. Binary sequences can be used to represent strings of characters.
B. Binary sequences can be used to represent colors.
C. Binary sequences can be used to represent audio recordings.
D. All of the above
8. Consider the following code segment (see below). Which variables have a value of 50 after the segment runs?
A. x
B. y
C. x and z
D. x, y, and z
9. For a binary search to give accurate results, what must be true of the data?
A. The data must be unsorted before the search
B. The data must be sorted before the search
C. The data must not have duplicate or repeated values
D. The data must be fewer than a billion records
10. What does iteration with computer science loops mean?
A. Repeating a block of code until a condition is met
B. Executing code once
C. Duplicating a section of code multiple times in a program
D. Identifying error conditions in a program
11. Three numbers need to be put into order from smallest to greatest. Which of the following algorithms can be used to accomplish this?
A. If the first number is greater than the middle one, swap them. Then, if the middle number is greater than the last one, swap them. Then, if the first number is greater than the last, swap them.
B. If the first number is greater than the middle one, swap them. Then, if the middle number is greater than the last, swap them.
C. If the first number is greater than the last, swap them. Then, if the first number is greater than the middle number, swap them.
D. If the first number is greater than the middle, swap them. Then, if the middle number is greater than the last, swap them. Then, if the first number is greater than the middle, swap them.
12. What order has the programming languages in most abstract to least abstract order?
A. block-based language, text-based language, machine language assembly language
B. text-based language, assembly language, block-based language, machine language
C. block-based language, text-based language, assembly language, machine language
D. machine language assembly language, block-based language, text-based language,
13. Which of the following is the best meaning for heuristic in computer science?
A. A heuristic is a sequential set of specific steps used to solve a precise problem
B. A heuristic is a shortcut that sacrifices accuracy and completeness.
C. A heuristic is the act of using a computer to find specific solutions to a problem that cannot be solved by hand.
D. A heuristic is to the method used to decide whether there exists an assignment to a set of variables which satisfies specified constraints between pairs of variables
14. What is the value of y after the following statements?
A. 0
B. 2
C. 3
D. 4
15. Which of the following will demonstrate that the problem is undecidable?
A. Show that for one instance of the problem, an algorithm that runs in unreasonable time can be written that is capable of providing a correct yes-or-no answer.
B. Show that for one instance of the problem, an algorithm that runs in unreasonable time can be written that is capable of providing a correct yes-or-no answer.
C. Show that for one instance of the problem, an algorithm can be written that is always capable of providing a correct yes-or-no answer.
D. Show that for one instance of the problem, no algorithm can be written that is capable of providing a correct yes-or-no answer.
- 🤝Connect with other students studying AP CS: Principles with Hours