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
Agricultural Land Analysis
Implement a method to identify the 2x2 submatrix with the highest total crop yield in an agricultura
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.
Bank Account
This question requires you to design a BankAccount class that models a simple bank account.
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 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 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
Bike Sharing System
This question simulates a bike-sharing system. The BikeShare class maintains a HashMap to track the
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.
Calendar Event Conflict Resolver
This question involves developing methods for a CalendarScheduler class that manages event schedulin
Campus Map Path Finder
This question involves analyzing a campus map represented as a 2D array. Implement methods in the Ca
Campus Navigation Helper
This question involves finding the shortest route on a campus map represented as a 2D grid. You will
Chess Knight Moves
This problem involves simulating the moves of a knight on a chessboard.
City Metro Routing
This question involves developing methods for a MetroRouter class that assists in finding optimal tr
City Public Library Reservation System
Implement the sortReservationsByUserId and searchReservationByUserId methods in the LibraryReservati
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
Classroom Seating Analyzer
This question requires scanning a 2D array representing classroom seating to determine the size of t
CoffeeOrder Class Design
Implement the CoffeeOrder class as described above.
Concert Ticket
This question asks you to design a ConcertTicket class to represent tickets for a concert event.
Conference Attendee Finder
Design search methods to locate conference attendees by their badge numbers using linear and binary
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.
Data Compression Implementation
This question involves implementing simple data compression and decompression methods using run-leng
Digital Art Transformer
This question involves transforming a digital art image represented as a 2D array of grayscale pixel
Digital Elevation Map Analyzer
This question involves analyzing a digital elevation map represented by a 2D array of integers. You
Digital Image Edge Detector
Implement a method to detect an edge in a digital image represented as a 2D array of pixel brightnes
Digital Mosaic Generator
Develop methods in the DigitalMosaicGenerator class to create a mosaic effect by computing block ave
Digital Photo Editor
Implement a brightness adjustment method in the DigitalPhotoEditor class to uniformly increase the b
Digital Poster Editor
Enhance the digital poster editing experience by implementing brightness adjustment and horizontal m
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.
Drone Flight Grid
This question simulates a drone flying over a 2D airspace grid. You will implement methods to naviga
Dynamic Shopping Cart Simulator
This question simulates an online shopping cart scenario in which you must implement methods to dyna
E-commerce Order System
This question simulates processing customer orders in an e-commerce environment. The OrderProcessor
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
Educational Institution Application
Design an educational institution application system using inheritance. Create an abstract Instituti
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
Emergency Alerts Hierarchy
Design a class hierarchy for an emergency alert system.
Employee Record Finder
Sort employee records by salary and implement a binary search method to locate an employee by salary
Employee Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
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
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.
Environmental Sensor Data Analyzer
Implement the sortReadings and findFirstOutlier methods in the SensorDataAnalyzer class.
Environmental Sensor Readings
Design an Environmental Sensor Readings analyzer to filter valid readings and compute standard devia
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
EventTicketing
Design an EventTicketing class that manages events and tracks ticket sales.
Exam Grader Automation
This question involves designing an ExamGrader class to automatically grade multiple choice exams ba
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.
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
Fire Evacuation Simulator
This problem simulates an evacuation scenario within a building during a fire, represented by a grid
Fitness Activity Calories Calculation Hierarchy
Design a class hierarchy to calculate calories burned during fitness activities.
Fitness Tracker Data Analysis
This question simulates analyzing daily step count data from a fitness tracker. The FitnessTracker c
Flight Booking System
Implement the sortBookingsByDeparture and searchBookingByFlightNumber methods in the FlightBookingSy
Flight Class Design
Implement the Flight class as described above.
Flight Seating Planner
This question involves planning seating on a flight, using a 2D array to represent seat availability
ForestFire: Spread Simulation
This question involves designing the ForestFire class to simulate the spread of fire in a forest rep
Game Level Map Editor
Implement the rotateLevel method in the LevelEditor class to rotate a game level map 90 degrees.
Game of Life Pattern Detector
This question requires scanning a 2D array representing a Game of Life board to count the live neigh
Game Score Tracker
This question involves implementing a ScoreTracker class to update game scores and retrieve the high
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
GeometryHelper Utility Class
Implement the GeometryHelper class as described below.
GeometryUtil Class
This question involves designing a GeometryUtil utility class that calculates areas of common geomet
GradeBook
Design a GradeBook class that maintains student scores and computes averages and letter grades.
Grayscale Image Edge Finder
This question requires scanning a 2D array representing a grayscale image to detect edge pixels base
Heat Map Cluster Detector
Implement methods to analyze a heat map grid. Determine if a cell is hot and compute the largest con
HeatMap: Smoothing and Normalization
This question involves designing the HeatMap class to process a 2D array of temperature readings. Im
Hospital Floor Navigator
This question involves navigating the complex layout of a hospital floor represented as a 2D grid. Y
Hospital Patient Management
Implement the sortPatientsByName and searchPatientByName methods in the PatientManager class.
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.
Hospital Patient Wait Times
Develop a Hospital Patient Wait Times analyzer to filter critical waits and compute the average wait
House Listing
This question asks you to design a House class to model real estate listings.
Image Color Inverter
Develop a method in the PhotoEditor class that inverts the color of an image by replacing each pixel
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
ImageRotator: 90-Degree Clockwise Rotation
This question involves designing an ImageRotator class that rotates a 2D array representing an image
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
This question involves managing an inventory system. You need to implement methods that update inven
Inventory Management System
This question involves creating an inventory management system that uses ArrayLists to maintain a dy
Inventory Manager
This question involves designing an InventoryManager class for managing stock levels in a retail set
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
Lawn Mower Simulator
This problem simulates a lawn mower navigating a garden grid that includes obstacles such as flower
Leaderboard System Simulation
This question involves designing a Leaderboard class to dynamically track players' scores and update
Library Book Finder
This question simulates a library system that retrieves books by their ISBN. You will complete the f
Library Book Management
This FRQ focuses on managing a collection of library books. You will implement methods to sort books
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 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 Locator
Implement a method to locate the nearest library in a 2D city map grid.
Library Management System
This question simulates a library catalog management system. The LibraryCatalog class uses parallel
LibraryCard Class Design
Implement the LibraryCard class as described above.
Local Event Scheduler
This question involves implementing an EventScheduler class to manage community events by adding and
LogFormatter Class
This question involves designing a LogFormatter utility class for formatting and extracting informat
MathUtilities Utility Class
Implement the MathUtilities class as described below.
MatrixOperations Utility Class
Implement the MatrixOperations class as described below.
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
Mobile Phone
This question asks you to design a MobilePhone class to model a smartphone.
Movie Database Search
This question involves searching for movies by rating in a movie database. You will implement the se
Movie Ratings Analyzer
Compute the average rating from an ArrayList of movie ratings.
Movie Recommendation Engine
This question simulates a movie recommendation system. The MovieRecommender class stores movie title
Movie Theater Seat Reservation
This question examines seating arrangements in a movie theater using a 2D array. Implement methods i
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
Music Playlist Hierarchy
Design a class hierarchy for music playlists.
Music Playlist Manager
This question involves designing a MusicPlaylistManager class to organize and manage a playlist of s
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
Music Playlist Organizer
Implement sorting methods to organize songs in a playlist by duration using bubble sort and merge so
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
Office Layout Navigation
This problem simulates an employee navigating through an office layout grid to find the exit.
Online Quiz System
This question involves implementing a QuizManager class to manage quiz questions, add new questions,
Online Shopping Cart
This question asks you to design a ShoppingCart class to model a shopping cart in an online store.
Online Store Feedback Analyzer
Develop an Online Store Feedback Analyzer to filter valid feedback and compute the median rating.
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.
Parcel Delivery Optimization
This FRQ involves the management of parcel weights in a delivery system. You will implement methods
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.
PasswordValidator Utility Class
Implement the PasswordValidator class as described below.
Payment Processing Hierarchy
Design a class hierarchy for processing payments.
Payment Processing System
Design a payment processing system using inheritance and polymorphism. Create an abstract Payment cl
Personal Finance Calculator
This question involves implementing a FinanceCalculator class to compute monthly interest and cumula
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
PolynomialUtils Class
This question involves designing a PolynomialUtils utility class to evaluate polynomials using stati
PrimeUtils Class
This question involves designing a PrimeUtils utility class that offers methods for prime number ope
Product Class Design
Implement the Product class as described above.
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.
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.
Public Transportation Scheduler
This question requires you to write methods to compute bus wait times for public transportation. You
QR Code Processor
Implement methods for processing QR code images by reducing noise and flipping the code vertically.
Rainfall Data Processing
This question deals with processing a 2D array of rainfall data. The RainfallAnalyzer class stores r
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
Recipe Ingredient Calculator
This question simulates scaling recipe ingredients for different serving sizes. The RecipeCalculator
Recipe Scaler
This question involves implementing the RecipeScaler class with a method that scales ingredient meas
Recycling Center Material Sorter
Implement the sortMaterialsByType and searchMaterialByType methods in the MaterialSorter class.
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 Order Scheduler
Implement methods to sort restaurant orders by order time and search for an order by its ID.
Restaurant Order System
This question asks you to design a RestaurantOrder class to manage orders 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
Retail Sales Analyzer
Develop a Retail Sales Analyzer to filter low sales and compute sales statistics.
Robot Controller
This question involves designing a RobotController class to simulate a robot navigating a grid-based
Robot Navigation Simulator
This question involves designing a RobotNavigator class that simulates movement in a grid and determ
Robot Vacuum Cleaner
This problem simulates a robot vacuum cleaner navigating and cleaning a room represented as a grid.
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
SatelliteImage: Grid Resizing
This question involves designing the SatelliteImage class to resize a 2D image grid by doubling its
Sea Temperature Analyzer
This question requires scanning a 2D float array representing sea surface temperatures to locate a h
Seating Chart Organizer
This question involves analyzing a theater seating chart represented by a 2D boolean array, where tr
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
Sewer System Map Mapper
This question involves mapping an underground sewer system represented as a 2D grid. You will implem
Smart Device Hierarchy
Design a class hierarchy for smart devices.
Smart Device Update Manager
Develop a smart device update manager using inheritance. Create an abstract SmartDevice class with a
Smart Home Energy Monitor
This question simulates a smart home energy monitoring system. The EnergyMonitor class analyzes hour
Smart Home Sensor Data Manager
This question involves managing sensor data in a smart home system. You will implement methods to so
Smartphone Class Design
Implement the Smartphone class as described above.
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
Social Media Feed Analyzer
This question involves developing a SocialMediaFeedAnalyzer class that processes an array of like co
Social Media Friend Finder
Implement the sortFriendsAlphabetically and searchFriend methods in the FriendFinder class.
Social Media Post
This question asks you to design a SocialMediaPost class to represent posts on a social media platfo
Social Media Post Analyzer
This question examines the analysis of social media posts for specific hashtags. The PostAnalyzer cl
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 Media Post Scheduler
This question involves scheduling social media posts. You will implement methods for scheduling indi
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 Statistics Tracker
This FRQ involves tracking sports statistics for a player. You will implement methods to sort game p
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.
SportsTeam Class Design
Implement the SportsTeam class as described above.
Spreadsheet Data Analyzer
This question analyzes a 2D array representing spreadsheet data. The SpreadsheetAnalyzer class store
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
StringManipulator Utility Class
Implement the StringManipulator class as described below.
Student Class Design
Implement the Student class as described above.
Student Grade Analyzer
This question involves designing a StudentGradeAnalyzer class to process student scores. You will im
Student Record
This question asks you to design a Student class to record student information.
Student Records Processor
This question simulates processing student records using two different search methods: linear search
Student Scores Analyzer
Implement the methods in the StudentScoreAnalyzer class.
Student Search Database
Implement linear and binary search methods to locate a student record by ID in a database.
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.
TerrainMap: Elevation Smoothing
This question involves designing a TerrainMap class that smooths a 2D array representing terrain ele
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
Traffic Accident Analyzer
This question involves implementing an AccidentAnalyzer class to process accident reports and comput
Traffic Data Processor
Process hourly vehicle counts by identifying the peak hour and calculating the average count.
Traffic Flow Analyzer
This FRQ involves analyzing traffic data by managing vehicle count numbers. You will implement metho
Traffic Signal Controller
This question simulates a traffic signal controller. The TrafficSignal class cycles through signal s
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
Transportation Ticketing System
Design a ticketing system using inheritance. Create an abstract Ticket class with an abstract method
Travel Itinerary Planner
This question involves developing methods for an ItineraryPlanner class that organizes travel destin
Underwater Drone Explorer
This question involves simulating an underwater drone exploring a 2D grid representing the ocean flo
UrbanPlanner: Map Rotation and Reflection
This multi-part question involves designing the UrbanPlanner class to manipulate a city map represen
Vaccine Distribution Center Analyzer
This question requires scanning a 2D array representing vaccine storage bins to detect clusters of e
Vehicle Hierarchy
Design a class hierarchy for vehicles.
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 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 Data Analyzer
Analyze temperature readings by filtering out extreme values and computing the average of the valid
Weather Station Data Analyzer
This question involves analyzing weather station data records. You will implement methods to sort te
WeatherData Analyzer
This question involves designing a WeatherDataAnalyzer class to manage daily weather measurements an
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...