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 Field Monitor
Implement the applyVegetationFilter method in the AgriculturalFieldMonitor class to classify crop he
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 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
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
Implement search methods to analyze bank transactions by amount and transaction ID.
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.
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 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
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
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Campus Navigation Helper
This question involves finding the shortest route on a campus map represented as a 2D grid. You will
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
Chat Message Thread Organizer
This question involves processing chat messages recorded in a forum thread. You will implement metho
CipherUtility Utility Class
Implement the CipherUtility class as described below.
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 Weather Report
This question asks you to design a CityWeather class to represent weather reports for a city.
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
Converter Class
This question involves designing a Converter utility class for converting between various units usin
Course Enrollment Sorter
Develop methods to sort courses by enrollment numbers using selection sort and merge sort.
CreditCardFormatter Utility Class
Implement the CreditCardFormatter class as described below.
CurrencyConverter Utility Class
Implement the CurrencyConverter class as described below.
Data Compression Implementation
This question involves implementing simple data compression and decompression methods using run-leng
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
Digital Photo Editor
Implement a brightness adjustment method in the DigitalPhotoEditor class to uniformly increase the b
DigitalArt: Invert Colors
This question involves designing the DigitalArt class to invert the colors of a grayscale image. Imp
Drone Delivery Navigation
This question simulates route planning for drone delivery. You will implement methods to compute the
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 Order Management
Develop an e-commerce order management system using inheritance. Create an abstract Order class with
E-commerce Order System
This question simulates processing customer orders in an e-commerce environment. The OrderProcessor
E-Commerce Price Analyzer
This FRQ involves processing product prices for an e-commerce platform. You will implement methods t
E-commerce Review Sorter
Implement methods to sort product reviews by rating and search for a review with a specific rating.
E-Mail Filter
Filter an ArrayList of email messages to remove those containing the keyword 'spam'.
Educational Institution Application
Design an educational institution application system using inheritance. Create an abstract Instituti
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
Emergency Response Routing
This problem simulates the planning of an emergency response route on a city grid.
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.
EncryptionHelper Class
This question involves designing an EncryptionHelper utility class that performs simple Caesar ciphe
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.
Environmental Sensor Readings
Develop a sensor reading system using inheritance. Create an abstract Sensor class with an abstract
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
FileProcessor Utility Class
Implement the FileProcessor class as described below.
FileStatistics Class
This question involves designing a FileStatistics utility class for computing statistical informatio
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
Fire Evacuation Simulator
This problem simulates an evacuation scenario within a building during a fire, represented by a grid
Fitness Tracker Data Analyzer
This question requires you to develop a FitnessTracker class that processes daily step counts record
Flight Reservation System
This question involves designing a FlightReservation class to manage seat bookings, cancellations, a
Flight Seating Planner
This question involves planning seating on a flight, using a 2D array to represent seat availability
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 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
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
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.
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
Grid Explorer Simulation
This problem simulates an explorer navigating an island grid with treasures, obstacles, and varied t
Healthcare Appointment System
This question involves managing healthcare appointments. You will implement methods to schedule appo
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 Management
Implement the sortPatientsByName and searchPatientByName methods in the PatientManager class.
Hospital Patient Record Management
This FRQ involves processing patient waiting times in a hospital. You will implement methods to sort
Hospital Patient System
This question involves a hospital patient management system. You will complete the searchPatient and
Hospital Patient Wait Times
Develop a Hospital Patient Wait Times analyzer to filter critical waits and compute the average wait
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
Image Edge Enhancer
Implement a method in the ImageEditor class that enhances the edges in an image by applying an edge
Image Filter Application
In this question, you will work with a grayscale image represented as a 2D array of pixel values. Im
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
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
ImageRotator: 90-Degree Clockwise Rotation
This question involves designing an ImageRotator class that rotates a 2D array representing an image
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 creating an inventory management system that uses ArrayLists to maintain a dy
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.
Labyrinth Diagonal Pathfinder
This question focuses on diagonal traversal of a 2D array representing a labyrinth. Implement method
Leaderboard System Simulation
This question involves designing a Leaderboard class to dynamically track players' scores and update
Library Book Inventory
Process a library's book inventory by counting overdue books and computing total overdue fines.
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 Floor Navigation
In this question, you will analyze a library floor plan represented as a 2D array. Implement methods
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.
Library Management System
This question simulates a library catalog management system. The LibraryCatalog class uses parallel
Library Shelf Arrangement
The LibraryShelves class manages book placements on shelves using a 2D String array, where non-empty
Logistics Delivery Routing
This question involves optimizing logistics delivery routes. You will implement methods to sort deli
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 Class
This question involves designing a MatrixOperations utility class for performing matrix multiplicati
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
Meteorological Observation Grid
This question involves processing a 2D grid of temperature observations. You will implement a method
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 Database Search
This question involves searching for movies by rating in a movie database. You will implement the se
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.
Music Playlist Duration Analyzer
Develop a Music Playlist Duration Analyzer to filter short tracks and compute total duration.
Music Playlist Manager
This question involves managing a music playlist that is maintained in a sorted order based on song
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.
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.
Office Temperature Monitor
Implement a method to detect potential hot zones in an office by scanning for 2x2 submatrices where
Online Course Enrollment
This FRQ deals with managing course enrollment numbers for online classes. You will implement method
Online Course Enrollment
This question involves managing course enrollments in an online learning system. You will implement
Online Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
Online Shopping Cart
This question asks you to design a ShoppingCart class to model a shopping cart in an online store.
Park Ranger Monitoring Layout
This question involves calculating the number of trees visible from a given point in a park layout r
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
ParkingLotManager
Design a ParkingLotManager class that tracks parked cars and available parking spots.
PasswordGenerator Class
This question involves designing a PasswordGenerator utility class that generates random passwords m
PasswordValidator Utility Class
Implement the PasswordValidator class as described below.
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
Pixel Art Transformer
Implement a method that performs a transformation on pixel art by rotating it and applying a scaling
Pixel Image Filter
This question involves processing an image stored as a 2D array of grayscale pixel values (ranging f
Planet Surface Rover Simulator
This question involves simulating a rover navigating the surface of a planet represented as a 2D gri
PolynomialEvaluator Utility Class
Implement the PolynomialEvaluator class as described below.
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.
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
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.
Reservation System
This question involves designing a ReservationSystem class to manage seat reservations for a venue.
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 Processing
This FRQ entails managing restaurant orders represented as monetary amounts. You will implement meth
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 Inventory Empty Shelf Detector
Implement a method to check which rows in a retail inventory grid are completely empty.
Retail Mall Floor Plan Analyzer
Implement a method to detect a cluster of food court cells in a retail mall floor plan grid.
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
Satellite Crop Field Analyzer
This question requires scanning a 2D array representing a satellite image of crop fields to determin
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 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 Home Energy Monitor
This question involves developing a smart home energy monitor that computes energy consumption. Impl
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.
Social Media Analytics
This FRQ centers on social media post analytics. You will implement methods to sort post 'like' coun
Social Media Engagement Tracker
Develop a Social Media Engagement Tracker to filter trending posts and compute the median number of
Social Media Feed Analyzer
This question involves developing a SocialMediaFeedAnalyzer class that processes an array of like co
Social Media Feed Filter
This question involves processing social media posts using an ArrayList. You will implement methods
Social Media Friend Finder
Implement the sortFriendsAlphabetically and searchFriend methods in the FriendFinder class.
Social Media Friend Search
Design search methods to find user profiles by username using linear and binary search.
Social Media Post
This question asks you to design a SocialMediaPost class to represent posts on a social media platfo
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
SocialNetwork
Design a SocialNetwork class that manages user registrations and friend relationships.
Space Explorer Grid
This problem simulates a space explorer navigating a sector grid of space filled with obstacles and
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Tournament Scheduler
Design a Sports Tournament Scheduler to update team points and determine the top team.
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.
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.
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
StringManipulator Utility Class
Implement the StringManipulator class as described below.
StringParser Utility Class
Implement the StringParser class as described below.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
Student Record System
This question simulates the management of student records. The StudentRecords class maintains parall
Student Scores Analyzer
Implement the methods in the StudentScoreAnalyzer class.
Submarine Sonar Anomaly Detector
Implement a method to detect a linear anomaly pattern in submarine sonar data represented as a 2D gr
Sudoku Validator
This question requires you to validate rows and columns in a Sudoku board represented as a 2D array.
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.
Temperature Grid Analysis
This question involves analyzing a 2D array of temperature readings from various sensors. Complete t
Traffic Congestion Hotspot
Detect traffic congestion hotspots in a city grid by analyzing submatrix averages.
Traffic Data Processor
Process hourly vehicle counts by identifying the peak hour and calculating the average count.
Traffic Monitoring System
In this question, you will process traffic data to determine if traffic conditions are safe. You are
Traffic Signal Controller
This question simulates a traffic signal controller. The TrafficSignal class cycles through signal s
Traffic Simulator
This question involves designing a TrafficSimulator class to model and simulate traffic flow on a gr
Transportation Ticketing System
Design a ticketing system using inheritance. Create an abstract Ticket class with an abstract method
Travel Itinerary
This question asks you to design a TravelItinerary class to represent a planned travel schedule.
Travel Itinerary Planner
This question involves developing methods for an ItineraryPlanner class that organizes travel destin
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.
University Course
This question asks you to design a UniversityCourse class to represent a course offered at a univers
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
Virtual Zoo Habitat Enclosure
This question involves analyzing animal species within a virtual zoo's habitat, represented as a 2D
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
Warehouse Path Planning
This problem involves planning and verifying a route for a warehouse robot navigating through a grid
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
Weather Data Analyzer
Implement the sortTemperatures and getTemperatureRange methods in the WeatherDataAnalyzer class.
Weather Data Analyzer
This question involves analyzing weather data represented as a 2D array of temperature readings. You
Weather Data Analyzer
Implement methods to process weather station data by sorting stations by temperature and searching f
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.
Word Search Detector
This question simulates a word search puzzle pattern detection. Implement methods to locate a target
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.
We thought you might have some questions...