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 Reservations System
This question involves designing an AirlineReservations class to manage seat reservations on an airp
Airline Ticket Price Calculator
This question involves calculating airline ticket prices. You will implement methods to compute the
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
Apartment Class Design
Implement the Apartment class as described above.
Appliance Efficiency Analyzer
Design an appliance efficiency analyzer using inheritance. Create an abstract Appliance class with a
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.
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
Bank Transaction Monitor
This question involves designing a BankTransactionMonitor class to process a series of bank transact
Bank Transaction Processor
This question simulates processing transactions within a bank. The TransactionProcessor class manage
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
Battleship Board Analysis
This question involves a simplified Battleship game board represented by a 2D char array. In this bo
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 Catalog Manager
Design a Book Catalog Manager to search for books by author and compute the average publication year
Book Collection Organizer
This question involves managing a book collection using an ArrayList. You will implement methods to
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 Map Building Finder
The CampusMap class represents a campus using a 2D char array where each character represents a buil
Car Class Design
Implement the Car class as described above.
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
ChatBot Response System
This question involves designing a ChatBotResponseSystem class to simulate basic conversational resp
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 Public Library Reservation System
Implement the sortReservationsByUserId and searchReservationByUserId methods in the LibraryReservati
City Weather Report
This question asks you to design a CityWeather class to represent weather reports for a city.
Classroom Seating Analyzer
This question requires scanning a 2D array representing classroom seating to determine the size of t
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
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
Cybersecurity Intrusion Detector
This question involves detecting potential intrusions by validating IP addresses. You will implement
DataEncryption Utility Class
Implement the DataEncryption class as described below.
DataFormatter Utility Class
Implement the DataFormatter class as described below.
DateCalculator Utility Class
Implement the DateCalculator class as described below.
Digital Library Borrowing Data
This FRQ involves analyzing borrowing data from a digital library. You will implement methods to sor
Digital Media Library
This question asks you to design a DigitalMedia class to represent digital media items in a library.
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 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
E-Commerce Product Sorter
Implement the sortProductsByName and searchProductByName methods in the ProductSorter class.
E-commerce Review Sorter
Implement methods to sort product reviews by rating and search for a review with a specific rating.
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'.
ECommerceOrderTracker
Design an ECommerceOrderTracker class that manages orders and tracks their statuses.
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
Email Management System
This question involves sorting emails by date and searching for an email by its subject. You will im
Emergency Response Routing
This problem simulates the planning of an emergency response route on a city grid.
Employee Class Design
Implement the Employee class as described above.
Employee Payroll
This question asks you to design an Employee class to manage payroll information.
Employee Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
Employee Schedules Organizer
Implement the sortShifts and searchShift methods in the EmployeeSchedule class.
Energy Consumption Tracker
Design an Energy Consumption Tracker to filter erroneous readings and compute peak consumption.
Environmental Sensor Readings
Design an Environmental Sensor Readings analyzer to filter valid readings and compute standard devia
Environmental Sensor Readings
Develop a sensor reading system using inheritance. Create an abstract Sensor class with an abstract
Event Scheduler
This question involves designing an EventScheduler class to manage and organize events on a timeline
Event Scheduling System
This question involves creating an EventScheduler class that manages event times stored in a sorted
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
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 Cluster Detector
This question requires scanning a 2D array representing a farm field to detect clusters of the same
Farm Crop Yield Predictor
This question involves predicting crop yield across multiple fields. You will implement methods to c
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
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 Stock Analyzer
This question simulates analysis of stock price data. The StockAnalyzer class processes an array of
Fire Evacuation Simulator
This problem simulates an evacuation scenario within a building during a fire, represented by a grid
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 Analysis
This question simulates analyzing daily step count data from a fitness tracker. The FitnessTracker c
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 Status Tracker
This question involves designing a FlightStatusTracker class to monitor and report the status of var
Flood Fill Algorithm
This problem involves implementing a flood fill algorithm on a 2D grid representing an image.
Forest Fire Simulation
This problem simulates the spread of a forest fire in a 2D grid representing a forest.
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
Game Level Map Editor
Implement the rotateLevel method in the LevelEditor class to rotate a game level map 90 degrees.
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
Grayscale Image Edge Finder
This question requires scanning a 2D array representing a grayscale image to detect edge pixels base
Healthcare Appointment System
This question involves managing healthcare appointments. You will implement methods to schedule appo
Hospital Patient System
This question involves a hospital patient management system. You will complete the searchPatient and
Hospital Patient Tracker
Track hospital patients by filtering critical cases and computing the average stay duration.
Ice Cream Flavor Finder
This question involves analyzing an ice cream parlor’s flavor distribution grid. Implement methods t
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
ImageFlipper: Horizontal Flip
This question involves designing an ImageFlipper class to perform a horizontal flip on a 2D array re
Inventory Management System
This question involves developing methods for an InventoryManager class to manage a retail store's i
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
Leaderboard System Simulation
This question involves designing a Leaderboard class to dynamically track players' scores and update
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 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 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 Navigation Assistant
This question involves assisting with navigating a library, whose layout is represented as a 2D grid
Library Shelf Arrangement
The LibraryShelves class manages book placements on shelves using a 2D String array, where non-empty
LibraryCard Class Design
Implement the LibraryCard class as described above.
LogFormatter Class
This question involves designing a LogFormatter utility class for formatting and extracting informat
Logistics Delivery Routing
This question involves optimizing logistics delivery routes. You will implement methods to sort deli
MathUtilities Utility Class
Implement the MathUtilities class as described below.
Matrix Sum Calculator
This question involves writing methods to compute the sums of each row and column in a given matrix.
MatrixOperations Utility Class
Implement the MatrixOperations class as described below.
MazeRobot Navigation
This question involves managing a MazeRobot that navigates a 2D grid maze with obstacles. You will i
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
Meteorological Storm Cell Detector
This question requires scanning a 2D array of radar data to identify storm cells based on intensity
Mobile App Notification System
Design a mobile app notification system using inheritance. Create an abstract Notification class wit
MosaicMaker: Pixelation Effect
This question involves designing the MosaicMaker class to create a pixelated version of an image. Im
Movie Ratings Analyzer
Compute the average rating from an ArrayList of movie ratings.
Movie Showtime
This question asks you to design a MovieShowtime class to represent movie screening details.
Movie Ticket Sorter
Develop methods to sort movie showings by start time using selection sort and merge sort.
Museum Security Patrol
This problem simulates a museum guard’s patrol through a grid representing a museum layout.
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
Music Playlist Manager
This question involves designing a MusicPlaylistManager class to organize and manage a playlist of s
Music Playlist Organizer
Implement sorting methods to organize songs in a playlist by duration using bubble sort and merge so
Music Playlist Organizer
This question focuses on managing a music playlist stored in an ArrayList. You will implement a meth
Music Playlist Simulator
This question involves developing a method to simulate a music playlist using an ArrayList. You will
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
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 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 Quiz System
This question involves implementing a QuizManager class to manage quiz questions, add new questions,
Online Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
Online Store Feedback Analyzer
Develop an Online Store Feedback Analyzer to filter valid feedback and compute the median rating.
Order Processor
This question involves designing an OrderProcessor class to manage online orders and calculate total
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 Manager
This question simulates a parking lot management system. The ParkingLot class manages a grid of park
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
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
Planet Surface Rover Simulator
This question involves simulating a rover navigating the surface of a planet represented as a 2D gri
Plant Growth Analysis
Design a plant growth analysis system using inheritance. Create an abstract Plant class with an abst
PolynomialEvaluator Utility Class
Implement the PolynomialEvaluator class as described below.
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 Inventory System
This FRQ simulates a product inventory system. You will implement methods to sort an ArrayList of pr
Product Pricing Sorter
This question involves sorting product objects by price using two distinct sorting algorithms: selec
Product Review Analyzer
This question involves analyzing product reviews by sorting them based on ratings. You will complete
Public Transport Usage Analyzer
Analyze public transport usage by identifying routes with unusual surges based on passenger counts.
Public Transportation Scheduler
This question requires you to write methods to compute bus wait times for public transportation. You
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
RecipeOrganizer
Design a RecipeOrganizer class that manages a collection of recipes and their ingredients.
Recycling Center Material Sorter
Implement the sortMaterialsByType and searchMaterialByType methods in the MaterialSorter class.
Reservation System
This question involves designing a ReservationSystem class to manage seat reservations for a venue.
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 Scheduler
Implement methods to sort restaurant orders by order time and search for an order by its ID.
RestaurantOrder Class Design
Implement the RestaurantOrder class as described above.
Retail Sales Analyzer
Develop a Retail Sales Analyzer to filter low sales and compute sales statistics.
Ride Sharing App Matching System
This question involves designing a RideShareMatcher class that matches riders with nearby drivers us
Road Trip Planner
This question involves creating a RoadTripPlanner class that manages an ArrayList of stops (location
Robot Maze Navigation
This problem simulates navigating a robot through a maze with obstacles.
Robot Vacuum Cleaner
This problem simulates a robot vacuum cleaner navigating and cleaning a room represented as a grid.
Room Temperature Monitor
This question involves analyzing room temperature data stored in a 2D array. Implement methods in th
Satellite Crop Field Analyzer
This question requires scanning a 2D array representing a satellite image of crop fields to determin
SatelliteImage: Grid Resizing
This question involves designing the SatelliteImage class to resize a 2D image grid by doubling its
Score Analyzer
This question involves implementing the ScoreAnalyzer class to compute average scores and count the
Seating Arrangement Checker
This question involves checking seating arrangements represented as a 2D array. Implement methods in
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 Home Energy Monitor
This question simulates a smart home energy monitoring system. The EnergyMonitor class analyzes hour
Soccer Field Tactics Simulator
This question involves determining if a clear path exists between two points on a soccer field repre
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 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 scheduling social media posts. You will implement methods for scheduling indi
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post Sorter
This question involves managing social media posts by sorting them based on the number of likes. You
Social Network Analyzer
This question involves designing a SocialNetworkAnalyzer class to analyze friendship networks and su
Sports Statistics Tracker
This FRQ involves tracking sports statistics for a player. You will implement methods to sort game p
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
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.
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
Student Record
This question asks you to design a Student class to record student information.
Student Record System
This question simulates the management of student records. The StudentRecords class maintains parall
Student Records Processor
This question simulates processing student records using two different search methods: linear search
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
TemperatureConverter Utility Class
Implement the TemperatureConverter class as described below.
Terrain Map Editor
Implement methods to process a terrain map represented as a 2D array by flipping it vertically and s
Ticket Booking System
This question simulates a seat booking system for events. The TicketBooking class manages a two-dime
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 Density Analyzer
Develop a Traffic Density Analyzer to process vehicle counts and compute average traffic at intersec
Traffic Flow Analyzer
This FRQ involves analyzing traffic data by managing vehicle count numbers. You will implement metho
Traffic Flow Analyzer
This question involves developing a TrafficFlowAnalyzer class to evaluate traffic data collected by
Traffic Light Simulator
Adjust traffic light timings by adding bonus seconds to those below a given threshold.
Traffic Monitoring System
In this question, you will process traffic data to determine if traffic conditions are safe. You are
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
TrainTicket Class Design
Implement the TrainTicket class as described above.
VehicleTracker
Design a VehicleTracker class that maintains and updates vehicle locations for logistics.
VideoGame Class Design
Implement the VideoGame class as described above.
Virtual Garden Layout Analyzer
Implement a method to count the number of contiguous plant regions in a garden layout grid.
Virtual Zoo Habitat Enclosure
This question involves analyzing animal species within a virtual zoo's habitat, represented as a 2D
Warehouse Inventory Tracker
The Warehouse class manages a 2D array representing the count of boxes in different warehouse sectio
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
Analyze temperature readings by filtering out extreme values and computing the average of the valid
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 Station Data Processor
This question requires you to process temperature data from a weather station using arrays. You will
WeatherMap: Temperature Gradient
This question involves designing a WeatherMap class to apply a temperature gradient to a 2D array re
WeatherReport Class Design
Implement the WeatherReport class as described above.
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...