Multiple Choice Questions

5 min readdecember 4, 2021

AP Computer Science Principles ⌨️

80 resources
See Units

Multiple Choice Practice for Creative Development

Welcome to Big Idea 1 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 1 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 1.

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 does documentation help with maintaining programs?
A. If code is modified, the documentation can guide the programmer in testing to ensure the functionality is still correct.
B. It journals the history of program changes showing how the program first worked before changes
C. It documents how to run the program in multiple languages for a global audience.
D. It is useful for training new employees on how to learn the programming language.

2. What can help with identifying & correcting program errors?
A. revisiting requirements
B. collaboration
C. clustering requirements & tests
D. consolidating testing

3. How is collaboration useful in analyzing datasets?
A. multiple viewpoints can give several outcomes for the data
B. analysis can be divided among several people to speed up the analysis
C. applying different experiences & skills gives better analysis & insight
D. having multiple leaders helps the group for alliances based on interests

4. Given the importance of sharing insight & knowledge gained from processing data, how can this be effectively communicated?
A. using summaries of the insights
B. providing detailed examples of the data to prove accuracy
C. using tables & diagrams of the findings
D. All of the above

5. Why do we need more than one programming language?
A. some cannot implement needed algorithms
B. some cannot be compiled & don't run efficiently
C. Some languages are designed for specific uses & only used well in those situations
D. there is no reason, just the preference of those who create new languages

6. How are algorithms & programs related?
A. they have a hierarchical relationship
B. programs implement algorithms
C. algorithms implement programs
D. they can both be run on a computer

7. What is a benefit of collaboration when writing code?
A. collaboration allows the work to be divided among independent programmers to create 
B. collaboration makes it easier to find errors
C. collaboration makes it easier to document another person's code
D. collaboration produces an increase in user requirements that can be met with more team members

8. Which line of code can be placed inside the bracec { } to fix the following loop so it will not be an infinite loop?
A. name <-- INPUT ()
B. IF name < > "done")
C. count = count + 1
D. name <-- studentRoster

9. Below is a flowchart of an alarm clock snooze process. What value does the variable "count" have after tracing through the flowchart?
A. 4
B. 0
C. 5
D. count = count + 1

10. A programmer tests an app she wrote using one set of test cases. Since the app was developed for her personal use, does it need to undergo further testing?
A. yes all software should be tested with a variety of test cases to ensure the code works as expected
B. additional testing is required only when there are more than 25 lines of code
C. additional testing is needed when procedures are used
D. no, since the app is for personal use, less testing is acceptable

11. What is displayed after the following code runs?
A. Good luck on the AP exam!
B. Error message, cannot add text fields
C. good luck on the ap exam!
D. 24, which is the number of characters in the text fields

12. Which algorithm should be used to find a phone number on a contact list?
A. I
C. I and II are equally effective
D. A combination of I and II should be used

13. The principal hired the programming class to write a program to reserve parking spots in the student parking lot. She wants seniors to have the best spots. What is the best way the programming class can verify a student is a senior?
A. Grade can be an input field that is then passed to the procedure to select an available spot
B. the program can loop through the school district rosters for every student name
C. Use an API to integrate with the school's information system hosted off-site to check grade level
D. Have students upload a photo from the school registrar showing their grade with their parking spot request

14. You have to change a program written a year ago by someone else. A sample section of code is given below. How could the original program author have helped someone making changes at a later date?
A. provided the original program requirements
B. added a video describing the program design & functionality
C. used procedure and variable names that described their purpose/context
D. provided written documentation of the application development process

15. Consider the following program. Which of the following describes the result of executing the program?
A. The program displays the sum of the odd integers from 1 to 19.
B. The program displays the sum of the odd integers from 1 to 9.
C. The program displays the sum of the even integers from 2 to 10.
D. The program displays the sum of the even integers from 2 to 20.

  • 🤝Connect with other students studying AP CS: Principles with Hours

Browse Study Guides By Unit
🕹Unit 1 – Creative Development
⚙️Unit 2 – Data
📱Unit 3 – Algorithms & Programming
🖥Unit 4 – Computer Systems & Networks
⌨️Unit 5 – Impact of Computing
✏️Frequently Asked Questions
📝Exam Prep

Stay Connected

© 2023 Fiveable Inc. All rights reserved.

© 2023 Fiveable Inc. All rights reserved.