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.
Agricultural Field Monitor
Implement the applyVegetationFilter method in the AgriculturalFieldMonitor class to classify crop he
Agricultural Land Analysis
Implement a method to identify the 2x2 submatrix with the highest total crop yield in an agricultura
Airline Ticket Price Calculator
This question involves calculating airline ticket prices. You will implement methods to compute the
Animal Sounds Hierarchy
Design an animal sounds system using inheritance and polymorphism. Create an abstract Animal class w
Animal Sounds Hierarchy
Design a class hierarchy for representing animals and their sounds.
Appliance Efficiency Analyzer
Design an appliance efficiency analyzer using inheritance. Create an abstract Appliance class with a
ArrayUtilities Class
This question involves designing an ArrayUtilities utility class for performing operations on intege
Art Collection Organizer
This question involves organizing an art collection by the year each piece was created. You will imp
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 Account Manager
This question requires you to compute interest on a set of bank accounts. You will implement methods
Bank Transaction Analyzer
Analyze bank transactions by summing deposits and withdrawals from an array of transaction amounts.
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Processor
This question simulates processing transactions within a bank. The TransactionProcessor class manage
Battlefield Strategy Grid
This question involves determining line-of-sight on a battlefield grid to decide if a unit can attac
BattleGrid Analysis
In this question, you will analyze a battleship board represented as a 2D array. Implement methods i
Battleship Navigation
This problem involves simulating the navigation of a battleship through an ocean grid with obstacles
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 Collection Organizer
This question involves managing a book collection using an ArrayList. You will implement methods to
Bookstore Inventory Organizer
This FRQ focuses on organizing bookstore inventory data. You will implement methods to sort book tit
BudgetTracker
Design a BudgetTracker class that helps manage expenses by category.
Bus Route Scheduler
This question simulates managing a bus route schedule. You will implement methods to search for a bu
Calendar Event Conflict Resolver
This question involves developing methods for a CalendarScheduler class that manages event schedulin
Campus Navigation Helper
This question involves finding the shortest route on a campus map represented as a 2D grid. You will
Car Class Design
Implement the Car class as described above.
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
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
ChessKnight Moves
This question involves calculating all possible moves for a knight on a chessboard from a given posi
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 Grid Analysis
This question uses a 2D character array representing a city traffic grid, where 'C' indicates a car
City Traffic Simulator
This question involves simulating traffic light updates at city intersections on a 2D grid. You will
CoffeeOrder Class Design
Implement the CoffeeOrder class as described above.
ComplexNumberOperations Utility Class
Implement the ComplexNumberOperations class as described below.
Concert Ticket
This question asks you to design a ConcertTicket class to represent tickets for a concert event.
Course Enrollment Hierarchy
Design a class hierarchy for course enrollments.
Crop Health Analyzer
This question requires scanning a 2D array representing a farm field's crop health indices to evalua
Cryptography Tool
This question simulates a simple cryptography tool that uses a Caesar cipher to encrypt messages. Th
Cybersecurity Intrusion Detector
This question involves detecting potential intrusions by validating IP addresses. You will implement
Data Compression Implementation
This question involves implementing simple data compression and decompression methods using run-leng
Data Encryption Simulator
This question simulates a simple data encryption system using a Caesar cipher. You will implement me
Digital Art Transformer
This question involves transforming a digital art image represented as a 2D array of grayscale pixel
Digital Image Edge Detector
Implement a method to detect an edge in a digital image represented as a 2D array of pixel brightnes
Digital Library Borrowing Data
This FRQ involves analyzing borrowing data from a digital library. You will implement methods to sor
DigitalArt: Invert Colors
This question involves designing the DigitalArt class to invert the colors of a grayscale image. Imp
Drone Delivery System
This problem simulates a drone delivery system that navigates through a city grid with obstacles.
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 Product Sorter
Implement the sortProductsByName and searchProductByName methods in the ProductSorter class.
E-commerce Transaction Validator
This question revolves around the validation of e-commerce transactions using credit card verificati
E-Mail Filter
Filter an ArrayList of email messages to remove those containing the keyword 'spam'.
Earthquake Intensity Map Analyzer
This question requires scanning a 2D array representing earthquake intensity readings to identify hi
ECommerceOrderTracker
Design an ECommerceOrderTracker class that manages orders and tracks their statuses.
Election Ballot Organizer
This question involves organizing election ballots by sorting them with two different algorithms. Yo
Election Results Processor
This question involves implementing an ElectionResults class to tally votes and determine the winnin
Election Vote Tally
This question involves tallying votes from multiple precincts stored in a 2D array. Implement method
Elevator Simulation
This question simulates an elevator system. The ElevatorSystem class tracks the current floor of an
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 Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
Employee Salary Calculation Hierarchy
Design a class hierarchy to compute employee salaries.
Employee Salary System
Design an employee salary system using inheritance. Create an abstract Employee class with an abstra
Employee Schedules Organizer
Implement the sortShifts and searchShift methods in the EmployeeSchedule class.
Employee Timesheet Processor
This question involves implementing a TimesheetProcessor class to compute total work hours and ident
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 Sensor Data Analyzer
Implement the sortReadings and findFirstOutlier methods in the SensorDataAnalyzer class.
Environmental Sensor Readings
Develop a sensor reading system using inheritance. Create an abstract Sensor class with an abstract
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
Exam Grader Automation
This question involves designing an ExamGrader class to automatically grade multiple choice exams ba
Factory Production Line Monitor
The ProductionMonitor class records machine outputs on a factory floor using a 2D integer array. Imp
Farm Cluster Detector
This question requires scanning a 2D array representing a farm field to detect clusters of the same
Farm Field Irrigation
This question involves managing a farm field's moisture levels represented as a 2D array. Implement
FileProcessor Class
This question involves designing a FileProcessor utility class that deals with text file content pro
FileProcessor Utility Class
Implement the FileProcessor class as described below.
FilmFrame: Time Lapse Overlap
This question involves designing the FilmFrame class to combine two film frames represented by 2D ar
Financial Transaction Processor
Implement the sortTransactionsById and searchTransactionById methods in the TransactionProcessor cla
Fitness Tracker
This question asks you to design a FitnessTracker class to represent the data collected by a wearabl
Fitness Tracker Data
Create a Fitness Tracker Data analyzer to compute minimum steps and summary statistics.
Fitness Tracker Data Analyzer
This question requires you to develop a FitnessTracker class that processes daily step counts record
Flight Booking System
Implement the sortBookingsByDeparture and searchBookingByFlightNumber methods in the FlightBookingSy
Flight Reservation System
This question involves designing a FlightReservation class to manage seat bookings, cancellations, a
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
Game Item Shop
This question involves designing a GameItemShop class to simulate an online shop for virtual game it
Gaming Leaderboard Management
This FRQ involves managing a gaming leaderboard. You will implement methods to sort player scores in
Garden Layout Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
Garden Plant Height Analysis
The GardenAnalyzer class manages a 2D array representing the heights of plants in a garden. Implemen
Gardening Tool Hierarchy
Design a class hierarchy for gardening tools.
Geographic Location Lookup
Develop search methods to filter cities based on population thresholds using linear and binary searc
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
Gym Membership Tracker
This question involves implementing a MembershipTracker class to update member statuses and generate
Hospital Patient Queue
Write two search methods to find patients by emergency level in a hospital queue.
Hospital Patient Tracker
Track hospital patients by filtering critical cases and computing the average stay duration.
House Listing
This question asks you to design a House class to model real estate listings.
HTTPStatusHelper Class
This question involves designing an HTTPStatusHelper utility class that maps HTTP status codes to th
Ice Cream Flavor Finder
This question involves analyzing an ice cream parlor’s flavor distribution grid. Implement methods t
Image Flipper
Develop methods in the ImageEditor class to flip an image horizontally and vertically.
Image Rotator
Develop methods in the ImageEditor class to rotate an image by 90 degrees and 180 degrees.
ImageFilter: Edge Detection Filter
This question involves designing an ImageFilter class to perform edge detection on a 2D array repres
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 creating an inventory management system that uses ArrayLists to maintain a dy
Inventory Management System
This question involves managing an inventory system. You need to implement methods that update inven
Inventory Manager
This question simulates inventory management in a warehouse. The Inventory class tracks items and th
Inventory Tracker
This question involves implementing an InventoryTracker class to manage product stocks and trigger r
InventoryManager
Design an InventoryManager class that tracks products and their quantities in a store.
Labyrinth Diagonal Pathfinder
This question focuses on diagonal traversal of a 2D array representing a labyrinth. Implement method
Lawn Mower Simulator
This problem simulates a lawn mower navigating a garden grid that includes obstacles such as flower
Library Book Manager
This question simulates a library book manager that handles book search functionality. You will comp
Library Book Search
This question focuses on designing a Library class that stores Book objects. You will implement a me
Library Book Sorter
Implement two methods to sort library books by title using Bubble Sort and Insertion Sort.
Library Catalog Advisor
Implement methods to sort a library catalog by publication year using selection sort and merge sort.
Library Item Management
Design a library item management system using inheritance. Create an abstract LibraryItem class with
Library Loan Duration Analyzer
Create a Library Loan Duration Analyzer to remove overdue loans and compute the average loan duratio
Library Locator
Implement a method to locate the nearest library in a 2D city map grid.
LogFormatter Class
This question involves designing a LogFormatter utility class for formatting and extracting informat
MathUtil Class
This question involves designing a MathUtil utility class that provides several mathematical computa
MathUtilities Utility Class
Implement the MathUtilities class as described below.
MatrixOperations Utility Class
Implement the MatrixOperations class as described below.
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
Medical Imaging Tumor Scanner
This question requires scanning a 2D array representing an image to detect tumor regions based on pi
MedicalImage: Contrast Enhancement
This question involves designing the MedicalImage class to perform contrast enhancement on a graysca
Meteorological Observation Grid
This question involves processing a 2D grid of temperature observations. You will implement a method
Meteorological Storm Cell Detector
This question requires scanning a 2D array of radar data to identify storm cells based on intensity
Mining Sensor Data Processor
This question involves designing a SensorData class that processes quantitative readings from mining
Mobile App Notification System
Design a mobile app notification system using inheritance. Create an abstract Notification class wit
Movie Rating Aggregator
This question involves writing a MovieRatingAggregator class that collects and processes movie ratin
Movie Ratings Analyzer
Compute the average rating from an ArrayList of movie ratings.
Movie Theater Seat Reservation
This question examines seating arrangements in a movie theater using a 2D array. Implement methods i
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 Organizer
Implement the sortPlaylistAlphabetically and searchSongByTitle methods in the PlaylistOrganizer clas
Music Playlist Organizer
This question focuses on managing a music playlist stored in an ArrayList. You will implement a meth
MusicPlaylist
Design a MusicPlaylist class that manages a playlist of songs with basic playback controls.
MusicTrack Class Design
Implement the MusicTrack class as described above.
Network Packet Analyzer
This question involves analyzing network packet latencies using array processing techniques. You wil
Ocean Floor Depth Mapping
The DepthMapper class records ocean floor depths in a 2D double array. Implement methods to determin
OceanSimulator: Wave Distortion
This question involves designing the OceanSimulator class to simulate wave distortions on a water su
Online Course Enrollment
This FRQ deals with managing course enrollment numbers for online classes. You will implement method
Online Shopping Cart
This question asks you to design a ShoppingCart class to model a shopping cart in an online store.
Online Shopping Cart
This question involves managing an online shopping cart. You will implement methods to compute the t
Parcel Delivery Optimization
This FRQ involves the management of parcel weights in a delivery system. You will implement methods
Park Ranger Monitoring Layout
This question involves calculating the number of trees visible from a given point in a park layout r
Parking Lot Grid Management
The ParkingLot class models a parking lot using a 2D boolean array where true indicates an occupied
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.
PasswordValidator Utility Class
Implement the PasswordValidator class as described below.
Planet Surface Rover Simulator
This question involves simulating a rover navigating the surface of a planet represented as a 2D gri
PolynomialUtils Class
This question involves designing a PolynomialUtils utility class to evaluate polynomials using stati
Product Inventory System
This FRQ simulates a product inventory system. You will implement methods to sort an ArrayList of pr
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
Production Quality Control
Assess production quality by counting defective items and identifying their indices.
Public Transport Usage Analyzer
Analyze public transport usage by identifying routes with unusual surges based on passenger counts.
Race Timing Analyzer
Determine the fastest race time from an array of finish times.
Rainfall Data Processing
This question deals with processing a 2D array of rainfall data. The RainfallAnalyzer class stores r
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.
Recipe Scaler
This question involves implementing the RecipeScaler class with a method that scales ingredient meas
RecipeOrganizer
Design a RecipeOrganizer class that manages a collection of recipes and their ingredients.
Restaurant Order Processing
This question involves managing a restaurant's order queue using an ArrayList. You will implement me
Restaurant Order Processing
This FRQ entails managing restaurant orders represented as monetary amounts. You will implement meth
Restaurant Table Reservation Grid
The ReservationSystem class uses a 2D boolean array to represent table reservations in a restaurant,
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
Robot Maze Navigation
This problem simulates navigating a robot through a maze with obstacles.
Robot Navigation Simulator
This question involves designing a RobotNavigator class that simulates movement in a grid and determ
Robot Task Performance Hierarchy
Design a class hierarchy for robots performing various tasks.
Room Temperature Monitor
This question involves analyzing room temperature data stored in a 2D array. Implement methods in th
Sales Performance Analysis
This FRQ involves analyzing sales figures. You will implement methods to sort sales figures in desce
SatelliteImage: Grid Resizing
This question involves designing the SatelliteImage class to resize a 2D image grid by doubling its
Seating Arrangement Checker
This question involves checking seating arrangements represented as a 2D array. Implement methods in
SecurityCam: Blur Filter
This question involves designing the SecurityCam class to apply a blur filter on a grayscale securit
Sensor Data Noise Filter
This question involves developing methods for a SensorFilter class to remove noise from sensor data.
Smart City Parking Assistant
This question involves managing parking spot assignments in a smart city environment. You are to imp
Smart Home Energy Monitor
This question involves designing an EnergyMonitor class that processes smart home energy usage data
Smart Home Energy Monitor
This question simulates a smart home energy monitoring system. The EnergyMonitor class analyzes hour
Smartphone Class Design
Implement the Smartphone class as described above.
Soccer League Ranking
This question involves managing a soccer league. You will implement methods for the SoccerLeague cla
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
Social Media Engagement Tracker
Develop a Social Media Engagement Tracker to filter trending posts and compute the median number of
Social Media Friend Search
Design search methods to find user profiles by username using linear and binary search.
Social Media Post Analyzer
Determine the index of the most liked social media post from an array of like counts.
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Network Analyzer
This question involves designing a SocialNetworkAnalyzer class to analyze friendship networks and su
Space Explorer Grid
This problem simulates a space explorer navigating a sector grid of space filled with obstacles and
Sports Equipment Hierarchy
Design a class hierarchy for modeling sports equipment usage.
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Team Stats
Update player statistics by adjusting scores and identifying the highest scorer.
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
Student Grades Sorting
This FRQ involves processing a list of student exam scores. You will implement methods to sort score
Student Record System
This question simulates the management of student records. The StudentRecords class maintains parall
Student Records Processor
This question simulates processing student records using two different search methods: linear search
Student Search Database
Implement linear and binary search methods to locate a student record by ID in a database.
Student Test Score Analyzer
This question involves analyzing student test scores by sorting and searching them. You will complet
Submarine Sonar Anomaly Detector
Implement a method to detect a linear anomaly pattern in submarine sonar data represented as a 2D gr
Survey Data Processor
Analyze survey responses by computing frequency distribution and determining the most common respons
TaskManager
Design a TaskManager class that tracks tasks and their completion status for project management.
TeamStats
Implement methods to sort sports teams by their win-loss records and search for a team by name.
Temperature Data Analyzer
Develop a Temperature Data Analyzer that manipulates an array of temperature readings.
TemperatureConverter Utility Class
Implement the TemperatureConverter class as described below.
Terrain Elevation Map
This question involves analyzing a terrain elevation map stored as a 2D array. Implement methods in
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
TimeConversion Class
This question involves designing a TimeConversion utility class that converts between seconds and HH
TimeConverter Utility Class
Implement the TimeConverter class as described below.
Tissue Culture Growth Simulation
This problem involves simulating the growth of tissue culture on a grid over time.
Traffic Accident Analyzer
This question involves implementing an AccidentAnalyzer class to process accident reports and comput
Traffic Congestion Hotspot
Detect traffic congestion hotspots in a city grid by analyzing submatrix averages.
Traffic Congestion Zone Detector
This question requires scanning a 2D array representing traffic densities to count contiguous zones
Traffic Data Processor
Process hourly vehicle counts by identifying the peak hour and calculating the average count.
Traffic Flow Analyzer
This question involves developing a TrafficFlowAnalyzer class to evaluate traffic data collected by
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
TrafficMonitor
Design a TrafficMonitor class that tracks vehicle counts on various roads and identifies peak traffi
Transportation Ticket Pricing Hierarchy
Design a class hierarchy for transportation tickets.
Travel Itinerary
This question asks you to design a TravelItinerary class to represent a planned travel schedule.
Travel Time Estimator
Develop a Travel Time Estimator to filter outlier travel times and compute the median travel time.
Urban Building Cluster Analyzer
This question requires scanning a 2D array representing a city map to count clusters of a specified
UrbanPlanner: Map Rotation and Reflection
This multi-part question involves designing the UrbanPlanner class to manipulate a city map represen
Vehicle Hierarchy
Design a class hierarchy for vehicles.
VehicleTracker
Design a VehicleTracker class that maintains and updates vehicle locations for logistics.
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
Warehouse Path Planning
This problem involves planning and verifying a route for a warehouse robot navigating through a grid
Weather Data Analysis
This FRQ focuses on using an ArrayList of temperature readings. You will implement methods to sort t
Weather Data Analyzer
Implement methods to process weather station data by sorting stations by temperature and searching f
Weather Data Analyzer
This question involves analyzing weather data represented as a 2D array of temperature readings. You
Weather Data Analyzer
Analyze temperature readings by filtering out extreme values and computing the average of the valid
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
Weather Data Processing
This question involves implementing a WeatherAnalyzer class to process daily temperature readings an
Weather Forecast Hierarchy
Design a class hierarchy for weather forecasts.
Weather Pattern Recognition
Analyze a grid representing meteorological data to detect storm patterns. Implement methods that ide
Word Search Detector
This question simulates a word search puzzle pattern detection. Implement methods to locate a target
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...