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.
Animal Sounds Hierarchy
Design a class hierarchy for representing animals and their sounds.
Ant Colony Simulation
This problem simulates the movement and pheromone updating of an ant colony on a terrain grid.
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.
ArrayUtilities Class
This question involves designing an ArrayUtilities utility class for performing operations on intege
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.
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Transaction Analyzer
Analyze bank transactions by summing deposits and withdrawals from an array of transaction amounts.
Bank Transaction Processor
This question simulates processing transactions within a bank. The TransactionProcessor class manage
Battlefield Strategy Grid
This question involves determining line-of-sight on a battlefield grid to decide if a unit can attac
Battleship Navigation
This problem involves simulating the navigation of a battleship through an ocean grid with obstacles
Blueprint Analyzer
Develop methods in the BlueprintAnalyzer class to rotate a blueprint 90 degrees and to check if it i
Book Collection Manager
This question involves designing a BookCollection class for managing a collection of books, includin
Bookstore Item Discount Hierarchy
Design a class hierarchy for bookstore items with discount calculations.
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.
Campus Map Building Finder
The CampusMap class represents a campus using a 2D char array where each character represents a buil
ChatBot Response System
This question involves designing a ChatBotResponseSystem class to simulate basic conversational resp
ChessKnight Moves
This question involves calculating all possible moves for a knight on a chessboard from a given posi
City Metro Routing
This question involves developing methods for a MetroRouter class that assists in finding optimal tr
City Public Library Reservation System
Implement the sortReservationsByUserId and searchReservationByUserId methods in the LibraryReservati
City Traffic Congestion
Develop a City Traffic Congestion analyzer to filter intersections with high delays and compute the
City Weather Report
This question asks you to design a CityWeather class to represent weather reports for a city.
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.
Contest Ranking System
Implement the sortScoresDescending and findTopTwoScores methods in the ContestRanker class.
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.
Cryptography Tool
This question simulates a simple cryptography tool that uses a Caesar cipher to encrypt messages. Th
Cuisine Dish Preparation Hierarchy
Design a class hierarchy for cuisine dish preparation.
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
DataEncryption Utility Class
Implement the DataEncryption class as described below.
DataFormatter Utility Class
Implement the DataFormatter class as described below.
Digital Art Transformer
This question involves transforming a digital art image represented as a 2D array of grayscale pixel
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 Mosaic Generator
Develop methods in the DigitalMosaicGenerator class to create a mosaic effect by computing block ave
Digital Photo Editor
Implement a brightness adjustment method in the DigitalPhotoEditor class to uniformly increase the b
Digital Poster Editor
Enhance the digital poster editing experience by implementing brightness adjustment and horizontal m
DigitalArt: Invert Colors
This question involves designing the DigitalArt class to invert the colors of a grayscale image. Imp
Drone Delivery System
This problem simulates a drone delivery system that navigates through a city grid with obstacles.
Dynamic Temperature Monitor
This question involves developing methods for a TemperatureMonitor class to manage and analyze tempe
E-commerce Order System
This question simulates processing customer orders in an e-commerce environment. The OrderProcessor
E-commerce Review Sorter
Implement methods to sort product reviews by rating and search for a review with a specific rating.
Earthquake Intensity Map Analyzer
This question requires scanning a 2D array representing earthquake intensity readings to identify hi
Election Ballot Organizer
This question involves organizing election ballots by sorting them with two different algorithms. Yo
Election Vote Counter
Implement the sortCandidatesByName and searchCandidateByName methods in the VoteCounter class.
Election Vote Tally
This question involves tallying votes from multiple precincts stored in a 2D array. Implement method
Email Management System
This question involves sorting emails by date and searching for an email by its subject. You will im
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 Payroll
This question asks you to design an Employee class to manage payroll information.
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.
Employee Salary System
Design an employee salary system using inheritance. Create an abstract Employee class with an abstra
Employee Timesheet Processor
This question involves implementing a TimesheetProcessor class to compute total work hours and ident
EncryptionHelper Class
This question involves designing an EncryptionHelper utility class that performs simple Caesar ciphe
Energy Consumption Tracker
Design an Energy Consumption Tracker to filter erroneous readings and compute peak consumption.
Environmental Pollution Monitor
This question involves developing a PollutionMonitor class that analyzes environmental pollution dat
Environmental Sensor Readings
Design an Environmental Sensor Readings analyzer to filter valid readings and compute standard devia
Event Scheduler
This question involves designing an EventScheduler class to manage and organize events on a timeline
Event Scheduling Simulator
Manage event schedules by detecting conflicts and removing conflicting events.
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
FileProcessor Class
This question involves designing a FileProcessor utility class that deals with text file content pro
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 Activity Calories Calculation Hierarchy
Design a class hierarchy to calculate calories burned during fitness activities.
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.
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 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.
Game Item Shop
This question involves designing a GameItemShop class to simulate an online shop for virtual game it
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 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
Gardening Tool Hierarchy
Design a class hierarchy for gardening tools.
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
Hospital Patient Management
Implement the sortPatientsByName and searchPatientByName methods in the PatientManager class.
Hospital Patient Tracker
Track hospital patients by filtering critical cases and computing the average stay duration.
Hospital Patient Wait Times
Develop a Hospital Patient Wait Times analyzer to filter critical waits and compute the average wait
House Listing
This question asks you to design a House class to model real estate listings.
Image 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.
Image Smoothing Filter
Enhance the ImageEditor class by developing a smoothing filter that reduces noise in an image throug
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
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 Management System
This question involves creating an inventory management system that uses ArrayLists to maintain a dy
Inventory Manager
This question involves designing an InventoryManager class for managing stock levels in a retail set
Inventory Tracker
This question involves implementing an InventoryTracker class to manage product stocks and trigger r
Lawn Mower Simulator
This problem simulates a lawn mower navigating a garden grid that includes obstacles such as flower
Leaderboard System Simulation
This question involves designing a Leaderboard class to dynamically track players' scores and update
Library Book Finder
This question simulates a library system that retrieves books by their ISBN. You will complete the f
Library Book Management
This FRQ focuses on managing a collection of library books. You will implement methods to sort books
Library Floor Navigation
In this question, you will analyze a library floor plan represented as a 2D array. Implement methods
LibraryCard Class Design
Implement the LibraryCard class as described above.
Local Event Scheduler
This question involves implementing an EventScheduler class to manage community events by adding and
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 Class
This question involves designing a MatrixOperations utility class for performing matrix multiplicati
Maze Navigator
The MazeNavigator class manages a maze represented as a 2D char array, where '#' represents a wall a
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
MedicalImage: Contrast Enhancement
This question involves designing the MedicalImage class to perform contrast enhancement on a graysca
Meteorological Observation Grid
This question involves processing a 2D grid of temperature observations. You will implement a method
Mobile App Notification System
Design a mobile app notification system using inheritance. Create an abstract Notification class wit
Mobile Phone
This question asks you to design a MobilePhone class to model a smartphone.
Movie Recommendation Engine
This question simulates a movie recommendation system. The MovieRecommender class stores movie title
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
Movie Ticket Sorter
Develop methods to sort movie showings by start time using selection sort and merge sort.
Music Playlist Hierarchy
Design a class hierarchy for music playlists.
Music Playlist Manager
This question involves designing a MusicPlaylistManager class to organize and manage a playlist of s
Music Playlist Organizer
Implement sorting methods to organize songs in a playlist by duration using bubble sort and merge so
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
Office Layout Navigation
This problem simulates an employee navigating through an office layout grid to find the exit.
Online Course Enrollment
This question involves managing course enrollments in an online learning system. You will implement
Online Shopping Cart
This question asks you to design a ShoppingCart class to model a shopping cart in an online store.
Order Processor
This question involves designing an OrderProcessor class to manage online orders and calculate total
PacMan Maze Simulation
This question involves simulating a PacMan maze where both PacMan and ghosts move through a 2D grid.
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
PasswordValidator Utility Class
Implement the PasswordValidator class as described below.
Payment Processing Hierarchy
Design a class hierarchy for processing payments.
Payment Processing System
Design a payment processing system using inheritance and polymorphism. Create an abstract Payment cl
Pixel Image Filter
This question involves processing an image stored as a 2D array of grayscale pixel values (ranging f
PixelArt: Color Quantization
This question involves designing the PixelArt class to perform color quantization on an image. Imple
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
Public Transit Scheduler
This question involves creating a TransitScheduler class to determine bus arrival times and update b
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 Listing Analyzer
Implement the sortListingsByPrice and searchListingByPrice methods in the ListingAnalyzer class.
Real Estate Listings
This FRQ simulates a real estate listings management system. You will implement methods to sort list
Recipe Ingredient Calculator
This question simulates scaling recipe ingredients for different serving sizes. The RecipeCalculator
RecipeOrganizer
Design a RecipeOrganizer class that manages a collection of recipes and their ingredients.
Restaurant Order Scheduler
Implement methods to sort restaurant orders by order time and search for an order by its ID.
Restaurant Order System
This question asks you to design a RestaurantOrder class to manage orders in a restaurant.
Restaurant Table Reservation Grid
The ReservationSystem class uses a 2D boolean array to represent table reservations in a restaurant,
RestaurantOrder Class Design
Implement the RestaurantOrder class as described above.
Retail Inventory Manager
Implement methods to manage retail inventory by sorting items by stock quantity and searching for an
Retail Sales Analyzer
Develop a Retail Sales Analyzer to filter low sales and compute sales statistics.
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 Controller
This question involves designing a RobotController class to simulate a robot navigating a grid-based
Robot Maze Navigation
This problem simulates navigating a robot through a maze with obstacles.
Robot Task Performance Hierarchy
Design a class hierarchy for robots performing various tasks.
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
Seating Chart Organizer
This question involves analyzing a theater seating chart represented by a 2D boolean array, where tr
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.
Sewer System Map Mapper
This question involves mapping an underground sewer system represented as a 2D grid. You will implem
Shape Area Calculator
Develop a shape hierarchy using inheritance. Create an abstract Shape class with an abstract method
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
Soccer Field Tactics Simulator
This question involves determining if a clear path exists between two points on a soccer field repre
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 Post Analyzer
This question examines the analysis of social media posts for specific hashtags. The PostAnalyzer cl
Social Media Post Analyzer
Determine the index of the most liked social media post from an array of like counts.
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post Scheduler
This question involves scheduling social media posts. You will implement methods for scheduling indi
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
Space Explorer Grid
This problem simulates a space explorer navigating a sector grid of space filled with obstacles and
Sports Equipment Hierarchy
Design a class hierarchy for modeling sports equipment usage.
Sports Statistics Tracker
This FRQ involves tracking sports statistics for a player. You will implement methods to sort game p
Sports Tournament Scheduler
Design a Sports Tournament Scheduler to update team points and determine the top team.
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 Analyzer
This question involves designing a StudentGradeAnalyzer class to process student scores. You will im
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
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
Student Search Database
Implement linear and binary search methods to locate a student record by ID in a database.
Sudoku Validator
This question requires you to validate rows and columns in a Sudoku board represented as a 2D array.
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.
Temperature Data Analyzer
Develop a Temperature Data Analyzer that manipulates an array of temperature readings.
TerrainMap: Elevation Smoothing
This question involves designing a TerrainMap class that smooths a 2D array representing terrain ele
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
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 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 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 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
TrafficMap: Route Highlighter
This question involves designing the TrafficMap class to highlight a route on a city grid represente
TrainTicket Class Design
Implement the TrainTicket class as described above.
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
University Course
This question asks you to design a UniversityCourse class to represent a course offered at a univers
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.
Vehicle Hierarchy System
Design a vehicle hierarchy using inheritance and polymorphism. Create an abstract Vehicle class and
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 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 Analysis
This FRQ focuses on using an ArrayList of temperature readings. You will implement methods to sort t
Weather Data Analysis
This question involves analyzing weather temperature data using sliding window techniques. You will
Weather Data Analyzer
This question involves analyzing weather temperature data. You are to implement methods to compute t
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 Processing
This question involves implementing a WeatherAnalyzer class to process daily temperature readings an
Weather Station Data Analyzer
This question involves analyzing weather station data records. You will implement methods to sort te
Weather Station Data Processor
This question requires you to process temperature data from a weather station using arrays. You will
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.
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...