Ace the free response questions on your AP Computer Science A exam with practice FRQs graded by Kai. Choose your subject below.
Knowt can make mistakes. Consider checking important information.

The best way to get better at FRQs is practice. Browse through dozens of practice AP Computer Science A FRQs to get ready for the big day.
Academic Course Management
Develop an academic course management system using inheritance. Create an abstract Course class with
Airline Reservations System
This question involves designing an AirlineReservations class to manage seat reservations on an airp
Animal Class Design
Implement the Animal class as described above.
Animal Sounds Hierarchy
Design a class hierarchy for representing animals and their sounds.
Animal Sounds Hierarchy
Design an animal sounds system using inheritance and polymorphism. Create an abstract Animal class w
Ant Colony Simulation
This problem simulates the movement and pheromone updating of an ant colony on a terrain grid.
Appliance Efficiency Analyzer
Design an appliance efficiency analyzer using inheritance. Create an abstract Appliance class with a
ArrayStatistics Utility Class
Implement the ArrayStatistics class as described below.
ArrayUtilities Class
This question involves designing an ArrayUtilities utility class for performing operations on intege
Art Exhibit
This question asks you to design an ArtExhibit class to represent an art exhibition show.
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Account Fee Calculator
Develop a bank account fee calculator using inheritance. Create an abstract BankAccount class with a
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Analyzer
Analyze bank transactions by summing deposits and withdrawals from an array of transaction amounts.
Bank Transaction Explorer
This question involves searching for transactions by transactionID in a bank system. You will implem
BankAccount Class Design
Implement the BankAccount class as described above.
Battlefield Strategy Grid
This question involves determining line-of-sight on a battlefield grid to decide if a unit can attac
Battlefield Troop Counter
The Battlefield class contains a 2D array of integers representing troop counts in different segment
BattleGrid Analysis
In this question, you will analyze a battleship board represented as a 2D array. Implement methods i
Battleship Board Analysis
This question involves a simplified Battleship game board represented by a 2D char array. In this bo
Battleship Board Scanner
This question requires scanning a 2D array representing a Battleship game board to identify ship clu
Beverage Preparation Hierarchy
Design a class hierarchy for beverage preparation.
Bike Sharing System
This question simulates a bike-sharing system. The BikeShare class maintains a HashMap to track the
Blueprint Analyzer
Develop methods in the BlueprintAnalyzer class to rotate a blueprint 90 degrees and to check if it i
Book Collection Manager
This question involves designing a BookCollection class for managing a collection of books, includin
Book Inventory Manager
This question asks you to design a Book class to manage book details in an inventory system.
Bookstore Item Discount Hierarchy
Design a class hierarchy for bookstore items with discount calculations.
BudgetTracker
Design a BudgetTracker class that helps manage expenses by category.
Campus Map Path Finder
This question involves analyzing a campus map represented as a 2D array. Implement methods in the Ca
Car Rental Service
This question asks you to design a CarRental class to model a car available for rent.
Chat Message Thread Organizer
This question involves processing chat messages recorded in a forum thread. You will implement metho
ChatBot Response System
This question involves designing a ChatBotResponseSystem class to simulate basic conversational resp
ChatRoom
Design a ChatRoom class that simulates a messaging environment for users.
Chess Knight Moves
This problem involves simulating the moves of a knight on a chessboard.
City Grid Energy Consumption Analyzer
Implement a method to identify a high energy consumption area in a city grid by detecting a submatri
City Metro Routing
This question involves developing methods for a MetroRouter class that assists in finding optimal tr
City Traffic Congestion
Develop a City Traffic Congestion analyzer to filter intersections with high delays and compute the
City Traffic Simulator
This question involves simulating traffic light updates at city intersections on a 2D grid. You will
City Weather Report
This question asks you to design a CityWeather class to represent weather reports for a city.
Classroom Seating Analyzer
This question requires scanning a 2D array representing classroom seating to determine the size of t
Coffee Shop Order
This question asks you to design a CoffeeOrder class to manage orders at a coffee shop.
CoffeeOrder Class Design
Implement the CoffeeOrder class as described above.
Conference Attendee Finder
Design search methods to locate conference attendees by their badge numbers using linear and binary
Container Shipping Scheduler
This question simulates scheduling container shipments in a logistics system. The ShippingScheduler
Contest Ranking System
Implement the sortScoresDescending and findTopTwoScores methods in the ContestRanker class.
Course Enrollment Sorter
Develop methods to sort courses by enrollment numbers using selection sort and merge sort.
Crop Health Analyzer
This question requires scanning a 2D array representing a farm field's crop health indices to evalua
Cuisine Dish Preparation Hierarchy
Design a class hierarchy for cuisine dish preparation.
Cybersecurity Intrusion Detector
This question involves detecting potential intrusions by validating IP addresses. You will implement
Data Encryption Simulator
This question simulates a simple data encryption system using a Caesar cipher. You will implement me
DataEncryption Utility Class
Implement the DataEncryption class as described below.
DataFormatter Utility Class
Implement the DataFormatter class as described below.
DateCalculator Utility Class
Implement the DateCalculator class as described below.
Digital Elevation Map Analyzer
This question involves analyzing a digital elevation map represented by a 2D array of integers. You
Digital Mosaic Generator
Develop methods in the DigitalMosaicGenerator class to create a mosaic effect by computing block ave
DigitalArt: Invert Colors
This question involves designing the DigitalArt class to invert the colors of a grayscale image. Imp
Dynamic Shopping Cart Simulator
This question simulates an online shopping cart scenario in which you must implement methods to dyna
Dynamic Temperature Monitor
This question involves developing methods for a TemperatureMonitor class to manage and analyze tempe
E-commerce Order Management
Develop an e-commerce order management system using inheritance. Create an abstract Order class with
E-commerce Order Tracker
Manage e-commerce orders by identifying high-value orders and applying discounts to applicable order
E-Commerce Price Analyzer
This FRQ involves processing product prices for an e-commerce platform. You will implement methods t
Election Ballot Organizer
This question involves organizing election ballots by sorting them with two different algorithms. Yo
Election Vote Counter
Implement the sortCandidatesByName and searchCandidateByName methods in the VoteCounter class.
Election Vote Tally
This question involves tallying votes from multiple precincts stored in a 2D array. Implement method
Email Management System
This question involves sorting emails by date and searching for an email by its subject. You will im
Employee Class Design
Implement the Employee class as described above.
Employee Record Finder
Sort employee records by salary and implement a binary search method to locate an employee by salary
Employee Salary Calculation Hierarchy
Design a class hierarchy to compute employee salaries.
EncryptionHelper Class
This question involves designing an EncryptionHelper utility class that performs simple Caesar ciphe
Energy Consumption Tracker
Design an Energy Consumption Tracker to filter erroneous readings and compute peak consumption.
EnergyConsumption
Design an EnergyConsumption class that records daily energy usage and computes consumption statistic
Environmental Pollution Monitor
This question involves developing a PollutionMonitor class that analyzes environmental pollution dat
Environmental Sensor Data Analyzer
Implement the sortReadings and findFirstOutlier methods in the SensorDataAnalyzer class.
Event Registration System
This FRQ focuses on managing event registration data. You will implement methods to sort participant
Event Scheduler
This question involves designing an EventScheduler class to manage and organize events on a timeline
Event Scheduling Simulator
Manage event schedules by detecting conflicts and removing conflicting events.
Event Seating Analyzer
Implement a method to count horizontal contiguous sequences of empty seats in an event seating chart
Event Timer and Alarm
This question involves managing alarm times in a sorted ArrayList. You will implement a method to in
ExpressionEvaluator Class
This question involves designing an ExpressionEvaluator utility class to evaluate arithmetic express
Factory Production Line Monitor
The ProductionMonitor class records machine outputs on a factory floor using a 2D integer array. Imp
Farm Field Irrigation
This question involves managing a farm field's moisture levels represented as a 2D array. Implement
FilmFrame: Time Lapse Overlap
This question involves designing the FilmFrame class to combine two film frames represented by 2D ar
Financial Portfolio Manager
This question involves designing a FinancialPortfolioManager class to track and analyze a portfolio
Financial Transaction Processor
Implement the sortTransactionsById and searchTransactionById methods in the TransactionProcessor cla
Fitness Activity Calories Calculation Hierarchy
Design a class hierarchy to calculate calories burned during fitness activities.
Fitness Tracker Data
Create a Fitness Tracker Data analyzer to compute minimum steps and summary statistics.
Flight Class Design
Implement the Flight class as described above.
Flood Fill Algorithm
This problem involves implementing a flood fill algorithm on a 2D grid representing an image.
Forest Fire Simulator
Implement methods to analyze forest fire spread using a grid. Identify contiguous fire clusters and
Fuel Consumption Tracker
Analyze fuel consumption readings by removing outlier values and computing the average consumption.
Game Item Shop
This question involves designing a GameItemShop class to simulate an online shop for virtual game it
Game of Life Pattern Detector
This question requires scanning a 2D array representing a Game of Life board to count the live neigh
GameBoardMirror: Invert Puzzle Board
This question involves designing the GameBoard class for a sliding puzzle game. Implement the mirror
Gaming Leaderboard Management
This FRQ involves managing a gaming leaderboard. You will implement methods to sort player scores in
Garden Layout Planner
This question involves planning a garden layout represented as a 2D grid and evaluating sprinkler co
Garden Plant Height Analysis
The GardenAnalyzer class manages a 2D array representing the heights of plants in a garden. Implemen
Garden Plot Watering Scheduler
This question involves managing a garden plot represented as a 2D array. Implement methods in the Ga
Gardening Tool Hierarchy
Design a class hierarchy for gardening tools.
Geometric Shapes Hierarchy
Design a class hierarchy for calculating the area of geometric shapes.
GeometryUtil Class
This question involves designing a GeometryUtil utility class that calculates areas of common geomet
Grayscale Image Edge Finder
This question requires scanning a 2D array representing a grayscale image to detect edge pixels base
Grid Explorer Simulation
This problem simulates an explorer navigating an island grid with treasures, obstacles, and varied t
Heat Map Cluster Detector
Implement methods to analyze a heat map grid. Determine if a cell is hot and compute the largest con
Hospital Patient Queue
Write two search methods to find patients by emergency level in a hospital queue.
Hospital Patient Record Management
This FRQ involves processing patient waiting times in a hospital. You will implement methods to sort
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
HTTPStatusHelper Class
This question involves designing an HTTPStatusHelper utility class that maps HTTP status codes to th
Image Edge Enhancer
Implement a method in the ImageEditor class that enhances the edges in an image by applying an edge
Image Flipper
Develop methods in the ImageEditor class to flip an image horizontally and vertically.
Image Smoothing Filter
Enhance the ImageEditor class by developing a smoothing filter that reduces noise in an image throug
ImageFlipper: Horizontal Flip
This question involves designing an ImageFlipper class to perform a horizontal flip on a 2D array re
ImageFlipper: Vertical Flip
This question involves extending the ImageFlipper class to include a vertical flip method. Implement
ImageTransformer: Combined Horizontal Flip and 90-Degree Rotation
This multi-part question involves designing an ImageTransformer class that performs multiple transfo
Inventory Item
This question asks you to design an InventoryItem class to represent an item in a store's inventory.
Inventory Item Locator
This question involves searching for items in an inventory system. You will implement the searchItem
Inventory Management System
Manage an inventory by removing expired items and computing the total value of the remaining stock.
Inventory Management System
This question involves managing an inventory system. You need to implement methods that update inven
Inventory Management System
Implement the sortItemsByID and searchItemByID methods in the InventoryManager class.
Inventory Manager
This question simulates inventory management in a warehouse. The Inventory class tracks items and th
InventoryFormatter Class
This question involves designing an InventoryFormatter utility class that formats inventory data int
Labyrinth Diagonal Pathfinder
This question focuses on diagonal traversal of a 2D array representing a labyrinth. Implement method
Library Book Finder
This question simulates a library system that retrieves books by their ISBN. You will complete the f
Library Book Inventory
Process a library's book inventory by counting overdue books and computing total overdue fines.
Library Book Manager
This question simulates a library book manager that handles book search functionality. You will comp
Library Catalog Advisor
Implement methods to sort a library catalog by publication year using selection sort and merge sort.
Library Floor Navigation
In this question, you will analyze a library floor plan represented as a 2D array. Implement methods
Library Item Checkout Hierarchy
Design a class hierarchy for library item checkout.
Library Item Management
Design a library item management system using inheritance. Create an abstract LibraryItem class with
Library Navigation Assistant
This question involves assisting with navigating a library, whose layout is represented as a 2D grid
Library Shelf Arrangement
The LibraryShelves class manages book placements on shelves using a 2D String array, where non-empty
LibraryCard Class Design
Implement the LibraryCard class as described above.
LogFormatter Class
This question involves designing a LogFormatter utility class for formatting and extracting informat
Logistics Delivery Routing
This question involves optimizing logistics delivery routes. You will implement methods to sort deli
Matrix Sum Calculator
This question involves writing methods to compute the sums of each row and column in a given matrix.
MatrixOperations Class
This question involves designing a MatrixOperations utility class for performing matrix multiplicati
Maze Navigator
The MazeNavigator class manages a maze represented as a 2D char array, where '#' represents a wall a
Maze Navigator
Implement a method to determine if a path exists through a maze represented as a 2D grid of open ('0
Maze Solver
This question involves designing a MazeSolver class that finds a path through a maze represented by
MedicalImage: Contrast Enhancement
This question involves designing the MedicalImage class to perform contrast enhancement on a graysca
Messaging System Interface
Design a messaging system using inheritance. Create an abstract Message class with an abstract metho
Mining Sensor Data Processor
This question involves designing a SensorData class that processes quantitative readings from mining
MosaicMaker: Pixelation Effect
This question involves designing the MosaicMaker class to create a pixelated version of an image. Im
Movie Ratings Analyzer
Compute the average rating from an ArrayList of movie ratings.
Movie Ticket Sorter
Develop methods to sort movie showings by start time using selection sort and merge sort.
Museum Exhibit Organizer
This question involves organizing museum exhibits by their estimated age. You will implement the mer
Museum Security Patrol
This problem simulates a museum guard’s patrol through a grid representing a museum layout.
Music Playlist Manager
This question involves designing a MusicPlaylistManager class to organize and manage a playlist of s
Music Playlist Organizer
Implement sorting methods to organize songs in a playlist by duration using bubble sort and merge so
Music Playlist Organizer
Implement the sortPlaylistAlphabetically and searchSongByTitle methods in the PlaylistOrganizer clas
Music Playlist Simulator
This question involves developing a method to simulate a music playlist using an ArrayList. You will
MusicPlaylist
Design a MusicPlaylist class that manages a playlist of songs with basic playback controls.
OceanSimulator: Wave Distortion
This question involves designing the OceanSimulator class to simulate wave distortions on a water su
Office Layout Navigation
This problem simulates an employee navigating through an office layout grid to find the exit.
Online Course Enrollment
This question involves managing course enrollments in an online learning system. You will implement
Online Course Feedback Analyzer
Implement the sortFeedbackScores and searchFeedbackScore methods in the FeedbackAnalyzer class.
Online Quiz System
This question involves implementing a QuizManager class to manage quiz questions, add new questions,
Online Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
Online Shopping Cart
This question involves managing an online shopping cart. You will implement methods to compute the t
Pac-Man Maze Simulation
This problem involves simulating Pac-Man's movement in a maze to collect pellets.
PacMan Maze Simulation
This question involves simulating a PacMan maze where both PacMan and ghosts move through a 2D grid.
Park Ranger's Patrol
This problem simulates a park ranger patrolling a park grid to monitor potential hazards.
Parking Lot Occupancy Detector
This question requires scanning a 2D array representing a parking lot to count empty parking spaces.
Parking Lot Occupancy Tracker
This question involves determining occupancy information for a parking lot represented as a 2D array
PasswordGenerator Class
This question involves designing a PasswordGenerator utility class that generates random passwords m
PasswordGenerator Utility Class
Implement the PasswordGenerator class as described below.
Payment Processing Hierarchy
Design a class hierarchy for processing payments.
Pixel Image Filter
This question involves processing an image stored as a 2D array of grayscale pixel values (ranging f
PixelArt: Color Quantization
This question involves designing the PixelArt class to perform color quantization on an image. Imple
Plant Growth Analysis
Design a plant growth analysis system using inheritance. Create an abstract Plant class with an abst
PolynomialEvaluator Utility Class
Implement the PolynomialEvaluator class as described below.
Product Class Design
Implement the Product class as described above.
Product Price Sorter
Design and implement two sorting methods to order a list of products by price.
Product Pricing Sorter
This question involves sorting product objects by price using two distinct sorting algorithms: selec
Product Review Analyzer
This question involves analyzing product reviews by sorting them based on ratings. You will complete
Public Transport Usage Analyzer
Analyze public transport usage by identifying routes with unusual surges based on passenger counts.
Public Transportation Scheduler
This question requires you to write methods to compute bus wait times for public transportation. You
Race Times Analysis
This FRQ involves analyzing race times stored in an ArrayList. You will implement methods to sort ra
Real Estate Analyzer
This question involves implementing a RealEstateAnalyzer class to compute the average property price
Real Estate Listing Analyzer
Implement the sortListingsByPrice and searchListingByPrice methods in the ListingAnalyzer class.
Real Estate Listings
This FRQ simulates a real estate listings management system. You will implement methods to sort list
RecipeOrganizer
Design a RecipeOrganizer class that manages a collection of recipes and their ingredients.
Recycling Center Material Sorter
Implement the sortMaterialsByType and searchMaterialByType methods in the MaterialSorter class.
Restaurant Order Processor
This question involves processing restaurant orders by computing the total cost of items in an order
RestaurantOrder Class Design
Implement the RestaurantOrder class as described above.
Retail Inventory Empty Shelf Detector
Implement a method to check which rows in a retail inventory grid are completely empty.
Retail Inventory Manager
Implement methods to manage retail inventory by sorting items by stock quantity and searching for an
Retail Mall Floor Plan Analyzer
Implement a method to detect a cluster of food court cells in a retail mall floor plan grid.
Retail Sales Analyzer
Develop a Retail Sales Analyzer to filter low sales and compute sales statistics.
Robot Vacuum Floor Scanner
This question requires scanning a 2D array representing a home floor plan to simulate a robot vacuum
Sales Performance Analysis
This FRQ involves analyzing sales figures. You will implement methods to sort sales figures in desce
Satellite Image Analyzer
Enhance the analysis of satellite imagery by implementing methods to flip an image horizontally and
Score Analyzer
This question involves implementing the ScoreAnalyzer class to compute average scores and count the
SecurityCam: Blur Filter
This question involves designing the SecurityCam class to apply a blur filter on a grayscale securit
Sensor Data Filter
Filter sensor readings by removing values below a specified threshold.
Sensor Data Processor
This question involves designing a SensorDataProcessor class to handle and analyze data from multipl
Smart Device Hierarchy
Design a class hierarchy for smart devices.
Soccer Field Tactics Simulator
This question involves determining if a clear path exists between two points on a soccer field repre
Soccer League Ranking
This question involves managing a soccer league. You will implement methods for the SoccerLeague cla
Social Media Friend Search
Design search methods to find user profiles by username using linear and binary search.
Social Media Post Summaries
Design a social media content system using inheritance. Create an abstract Post class with an abstra
SocialNetwork
Design a SocialNetwork class that manages user registrations and friend relationships.
Sports Statistics Tracker
This FRQ involves tracking sports statistics for a player. You will implement methods to sort game p
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Team Ranking
This question involves ranking sports teams by their number of wins. You will implement the selectio
Sports Team Stats
Update player statistics by adjusting scores and identifying the highest scorer.
Sports Tournament Scheduler
Design a Sports Tournament Scheduler to update team points and determine the top team.
StatisticsHelper Class
This question involves designing a StatisticsHelper utility class to compute basic statistical metri
Stock Market Analyzer
This question involves designing a MarketAnalyzer class that processes daily stock prices and uses s
Stock Market Trend Analyzer
This question involves analyzing stock price data using advanced array manipulation techniques. You
StockTracker
Design a StockTracker class that records stock prices and computes moving averages.
StockTracker Simulation
This question involves designing a StockTracker class to monitor the stock prices of various compani
StringAnalyzer Class
This question involves designing a StringAnalyzer utility class that performs various string manipul
StringParser Utility Class
Implement the StringParser class as described below.
Student Class Design
Implement the Student class as described above.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
Student Grades Sorting
This FRQ involves processing a list of student exam scores. You will implement methods to sort score
Student Record
This question asks you to design a Student class to record student information.
Student Record System
This question simulates the management of student records. The StudentRecords class maintains parall
Student Test Score Analyzer
This question involves analyzing student test scores by sorting and searching them. You will complet
Survey Data Processor
Analyze survey responses by computing frequency distribution and determining the most common respons
TemperatureConverter Utility Class
Implement the TemperatureConverter class as described below.
TerrainMap: Elevation Smoothing
This question involves designing a TerrainMap class that smooths a 2D array representing terrain ele
TextStatistics Class
This question involves designing a TextStatistics utility class that analyzes text data using static
Ticket Booking System
This question simulates a seat booking system for events. The TicketBooking class manages a two-dime
Traffic Congestion Zone Detector
This question requires scanning a 2D array representing traffic densities to count contiguous zones
Traffic Flow Analyzer
This FRQ involves analyzing traffic data by managing vehicle count numbers. You will implement metho
Traffic Flow Analyzer
This question involves developing a TrafficFlowAnalyzer class to evaluate traffic data collected by
Traffic Grid Simulator
This problem involves developing a simulation for vehicle movement within a city traffic grid.
Traffic Monitoring System
Develop methods to sort traffic data by vehicle speed and search for a vehicle with a specific speed
Traffic Violation Record Search
Implement the sortRecordsByLicensePlate and searchRecordByLicensePlate methods in the ViolationRecor
TrafficMap: Route Highlighter
This question involves designing the TrafficMap class to highlight a route on a city grid represente
TrafficMonitor
Design a TrafficMonitor class that tracks vehicle counts on various roads and identifies peak traffi
Transportation Ticketing System
Design a ticketing system using inheritance. Create an abstract Ticket class with an abstract method
Underwater Volcano Detector
This question requires scanning a 2D array representing ocean floor elevation to identify volcano pe
UnitConverter Utility Class
Implement the UnitConverter class as described below.
Urban Building Cluster Analyzer
This question requires scanning a 2D array representing a city map to count clusters of a specified
Vehicle Hierarchy
Design a class hierarchy for vehicles.
Vehicle Hierarchy System
Design a vehicle hierarchy using inheritance and polymorphism. Create an abstract Vehicle class and
VideoGame Class Design
Implement the VideoGame class as described above.
Virtual Garden Planner
This question involves developing a method for a Virtual Garden Planner to select plants based on th
Virus Spread Simulation
This question simulates the spread of a virus over a series of days. You will implement methods to p
Warehouse Inventory Tracker
The Warehouse class manages a 2D array representing the count of boxes in different warehouse sectio
Weather Data Analysis
This question involves analyzing weather temperature data using sliding window techniques. You will
Weather Data Analysis
This FRQ focuses on using an ArrayList of temperature readings. You will implement methods to sort t
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
Weather Data Analyzer
This question involves analyzing weather data represented as a 2D array of temperature readings. You
Weather Data Analyzer
Implement the sortTemperatures and getTemperatureRange methods in the WeatherDataAnalyzer class.
Weather Forecast Hierarchy
Design a class hierarchy for weather forecasts.
WeatherMap: Temperature Gradient
This question involves designing a WeatherMap class to apply a temperature gradient to a 2D array re
WeatherReport Class Design
Implement the WeatherReport class as described above.
Everyone is relying on Knowt, and we never let them down.



We have over 5 million resources across various exams, and subjects to refer to at any point.
We’ve found the best flashcards & notes on Knowt.
We thought you might have some questions...