AP Computer Science Principles · Unit practice
AP Computer Science Principles Big Idea 1: practice questions
5 exam-style questions with answers and explanations. Answer them on FiveStudy to keep a streak and see your AP® score estimate.
Question 1
A three-person team built a bus-tracker app. Their project log records one event: a member who rides the bus in a wheelchair pointed out that the arrival alerts could not be heard, so the team added spoken alerts that the other two members had not thought of.
Which benefit of collaboration does the logged event best illustrate?
- A. A member's different experience surfaced a need the others had missed
- B. Working as a team removed the need to test the new spoken alerts
- C. Dividing the work among members let each one finish a separate part faster
- D. Three members made the app's code shorter than one person's would be
Answer: A member's different experience surfaced a need the others had missed
The log shows one member drawing on personal experience as a wheelchair user to raise a need — audible alerts — that the other two had not considered. That is the core benefit of collaboration: members with different backgrounds widen the range of needs a product addresses, improving it beyond what any one member would have reached alone. The claim that teamwork removed the need to test the new spoken alerts is not shown and is false, since the new feature still has to be tested. Dividing the work so each member finishes a separate part is a different idea that does not appear in the log, which describes a shared design discussion. The idea that three members made the app's code shorter is unrelated to the event, since adding spoken alerts adds work and has nothing to do with code length.
Question 2
A team designing a fitness app includes members of different ages and activity levels. Which of the following is the most likely benefit of this diversity?
- A. The app will require fewer lines of code to implement
- B. The app is more likely to serve the needs of a wide range of users
- C. The app will run faster on older mobile devices
- D. The app will not need user feedback after release
Answer: The app is more likely to serve the needs of a wide range of users
Diverse teams surface needs and problems that a homogeneous team may overlook, improving the product for more users. Diversity has no direct effect on code size or speed.
Question 3
Four students each kept a one-line record of what they did this week on their class projects. Mira: finished every level of a published puzzle game and posted a 5-star rating. Omar: watched a video course on a new language and copied its sample program. Priya: traded design sketches with a partner and together revised their shared app's menu. Luis: read the manual for a drawing tool so he could use it on his own poster.
Whose recorded activity is an example of collaboration during the development of a computing innovation?
- A. Mira's
- B. Omar's
- C. Priya's
- D. Luis's
Answer: Priya's
Collaboration means two or more people working together and exchanging feedback on a shared piece of work as it is being developed. Priya's record is the only one that fits, because she and a partner traded design sketches and jointly revised the menu of an app they are both building, so two people are shaping one shared innovation together. Mira's record is using and rating a finished product rather than developing one, and she acts alone. Omar's record is learning from a course and copying a sample by himself, which is individual study rather than joint development. Luis's record is reading a manual so he can work on his own poster, again a solo activity with no shared work or exchanged feedback.
Question 4
A programmer asks a classmate to try a new game and describe anything confusing. Which benefit of collaboration does this show?
- A. Sharing a program transfers the work of fixing its bugs to the tester
- B. Testing by classmates replaces the need to run the program
- C. A second user makes the game load more quickly for everyone
- D. Feedback from others can reveal problems the creator did not notice
Answer: Feedback from others can reveal problems the creator did not notice
Creators are close to their own work and miss usability problems; an outside tester notices them. The creator still fixes the bugs and still runs the program.
Question 5
Four teams building a recycling-pickup app each recorded how they chose their main screen design. Team 1: the member with the most coding experience designed the screen and the others built it. Team 2: each member built a separate version with no shared plan, and they kept them all. Team 3: members posted three proposed designs, discussed the strengths of each, and merged two of them into the final screen. Team 4: no one shared a design until the app was finished, then they picked whichever was done.
Which team's recorded practice best let members build on one another's ideas?
- A. Team 3's
- B. Team 1's
- C. Team 2's
- D. Team 4's
Answer: Team 3's
Building on one another's ideas requires that proposals be shared early and discussed so they can be combined. Team 3's record is the only one that shows this, because members posted several designs, weighed each, and merged two into the final screen, so ideas actually influenced one another. Team 1 let the most experienced member design the screen alone, so the others' ideas never entered the design. Team 2 kept separate versions with no shared plan, so the ideas sat side by side without ever combining. Team 4 shared nothing until the end and then chose one finished design, which gave the other ideas no chance to shape the result.
More AP Computer Science Principles practice