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
Airline Ticket Price Calculator
This question involves calculating airline ticket prices. You will implement methods to compute the
Animal Class Design
Implement the Animal class as described above.
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.
ArrayStatistics Utility Class
Implement the ArrayStatistics class as described below.
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Account Manager
This question requires you to compute interest on a set of bank accounts. You will implement methods
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Explorer
This question involves searching for transactions by transactionID in a bank system. You will implem
Bank Transaction Monitor
This question involves designing a BankTransactionMonitor class to process a series of bank transact
Bank Transaction Summarizer
Design a Bank Transaction Summarizer to sum deposits and filter withdrawals.
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 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
Bookstore Item Discount Hierarchy
Design a class hierarchy for bookstore items with discount calculations.
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
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Campus Map Building Finder
The CampusMap class represents a campus using a 2D char array where each character represents a buil
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
Chess Knight Moves
This problem involves simulating the moves of a knight on a chessboard.
ChessKnight Moves
This question involves calculating all possible moves for a knight on a chessboard from a given posi
CipherUtility Utility Class
Implement the CipherUtility class as described below.
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
Coffee Shop Order
This question asks you to design a CoffeeOrder class to manage orders at a coffee shop.
ComplexNumberOperations Utility Class
Implement the ComplexNumberOperations class as described below.
Conference Attendee Finder
Design search methods to locate conference attendees by their badge numbers using linear and binary
CreditCardFormatter Utility Class
Implement the CreditCardFormatter class as described below.
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
CurrencyConverter Utility Class
Implement the CurrencyConverter class as described below.
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
DataFormatter Utility Class
Implement the DataFormatter class as described below.
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
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
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 Array Manipulation
This question involves writing a method to remove duplicates from an array of integers while preserv
Dynamic Shopping Cart Simulator
This question simulates an online shopping cart scenario in which you must implement methods to dyna
E-Commerce Price Analyzer
This FRQ involves processing product prices for an e-commerce platform. You will implement methods t
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
Election Vote Tally
This question involves tallying votes from multiple precincts stored in a 2D array. Implement method
Emergency Alerts Hierarchy
Design a class hierarchy for an emergency alert system.
Emergency Response Routing
This problem simulates the planning of an emergency response route on a city grid.
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.
Energy Consumption Tracker
Design an Energy Consumption Tracker to filter erroneous readings and compute peak consumption.
Environmental Impact Calculator
This question involves implementing an ImpactCalculator class to compute the carbon footprint of var
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 Scheduling System
This question involves creating an EventScheduler class that manages event times stored in a sorted
Event Timer and Alarm
This question involves managing alarm times in a sorted ArrayList. You will implement a method to in
EventTicketing
Design an EventTicketing class that manages events and tracks ticket sales.
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
FileProcessor Utility Class
Implement the FileProcessor class as described below.
FileStatistics Class
This question involves designing a FileStatistics utility class for computing statistical informatio
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 Tracker
This question involves designing a FitnessTracker class to record and analyze workout sessions.
Fitness Tracker Data
Create a Fitness Tracker Data analyzer to compute minimum steps and summary statistics.
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 Seating Planner
This question involves planning seating on a flight, using a 2D array to represent seat availability
Flight Status Tracker
This question involves designing a FlightStatusTracker class to monitor and report the status of var
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
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 Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
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
Geographic Location Lookup
Develop search methods to filter cities based on population thresholds using linear and binary searc
Geometric Shapes Hierarchy
Design a class hierarchy for calculating the area of geometric shapes.
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 Tracker
Track hospital patients by filtering critical cases and computing the average stay duration.
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
Image Color Inverter
Develop a method in the PhotoEditor class that inverts the color of an image by replacing each pixel
Image Filter Application
In this question, you will work with a grayscale image represented as a 2D array of pixel values. Im
Image Rotator
Develop methods in the ImageEditor class to rotate an image by 90 degrees and 180 degrees.
Image Smoothing Filter
Enhance the ImageEditor class by developing a smoothing filter that reduces noise in an image throug
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 Management System
Implement the sortItemsByID and searchItemByID methods in the InventoryManager class.
Inventory Manager
This question involves designing an InventoryManager class for managing stock levels in a retail set
Inventory Tracker
This question involves implementing an InventoryTracker class to manage product stocks and trigger r
InventoryFormatter Class
This question involves designing an InventoryFormatter utility class that formats inventory data int
InventoryManager
Design an InventoryManager class that tracks products and their quantities in a store.
Lawn Mower Simulator
This problem simulates a lawn mower navigating a garden grid that includes obstacles such as flower
Leaderboard Manager
Design a Leaderboard class that dynamically manages player scores and rankings.
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 Management System
Implement the sortBooksByTitle and searchBookByTitle methods in the LibraryManager class.
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 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.
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
MathUtilities Utility Class
Implement the MathUtilities class as described below.
MatrixOperations Class
This question involves designing a MatrixOperations utility class for performing matrix multiplicati
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 Image Processor
Design methods for processing medical images by enhancing contrast and detecting anomalies.
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
Messaging System Interface
Design a messaging system using inheritance. Create an abstract Message class with an abstract metho
Meteorological Storm Cell Detector
This question requires scanning a 2D array of radar data to identify storm cells based on intensity
Movie Class Design
Implement the Movie class as described above.
Movie Database Search
This question involves searching for movies by rating in a movie database. You will implement the se
Movie Rating Aggregator
This question involves writing a MovieRatingAggregator class that collects and processes movie ratin
Movie Showtime
This question asks you to design a MovieShowtime class to represent movie screening details.
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
Music Playlist Manager
This question involves designing a MusicPlaylistManager class to organize and manage a playlist of s
Music Playlist Simulator
This question involves developing a method to simulate a music playlist using an ArrayList. You will
Musical Instruments Hierarchy
Design a class hierarchy for musical instruments.
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.
Ocean Pollution Detector
Analyze a 2D ocean pollution map to detect and segment polluted clusters.
OceanSimulator: Wave Distortion
This question involves designing the OceanSimulator class to simulate wave distortions on a water su
Office Temperature Monitor
Implement a method to detect potential hot zones in an office by scanning for 2x2 submatrices where
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 Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
Online Store Feedback Analyzer
Develop an Online Store Feedback Analyzer to filter valid feedback and compute the median rating.
Online Survey Analyzer
This question involves analyzing online survey responses. You will implement methods to compute the
Order Processor
This question involves designing an OrderProcessor class to manage online orders and calculate total
Pac-Man Maze Simulation
This problem involves simulating Pac-Man's movement in a maze to collect pellets.
Park Ranger's Patrol
This problem simulates a park ranger patrolling a park grid to monitor potential hazards.
Parking Garage Levels Analysis
The ParkingGarage class models a multi-level parking structure using a 2D array, where each row repr
Parking Lot Grid Management
The ParkingLot class models a parking lot using a 2D boolean array where true indicates an occupied
Parking Lot Manager
This question simulates a parking lot management system. The ParkingLot class manages a grid of park
Parking Lot Occupancy Detector
This question requires scanning a 2D array representing a parking lot to count empty parking spaces.
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
PolynomialUtils Class
This question involves designing a PolynomialUtils utility class to evaluate polynomials using stati
Product Class Design
Implement the Product class as described above.
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
Race Timing Analyzer
Determine the fastest race time from an array of finish times.
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.
RecipeOrganizer
Design a RecipeOrganizer class that manages a collection of recipes and their ingredients.
Restaurant Menu Sorter
This question involves sorting a restaurant menu by price. You will implement the sortMenuByPrice me
Restaurant Order Processing
This question involves managing a restaurant's order queue using an ArrayList. You will implement me
Restaurant Order Processor
This question involves processing restaurant orders by computing the total cost of items in an order
Restaurant Order System
This question asks you to design a RestaurantOrder class to manage orders in a restaurant.
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.
Retail Store Sales Matrix Analysis
The SalesAnalyzer class manages sales data in a retail store using a 2D integer array, where each ro
Ride Sharing App Matching System
This question involves designing a RideShareMatcher class that matches riders with nearby drivers us
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
Room Temperature Monitor
This question involves analyzing room temperature data stored in a 2D array. Implement methods in th
Satellite Image Analyzer
Enhance the analysis of satellite imagery by implementing methods to flip an image horizontally and
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 Noise Filter
This question involves developing methods for a SensorFilter class to remove noise from sensor data.
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.
Social Media Analytics
This FRQ centers on social media post analytics. You will implement methods to sort post 'like' coun
Social Media Friend Finder
Implement the sortFriendsAlphabetically and searchFriend methods in the FriendFinder class.
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post Summaries
Design a social media content system using inheritance. Create an abstract Post class with an abstra
Social Network Analyzer
This question involves designing a SocialNetworkAnalyzer class to analyze friendship networks and su
SocialNetwork
Design a SocialNetwork class that manages user registrations and friend relationships.
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 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.
Sports Tournament Scoreboard
The Scoreboard class tracks game scores in a sports tournament using a 2D array, where each row repr
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
StockTracker
Design a StockTracker class that records stock prices and computes moving averages.
StringAnalyzer Class
This question involves designing a StringAnalyzer utility class that performs various string manipul
StringManipulator Utility Class
Implement the StringManipulator class as described below.
Student Class Design
Implement the Student class as described above.
Student Grades Analyzer
Analyze student grades using an ArrayList by computing the average and filtering failing grades.
Student Grades Sorting
This FRQ involves processing a list of student exam scores. You will implement methods to sort score
Survey Data Processor
Analyze survey responses by computing frequency distribution and determining the most common respons
TeamStats
Implement methods to sort sports teams by their win-loss records and search for a team by name.
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
Thermal Image Converter
Implement a method in the ThermalImageConverter class to normalize thermal data to a 0-255 scale usi
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 Density Analyzer
Develop a Traffic Density Analyzer to process vehicle counts and compute average traffic at intersec
Traffic Flow Analyzer
This question involves developing a TrafficFlowAnalyzer class to evaluate traffic data collected by
Traffic Flow Analyzer
This FRQ involves analyzing traffic data by managing vehicle count numbers. You will implement metho
Traffic Light Simulator
Adjust traffic light timings by adding bonus seconds to those below a given threshold.
Traffic Light Timing
This question involves implementing a TrafficLightController class to manage traffic light state cha
Traffic Monitoring System
Develop methods to sort traffic data by vehicle speed and search for a vehicle with a specific speed
Traffic Monitoring System
In this question, you will process traffic data to determine if traffic conditions are safe. You are
Traffic Pattern Analyzer
Implement methods to process a traffic video frame by flipping it horizontally and detecting traffic
Traffic Signal Controller
This question simulates a traffic signal controller. The TrafficSignal class cycles through signal s
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
Travel Time Estimator
Develop a Travel Time Estimator to filter outlier travel times and compute the median travel time.
Underwater Drone Explorer
This question involves simulating an underwater drone exploring a 2D grid representing the ocean flo
UnitConverter Utility Class
Implement the UnitConverter class as described below.
UrbanPlanner: Map Rotation and Reflection
This multi-part question involves designing the UrbanPlanner class to manipulate a city map represen
VehicleTracker
Design a VehicleTracker class that maintains and updates vehicle locations for logistics.
Virtual Garden Layout Analyzer
Implement a method to count the number of contiguous plant regions in a garden layout grid.
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 Pallet Organizer
Develop methods to organize and sort warehouse pallets by weight using selection sort and merge sort
Weather Data Analysis
This question involves analyzing weather temperature data using sliding window techniques. You will
Weather Data Analyzer
Analyze temperature readings by filtering out extreme values and computing the average of the valid
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
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
Weather Station Data Analyzer
This question involves analyzing weather station data records. You will implement methods to sort te
WeatherMap: Temperature Gradient
This question involves designing a WeatherMap class to apply a temperature gradient to a 2D array re
Wildlife Herd Counter
Implement a method to count the number of distinct animal herds in a wildlife tracking grid.
Word Search Puzzle Analyzer
This question requires scanning a word search puzzle represented by a 2D character array to locate a
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.