Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

QUIZ APCSP 1

Total questions: 25

Worksheet time: 28mins

Name
Class
Date
1.

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:

a)

Final algorithm

b)

Prototype

c)

Debugging report

d)

Data set

2.

The process of identifying and correcting errors in a computer program is known as:

a)

Debugging

b)

Documenting

c)

Prototyping

d)

Iterating

3.

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?

a)

Copy the code exactly, as anything online is free to use.

b)

Change the variable names to make the code look different.

c)

Use the code but provide attribution or citation to the original author in your documentation.

d)

Re-type the code manually instead of copying and pasting it.

4.

Which of the following best describes an iterative development process?

a)

A process where the entire program is designed, built, and tested in one single sequence.

b)

A process that focuses only on user feedback after the product is fully launched.

c)

A process that repeats cycles of designing, prototyping, and testing to refine a solution.

d)

A process where development is outsourced to many different collaborators.

5.

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:

a)

Algorithm

b)

Data

c)

Output

d)

Processor

6.

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?

a)

Top-down design, because the most complex features are planned last.

b)

Iterative development, because the app is refined and expanded in cycles based on feedback.

c)

Data abstraction, because the user does not see how the map data is stored.

d)

Debugging, because they are using feedback to find flaws in the initial version.

7.

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:

a)

Abstraction

b)

Iteration

c)

Debugging

d)

User-centered design

8.

Which of the following scenarios best illustrates the benefit of collaboration over individual work in solving a complex computational problem?

a)

A single programmer writes code faster and with fewer syntax errors when working alone.

b)

A programmer finds and fixes a logical error in their own code after stepping away for an hour.

c)

One developer builds the user interface, while another developer builds the database, allowing them to finish the project in parallel.

d)

A team of programmers all review a single algorithm and, by combining their different perspectives, identify a critical security flaw that one person missed.

9.

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:

a)

Managing project complexity

b)

Determining the program's purpose

c)

Preventing all logic errors

d)

Ensuring user data is biased

10.

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?

a)

syntax error

b)

runtime error

c)

logic error

d)

attribution error

11.

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)

A beta test

b)

The final product launch

c)

A debugging session

d)

A requirements document

12.

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)

A flaw in the program's function.

b)

An unintended application or purpose for the computational artifact.

c)

A failure of the iterative development process.

d)

A program that cannot be debugged.

13.

A team creates a new video game. Which of the following components of the project would NOT be considered a computational artifact?

a)

The program's source code for the game logic.

b)

The digital sound files used for the game's music.

c)

A brainstorming discussion among the team members about a potential new character.

d)

The 3D models of the characters used in the game.

14.

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?

a)

The developer's new program must also be licensed as open-source.

b)

The developer must not modify the original library code in any way.

c)

The developer must include a copy of the original license and copyright notice in their software.

d)

The developer must pay the original author a royalty for every copy sold.

15.

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?

a)

The program is now certified to be 100% free of all bugs

b)

The program has no syntax errors, but may still contain logic errors.

c)

The program is free of runtime errors for the 1,000 test cases used, but its correctness for other inputs is not guaranteed.

d)

The program's development process was not iterative.

16.

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?

a)

It eliminates the need for all other forms of testing.

b)

It functions as a continuous, real-time code review, catching errors and design flaws immediately.

c)

It guarantees that the program will be completed in half the time.

d)

It is only useful for training a junior programmer (the driver) by a senior programmer (the navigator).

17.

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 ?

a)

It requires the use of a specific programming language.

b)

It makes it very difficult and costly to incorporate user feedback or respond to changing requirements once development has begun.

c)

It produces code that is less abstract than an iterative model.

d)

It is a faster process for projects with unclear goals.

18.

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?

a)

The program will be computationally slow because the dataset is too large.

b)

The program may have a high rate of misdiagnosis for patients with darker skin tones due to biased training data.

c)

The program will violate copyright laws because it used patient images.

d)

The program will be impossible to debug because it is an AI.

19.

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?

a)

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.

b)

The application will now only work on the specific computer the library was built on.

c)

The developer is now legally required to make their entire application open-source.

d)

Using any external library is considered plagiarism.

20.

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?

a)

The '1' from the door sensor.

b)

The '1' from the motion detector.

c)

The 'on' signal sent to the alarm siren.

d)

The '1's stored in the program's memory.

21.

A student plans to create a program that helps users organize their study schedule.
Which two actions are part of the program development process?

a)

Writing pseudocode to describe the program’s logic

b)

Ignoring user feedback to save time

c)

Testing the program for errors

d)

Memorizing programming syntax

22.

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?

a)

Dividing tasks based on each member’s strength

b)

Working separately without communication

c)

Regularly sharing progress and feedback

d)

Having one person redo everyone’s work

23.

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?

a)

Completing all coding before testing

b)

Refining a program based on user feedback

c)

Repeating the process to improve design and usability

d)

Avoiding changes once the program is complete

24.

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?

a)

Modifying program features based on user data

b)

Adding features based only on personal opinion

c)

Using analytics to evaluate user behavior

d)

Ignoring feedback that contradicts the original idea

25.

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?

a)

Reviewing feedback to avoid bias in recommendations

b)

Collecting personal user data without their consent

c)

Ignoring user reports about accessibility issues to save time

d)

Designing the interface to be usable by people with visual impairments