WorksheetsQUIZ APCSP 1
Total questions: 25
Worksheet time: 28mins
A team is developing a new mobile app. They create a simple, clickable model that shows the user interface and flow between screens, but it has no real functionality. This model is best described as a:
Final algorithm
Prototype
Debugging report
Data set
The process of identifying and correcting errors in a computer program is known as:
Debugging
Documenting
Prototyping
Iterating
You find a piece of code online written by another developer. What is the best practice for using it in your own project while avoiding plagiarism?
Copy the code exactly, as anything online is free to use.
Change the variable names to make the code look different.
Use the code but provide attribution or citation to the original author in your documentation.
Re-type the code manually instead of copying and pasting it.
Which of the following best describes an iterative development process?
A process where the entire program is designed, built, and tested in one single sequence.
A process that focuses only on user feedback after the product is fully launched.
A process that repeats cycles of designing, prototyping, and testing to refine a solution.
A process where development is outsourced to many different collaborators.
A team is building an app to help students manage their homework. The app needs to store deadlines, subject names, and task descriptions. This information is considered the app's:
Algorithm
Data
Output
Processor
A software development team is building a complex navigation app for hikers. They decide to release a basic version with only trail mapping first. After gathering user feedback for a month, they plan to add an elevation tracking feature, and later, a weather alert feature. This approach primarily demonstrates which computing concept?
Top-down design, because the most complex features are planned last.
Iterative development, because the app is refined and expanded in cycles based on feedback.
Data abstraction, because the user does not see how the map data is stored.
Debugging, because they are using feedback to find flaws in the initial version.
A team is building a medical records system. They decide to use a pre-built, third-party database module to handle all data storage and retrieval. This decision is a form of:
Abstraction
Iteration
Debugging
User-centered design
Which of the following scenarios best illustrates the benefit of collaboration over individual work in solving a complex computational problem?
A single programmer writes code faster and with fewer syntax errors when working alone.
A programmer finds and fixes a logical error in their own code after stepping away for an hour.
One developer builds the user interface, while another developer builds the database, allowing them to finish the project in parallel.
A team of programmers all review a single algorithm and, by combining their different perspectives, identify a critical security flaw that one person missed.
A large software project for an airline's booking system is divided into modules: one for user authentication, one for flight searches, and one for payment processing. Different teams develop these modules concurrently and then integrate them. This strategy primarily addresses the challenge of:
Managing project complexity
Determining the program's purpose
Preventing all logic errors
Ensuring user data is biased
A program is written to calculate a 5% discount. The line of code is totalCost = price 0.95;. The programmer intended to give a 5% discount but accidentally wrote code that charges 95% of the price (which is correct). The program runs perfectly without crashing. If the programmer had instead written totalCost = price * .05; (charging only 5%), this would be an example of what type of error?
syntax error
runtime error
logic error
attribution error
A development team releases their new photo-sharing app to a small group of 50 trusted users. They collect detailed feedback on the app's features, usability, and bugs before releasing it to the general public. This small-scale release is best described as:
A beta test
The final product launch
A debugging session
A requirements document
A program is created with the purpose of helping scientists analyze weather data. However, financial analysts discover the program and begin using its powerful statistical tools to predict stock market trends. This new use by financial analysts is an example of ?
A flaw in the program's function.
An unintended application or purpose for the computational artifact.
A failure of the iterative development process.
A program that cannot be debugged.
A team creates a new video game. Which of the following components of the project would NOT be considered a computational artifact?
The program's source code for the game logic.
The digital sound files used for the game's music.
A brainstorming discussion among the team members about a potential new character.
The 3D models of the characters used in the game.
A developer finds a code library online with an "MIT License" (a type of open-source license). This license explicitly grants permission to "use, copy, modify, merge, publish, distribute..." the software. Which of the following is the most likely and common condition for using such a library?
The developer's new program must also be licensed as open-source.
The developer must not modify the original library code in any way.
The developer must include a copy of the original license and copyright notice in their software.
The developer must pay the original author a royalty for every copy sold.
A program's quality assurance (QA) team runs 1,000 different tests, including edge cases and invalid inputs. The program passes every test. Which conclusion is the most accurate?
The program is now certified to be 100% free of all bugs
The program has no syntax errors, but may still contain logic errors.
The program is free of runtime errors for the 1,000 test cases used, but its correctness for other inputs is not guaranteed.
The program's development process was not iterative.
Two programmers, Anya and Ben, are working together using a technique called pair programming. Anya is the "driver," writing the code, while Ben is the "navigator," reviewing each line as it's typed and considering the overall design. What is the primary benefit of this specific collaborative method?
It eliminates the need for all other forms of testing.
It functions as a continuous, real-time code review, catching errors and design flaws immediately.
It guarantees that the program will be completed in half the time.
It is only useful for training a junior programmer (the driver) by a senior programmer (the navigator).
A development team is building a complex air traffic control system. They spend the first six months creating a 500-page document that describes every single feature, function, and requirement. They do not write any code until this document is fully approved. This development model (a "Waterfall" model) has a significant disadvantage compared to an iterative model, which is ?
It requires the use of a specific programming language.
It makes it very difficult and costly to incorporate user feedback or respond to changing requirements once development has begun.
It produces code that is less abstract than an iterative model.
It is a faster process for projects with unclear goals.
A company builds an AI program to help doctors diagnose a specific skin condition. The program is trained exclusively using a dataset of 10,000 images from patients with light skin tones. What is the most likely and significant risk of deploying this program in a hospital?
The program will be computationally slow because the dataset is too large.
The program may have a high rate of misdiagnosis for patients with darker skin tones due to biased training data.
The program will violate copyright laws because it used patient images.
The program will be impossible to debug because it is an AI.
A developer is building a large application and decides to use a pre-existing, open-source code library to manage the app's user login system. What is the most significant trade-off of this decision?
The developer saves time by not having to "reinvent the wheel," but they now depend on the library's author for updates and security patches.
The application will now only work on the specific computer the library was built on.
The developer is now legally required to make their entire application open-source.
Using any external library is considered plagiarism.
A smart home security system's main processor runs a program. The program receives input from a door sensor (which sends a '1' if the door is open) and a motion detector (which sends a '1' if motion is detected). If both inputs are '1', the program sends an 'on' signal to an alarm siren. Which of the following is best classified as a program output?
The '1' from the door sensor.
The '1' from the motion detector.
The 'on' signal sent to the alarm siren.
The '1's stored in the program's memory.
A student plans to create a program that helps users organize their study schedule.
Which two actions are part of the program development process?
Writing pseudocode to describe the program’s logic
Ignoring user feedback to save time
Testing the program for errors
Memorizing programming syntax
During app development, one student focuses on designing user-friendly layouts, while another writes the core code for calculations.
Which two practices show effective collaboration in creative development?
Dividing tasks based on each member’s strength
Working separately without communication
Regularly sharing progress and feedback
Having one person redo everyone’s work
A student designs a program that suggests recipes based on available ingredients. After creating the first version, the student collects feedback from several users, identifies confusing interface elements, and makes improvements.
Which two principles of iterative development are shown here?
Completing all coding before testing
Refining a program based on user feedback
Repeating the process to improve design and usability
Avoiding changes once the program is complete
A development team uses data from early users to decide which new features to add. They also use this feedback to remove unnecessary parts of the program.
Which two practices demonstrate data-driven decision making during creative development?
Modifying program features based on user data
Adding features based only on personal opinion
Using analytics to evaluate user behavior
Ignoring feedback that contradicts the original idea
A group of developers is creating an app that recommends local volunteer opportunities. To ensure inclusivity, they test the app with users from diverse backgrounds and analyze feedback about accessibility and language use.
Which two actions best demonstrate ethical considerations in the creative development process?
Reviewing feedback to avoid bias in recommendations
Collecting personal user data without their consent
Ignoring user reports about accessibility issues to save time
Designing the interface to be usable by people with visual impairments
