APCSP Creative Development 3 — Questions and Answers
Question 1: Which of the following scenarios best demonstrates incremental development?
- Building the entire program and releasing it all at once
- Adding one small feature at a time and testing each addition before moving on (Correct answer)
- Writing code without planning and fixing bugs at the end
- Designing only the user interface and ignoring backend logic
Correct answer: Adding one small feature at a time and testing each addition before moving on
Incremental development means building and testing one small piece at a time to catch errors early.
Question 2: A developer tests a program with inputs that fall outside the expected range. This is called:
- Unit testing
- Boundary testing (Correct answer)
- Integration testing
- Regression testing
Correct answer: Boundary testing
Boundary testing checks how a program handles values at or beyond the edges of expected input ranges.
Question 3: Why is decomposition useful during the creative development of a complex program?
- It eliminates the need for testing
- It breaks a large problem into smaller, manageable subproblems (Correct answer)
- It automatically generates code
- It replaces the need for user input
Correct answer: It breaks a large problem into smaller, manageable subproblems
Decomposition makes complex problems easier to solve by dividing them into smaller, focused tasks.
Question 4: Which of the following is NOT a typical output of the design phase in program development?
- Wireframes showing the user interface layout
- Pseudocode outlining the program logic
- A list of program requirements
- The fully functional deployed application (Correct answer)
Correct answer: The fully functional deployed application
The design phase produces plans and models; a fully deployed application is the output of development and deployment phases.
Question 5: A student surveys classmates to understand what features they want in a study app. This activity belongs to which phase of creative development?
- Testing
- Investigation (Correct answer)
- Deployment
- Maintenance
Correct answer: Investigation
Gathering user requirements through surveys is part of the investigation (research) phase.
Question 6: When two programmers work on the same project and one accidentally overwrites the other's changes, the best solution is to use:
- A shared document editor
- A version control system with branching (Correct answer)
- Email to send updated files back and forth
- A single file that only one person edits
Correct answer: A version control system with branching
Version control systems like Git use branching and merging to allow multiple developers to work without overwriting each other.
Question 7: What does it mean for a program to be 'user-centered' in its design?
- The program is written by the user
- Design decisions prioritize the needs, abilities, and preferences of end users (Correct answer)
- Only experienced programmers can use the program
- The program runs on user-owned hardware
Correct answer: Design decisions prioritize the needs, abilities, and preferences of end users
User-centered design places the end user's needs and experience at the core of all design decisions.
Which of the following scenarios best demonstrates incremental development?