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 Class Design
Implement the Animal class as described above.
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
ArrayStatistics Utility Class
Implement the ArrayStatistics class as described below.
Art Exhibit
This question asks you to design an ArtExhibit class to represent an art exhibition show.
Bank Account Fee Calculator
Develop a bank account fee calculator using inheritance. Create an abstract BankAccount class with a
Bank Account Manager
This question requires you to compute interest on a set of bank accounts. You will implement methods
Bank Transaction Analyzer
Analyze bank transactions by summing deposits and withdrawals from an array of transaction amounts.
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Explorer
This question involves searching for transactions by transactionID in a bank system. You will implem
Bank Transaction Processor
This question simulates processing transactions within a bank. The TransactionProcessor class manage
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.
Book Catalog Manager
Design a Book Catalog Manager to search for books by author and compute the average publication year
Book Collection Manager
This question involves designing a BookCollection class for managing a collection of books, includin
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.
Building Evacuation Plan
This question involves developing an evacuation plan for a building modeled as a 2D grid. You will i
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Car Rental Service
This question asks you to design a CarRental class to model a car available for rent.
ChatBot Response System
This question involves designing a ChatBotResponseSystem class to simulate basic conversational resp
Chess Board Analyzer
This EXTREME question involves analyzing a chess board represented as a 2D array. Implement methods
Chess Knight Moves
This problem involves simulating the moves of a knight on a chessboard.
CipherUtility Utility Class
Implement the CipherUtility class as described below.
City Grid Energy Consumption Analyzer
Implement a method to identify a high energy consumption area in a city grid by detecting a submatri
City Public Library Reservation System
Implement the sortReservationsByUserId and searchReservationByUserId methods in the LibraryReservati
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.
ComplexNumberOperations Utility Class
Implement the ComplexNumberOperations class as described below.
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
Cryptography Tool
This question simulates a simple cryptography tool that uses a Caesar cipher to encrypt messages. Th
Cybersecurity Intrusion Detector
This question involves detecting potential intrusions by validating IP addresses. You will implement
Data Compression Implementation
This question involves implementing simple data compression and decompression methods using run-leng
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 Art Transformer
This question involves transforming a digital art image represented as a 2D array of grayscale pixel
Digital Mosaic Generator
Develop methods in the DigitalMosaicGenerator class to create a mosaic effect by computing block ave
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 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
Dynamic Temperature Monitor
This question involves developing methods for a TemperatureMonitor class to manage and analyze tempe
E-commerce Order Tracker
Manage e-commerce orders by identifying high-value orders and applying discounts to applicable order
E-Commerce Product Sorter
Implement the sortProductsByName and searchProductByName methods in the ProductSorter class.
E-commerce Transaction Validator
This question revolves around the validation of e-commerce transactions using credit card verificati
Elevator Simulation
This question simulates an elevator system. The ElevatorSystem class tracks the current floor of an
Employee Class Design
Implement the Employee class as described above.
Employee Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
Employee Salary Calculation Hierarchy
Design a class hierarchy to compute employee salaries.
Employee Schedules Organizer
Implement the sortShifts and searchShift methods in the EmployeeSchedule class.
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.
Event Scheduler
This question involves designing an EventScheduler class to manage and organize events on a timeline
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
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 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 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
FitnessTracker
Design a FitnessTracker class that logs workout sessions and provides summary statistics.
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
Floor Plan Transformer
Develop methods in the FloorPlanEditor class to rotate a floor plan 90 degrees and mirror it horizon
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
ForestFire: Spread Simulation
This question involves designing the ForestFire class to simulate the spread of fire in a forest rep
Fuel Consumption Tracker
Analyze fuel consumption readings by removing outlier values and computing the average consumption.
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 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
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
GPS Navigation Assistant
This question simulates a GPS navigation assistant. The NavigationSystem class computes distances be
Grayscale Image Edge Finder
This question requires scanning a 2D array representing a grayscale image to detect edge pixels base
Grid Explorer Simulation
This problem simulates an explorer navigating an island grid with treasures, obstacles, and varied t
Gym Membership Tracker
This question involves implementing a MembershipTracker class to update member statuses and generate
Hospital 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 System
This question involves a hospital patient management system. You will complete the searchPatient and
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
House Listing
This question asks you to design a House class to model real estate listings.
HTTPStatusHelper Class
This question involves designing an HTTPStatusHelper utility class that maps HTTP status codes to th
Image Color Inverter
Develop a method in the PhotoEditor class that inverts the color of an image by replacing each pixel
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.
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
Manage an inventory by removing expired items and computing the total value of the remaining stock.
Inventory Management System
This question involves creating an inventory management system that uses ArrayLists to maintain a dy
InventoryFormatter Class
This question involves designing an InventoryFormatter utility class that formats inventory data int
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 Inventory
Process a library's book inventory by counting overdue books and computing total overdue fines.
Library Book Manager
This question simulates a library book manager that handles book search functionality. You will comp
Library Catalog Advisor
Implement methods to sort a library catalog by publication year using selection sort and merge sort.
Library Loan Duration Analyzer
Create a Library Loan Duration Analyzer to remove overdue loans and compute the average loan duratio
Library Navigation Assistant
This question involves assisting with navigating a library, whose layout is represented as a 2D grid
LibraryCard Class Design
Implement the LibraryCard class as described above.
LibrarySystem
Design a LibrarySystem class that manages book inventory and tracks book lending.
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 Navigator
Implement a method to determine if a path exists through a maze represented as a 2D grid of open ('0
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
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
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.
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 Theater Seat Reservation
This question examines seating arrangements in a movie theater using a 2D array. Implement methods i
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 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
Musical Instruments Hierarchy
Design a class hierarchy for musical instruments.
MusicTrack Class Design
Implement the MusicTrack class as described above.
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 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 Survey Analyzer
This question involves analyzing online survey responses. You will implement methods to compute the
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 Monitoring Layout
This question involves calculating the number of trees visible from a given point in a park layout r
Parking Lot Manager
This question simulates a parking lot management system. The ParkingLot class manages a grid of park
Parking Lot Occupancy Tracker
This question involves determining occupancy information for a parking lot represented as a 2D array
PasswordGenerator Utility Class
Implement the PasswordGenerator class as described below.
Personal Finance Calculator
This question involves implementing a FinanceCalculator class to compute monthly interest and cumula
Planet Surface Rover Simulator
This question involves simulating a rover navigating the surface of a planet represented as a 2D gri
PolynomialUtils Class
This question involves designing a PolynomialUtils utility class to evaluate polynomials using stati
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.
Public Transport Usage Analyzer
Analyze public transport usage by identifying routes with unusual surges based on passenger counts.
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
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 Menu Sorter
This question involves sorting a restaurant menu by price. You will implement the sortMenuByPrice me
Restaurant Order Processor
This question involves processing restaurant orders by computing the total cost of items in an order
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 Product Pricing
Design a retail product pricing system using inheritance. Create an abstract Product class with an a
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 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 Task Performance Hierarchy
Design a class hierarchy for robots performing various tasks.
Room Temperature Monitor
This question involves analyzing room temperature data stored in a 2D array. Implement methods in th
Sales Performance Analysis
This FRQ involves analyzing sales figures. You will implement methods to sort sales figures in desce
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
Security Camera Image Analyzer
Implement the autoEnhance method in the SecurityCameraProcessor class to adjust brightness and contr
SecurityCam: Blur Filter
This question involves designing the SecurityCam class to apply a blur filter on a grayscale securit
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 Home Energy Monitor
This question involves designing an EnergyMonitor class that processes smart home energy usage data
Smart Home Energy Monitor
This question simulates a smart home energy monitoring system. The EnergyMonitor class analyzes hour
Smartphone Class Design
Implement the Smartphone class as described above.
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
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 Friend Search
Design search methods to find user profiles by username using linear and binary search.
Social Media Post Scheduler
This question involves scheduling social media posts. You will implement methods for scheduling indi
Sports Equipment Hierarchy
Design a class hierarchy for modeling sports equipment usage.
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Team Ranking
This question involves ranking sports teams by their number of wins. You will implement the selectio
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 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.
StringParser Utility Class
Implement the StringParser class as described below.
Student Class Design
Implement the Student class as described above.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
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
Student Search Database
Implement linear and binary search methods to locate a student record by ID in a database.
Survey Data Processor
Analyze survey responses by computing frequency distribution and determining the most common respons
TaskManager
Design a TaskManager class that tracks tasks and their completion status for project management.
TeamStats
Implement methods to sort sports teams by their win-loss records and search for a team by name.
Terrain Map Editor
Implement methods to process a terrain map represented as a 2D array by flipping it vertically and s
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 Accident Analyzer
This question involves implementing an AccidentAnalyzer class to process accident reports and comput
Traffic Congestion Zone Detector
This question requires scanning a 2D array representing traffic densities to count contiguous zones
Traffic Grid Simulator
This problem involves developing a simulation for vehicle movement within a city traffic grid.
Traffic Light Simulator
Adjust traffic light timings by adding bonus seconds to those below a given threshold.
Traffic Pattern Analyzer
Implement methods to process a traffic video frame by flipping it horizontally and detecting traffic
Traffic Simulator
This question involves designing a TrafficSimulator class to model and simulate traffic flow on a gr
Traffic Violation Record Search
Implement the sortRecordsByLicensePlate and searchRecordByLicensePlate methods in the ViolationRecor
Transportation Ticket Pricing Hierarchy
Design a class hierarchy for transportation tickets.
Travel Itinerary Planner
This question involves developing methods for an ItineraryPlanner class that organizes travel destin
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
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.
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 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 Inventory Manager
Develop a Warehouse Inventory Manager to remove out-of-stock items and compute the average stock lev
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
Weather Data Analysis
This question involves analyzing weather temperature data using sliding window techniques. You will
Weather Data Analysis
This FRQ focuses on using an ArrayList of temperature readings. You will implement methods to sort t
Weather Data Analyzer
Implement methods to process weather station data by sorting stations by temperature and searching f
Weather Data Analyzer
Implement the sortTemperatures and getTemperatureRange methods in the WeatherDataAnalyzer class.
Weather Data Processing
This question involves implementing a WeatherAnalyzer class to process daily temperature readings an
Weather Forecast Hierarchy
Design a class hierarchy for weather forecasts.
Weather Station Data Analyzer
This question involves analyzing weather station data records. You will implement methods to sort te
WeatherReport Class Design
Implement the WeatherReport class as described above.
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.