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 Reservations System
This question involves designing an AirlineReservations class to manage seat reservations on an airp
Animal Class Design
Implement the Animal class as described above.
Animal Sounds Hierarchy
Design a class hierarchy for representing animals and their sounds.
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 Monitor
This question involves designing a BankTransactionMonitor class to process a series of bank transact
Bank Transaction Summarizer
Design a Bank Transaction Summarizer to sum deposits and filter withdrawals.
BankAccount Class Design
Implement the BankAccount class as described above.
Battlefield 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
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 Class Design
Implement the Book class as described above.
Book Collection Manager
This question involves designing a BookCollection class for managing a collection of books, includin
Book Collection Organizer
This question involves managing a book collection using an ArrayList. You will implement methods to
Bookstore Inventory Organizer
This FRQ focuses on organizing bookstore inventory data. You will implement methods to sort book tit
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.
Calendar Event Conflict Resolver
This question involves developing methods for a CalendarScheduler class that manages event schedulin
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Campus Map Path Finder
This question involves analyzing a campus map represented as a 2D array. Implement methods in the Ca
Car Class Design
Implement the Car class as described above.
Chat Message Thread Organizer
This question involves processing chat messages recorded in a forum thread. You will implement metho
Chess Board Analyzer
This EXTREME question involves analyzing a chess board represented as a 2D array. Implement methods
ChessKnight Moves
This question involves calculating all possible moves for a knight on a chessboard from a given posi
City Grid Energy Consumption Analyzer
Implement a method to identify a high energy consumption area in a city grid by detecting a submatri
City Metro Routing
This question involves developing methods for a MetroRouter class that assists in finding optimal tr
City Traffic Simulator
This question involves simulating traffic light updates at city intersections on a 2D grid. You will
CoffeeOrder Class Design
Implement the CoffeeOrder class as described above.
Concert Ticket
This question asks you to design a ConcertTicket class to represent tickets for a concert event.
Conference Attendee Finder
Design search methods to locate conference attendees by their badge numbers using linear and binary
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.
Crop Health Analyzer
This question requires scanning a 2D array representing a farm field's crop health indices to evalua
Cryptography Tool
This question simulates a simple cryptography tool that uses a Caesar cipher to encrypt messages. Th
Cybersecurity Intrusion Detector
This question involves detecting potential intrusions by validating IP addresses. You will implement
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.
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 Image Edge Detector
Implement a method to detect an edge in a digital image represented as a 2D array of pixel brightnes
Drone Flight Grid
This question simulates a drone flying over a 2D airspace grid. You will implement methods to naviga
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 Price Analyzer
This FRQ involves processing product prices for an e-commerce platform. You will implement methods t
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'.
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.
Elevator Simulation
This question simulates an elevator system. The ElevatorSystem class tracks the current floor of an
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 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 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.
EnergyConsumption
Design an EnergyConsumption class that records daily energy usage and computes consumption statistic
Environmental Impact Calculator
This question involves implementing an ImpactCalculator class to compute the carbon footprint of var
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.
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
FileProcessor Class
This question involves designing a FileProcessor utility class that deals with text file content pro
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
Financial Transaction Processor
Implement the sortTransactionsById and searchTransactionById methods in the TransactionProcessor cla
Fitness Activity Calories Calculation Hierarchy
Design a class hierarchy to calculate calories burned during fitness activities.
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 Status Tracker
This question involves designing a FlightStatusTracker class to monitor and report the status of var
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 Item Shop
This question involves designing a GameItemShop class to simulate an online shop for virtual game it
Game of Life Pattern Detector
This question requires scanning a 2D array representing a Game of Life board to count the live neigh
Game Score Tracker
This question involves implementing a ScoreTracker class to update game scores and retrieve the high
GameBoardMirror: Invert Puzzle Board
This question involves designing the GameBoard class for a sliding puzzle game. Implement the mirror
Garden Layout Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
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
GeometryHelper Utility Class
Implement the GeometryHelper class as described below.
GradeBook
Design a GradeBook class that maintains student scores and computes averages and letter grades.
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
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
HeatMap: Smoothing and Normalization
This question involves designing the HeatMap class to process a 2D array of temperature readings. Im
Hospital Patient Queue
Write two search methods to find patients by emergency level in a hospital queue.
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
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: 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 Management System
This question involves managing an inventory system. You need to implement methods that update inven
Inventory Management System
Implement the sortItemsByID and searchItemByID methods in the InventoryManager class.
Inventory Management System
This question involves developing methods for an InventoryManager class to manage a retail store's i
Inventory Manager
This question simulates inventory management in a warehouse. The Inventory class tracks items and th
Inventory Tracker
This question involves implementing an InventoryTracker class to manage product stocks and trigger r
Leaderboard Manager
Design a Leaderboard class that dynamically manages player scores and rankings.
Leaderboard System Simulation
This question involves designing a Leaderboard class to dynamically track players' scores and update
Library Book Inventory
Process a library's book inventory by counting overdue books and computing total overdue fines.
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 Book Sorter
Implement two methods to sort library books by title using Bubble Sort and Insertion Sort.
Library Catalog
This question involves designing a LibraryCatalog class to manage a collection of books in a library
Library Catalog Advisor
Implement methods to sort a library catalog by publication year using selection sort and merge sort.
Library Item Checkout Hierarchy
Design a class hierarchy for library item checkout.
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
LibrarySystem
Design a LibrarySystem class that manages book inventory and tracks book lending.
Local Event Scheduler
This question involves implementing an EventScheduler class to manage community events by adding and
LogFormatter Class
This question involves designing a LogFormatter utility class for formatting and extracting informat
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.
Maze Navigator
Implement a method to determine if a path exists through a maze represented as a 2D grid of open ('0
Maze Navigator
The MazeNavigator class manages a maze represented as a 2D char array, where '#' represents a wall a
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
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
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
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 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
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 Organizer
Implement the sortPlaylistAlphabetically and searchSongByTitle methods in the PlaylistOrganizer clas
Music Playlist Organizer
This question focuses on managing a music playlist stored in an ArrayList. You will implement a meth
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
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.
Online Course Enrollment
This FRQ deals with managing course enrollment numbers for online classes. You will implement method
Online Shopping Cart
This question asks you to design a ShoppingCart class to model a shopping cart in an online store.
Online Survey Analyzer
This question involves analyzing online survey responses. You will implement methods to compute the
Parking Garage Levels Analysis
The ParkingGarage class models a multi-level parking structure using a 2D array, where each row repr
Parking Lot Grid Management
The ParkingLot class models a parking lot using a 2D boolean array where true indicates an occupied
Parking Lot Manager
This question simulates a parking lot management system. The ParkingLot class manages a grid of park
Parking Lot Occupancy Detector
This question requires scanning a 2D array representing a parking lot to count empty parking spaces.
Parking Lot Occupancy Tracker
This question involves determining occupancy information for a parking lot represented as a 2D array
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 Hierarchy
Design a class hierarchy for processing payments.
PixelArt: Color Quantization
This question involves designing the PixelArt class to perform color quantization on an image. Imple
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.
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
Production Quality Control
Assess production quality by counting defective items and identifying their indices.
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.
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
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.
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
Restaurant Order Scheduler
Implement methods to sort restaurant orders by order time and search for an order by its ID.
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 Mall Floor Plan Analyzer
Implement a method to detect a cluster of food court cells in a retail mall floor plan grid.
Retail Store Sales Matrix Analysis
The SalesAnalyzer class manages sales data in a retail store using a 2D integer array, where each ro
Road Trip Planner
This question involves creating a RoadTripPlanner class that manages an ArrayList of stops (location
Robot Navigation Simulator
This question involves designing a RobotNavigator class that simulates movement in a grid and determ
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 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
Security Camera Image Analyzer
Implement the autoEnhance method in the SecurityCameraProcessor class to adjust brightness and contr
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.
Sensor Data Processor
This question involves designing a SensorDataProcessor class to handle and analyze data from multipl
Smart City Parking Assistant
This question involves managing parking spot assignments in a smart city environment. You are to imp
Smart Device Update Manager
Develop a smart device update manager using inheritance. Create an abstract SmartDevice class with a
Smart Home Energy Monitor
This question involves developing a smart home energy monitor that computes energy consumption. Impl
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 Post
This question asks you to design a SocialMediaPost class to represent posts on a social media platfo
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 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 Summaries
Design a social media content system using inheritance. Create an abstract Post class with an abstra
Social Network Analyzer
This question involves designing a SocialNetworkAnalyzer class to analyze friendship networks and su
Sports Statistics Tracker
This FRQ involves tracking sports statistics for a player. You will implement methods to sort game p
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Team Stats
Update player statistics by adjusting scores and identifying the highest scorer.
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
StringParser Utility Class
Implement the StringParser class as described below.
Student Class Design
Implement the Student class as described above.
Student Grade Analyzer
This question involves designing a StudentGradeAnalyzer class to process student scores. You will im
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 System
This question simulates the management of student records. The StudentRecords class maintains parall
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.
TemperatureConverter Utility Class
Implement the TemperatureConverter class as described below.
TerrainMap: Elevation Smoothing
This question involves designing a TerrainMap class that smooths a 2D array representing terrain ele
TextStatistics Class
This question involves designing a TextStatistics utility class that analyzes text data using static
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
TimeConverter Utility Class
Implement the TimeConverter class as described below.
Tissue Culture Growth Simulation
This problem involves simulating the growth of tissue culture on a grid over time.
Traffic Congestion Zone Detector
This question requires scanning a 2D array representing traffic densities to count contiguous zones
Traffic Data Processor
Process hourly vehicle counts by identifying the peak hour and calculating the average count.
Traffic Density Analyzer
Develop a Traffic Density Analyzer to process vehicle counts and compute average traffic at intersec
Traffic Light Simulator
Adjust traffic light timings by adding bonus seconds to those below a given threshold.
Traffic Light Timing
This question involves implementing a TrafficLightController class to manage traffic light state cha
Traffic Violation Record Search
Implement the sortRecordsByLicensePlate and searchRecordByLicensePlate methods in the ViolationRecor
TrainTicket Class Design
Implement the TrainTicket class as described above.
Transportation Ticket Pricing Hierarchy
Design a class hierarchy for transportation tickets.
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 Time Estimator
Develop a Travel Time Estimator to filter outlier travel times and compute the median travel time.
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
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 FRQ focuses on using an ArrayList of temperature readings. You will implement methods to sort t
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
Weather Data Analyzer
Analyze temperature readings by filtering out extreme values and computing the average of the valid
Weather Data Analyzer
This question involves analyzing weather temperature data. You are to implement methods to compute t
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...