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.
Agricultural Field Monitor
Implement the applyVegetationFilter method in the AgriculturalFieldMonitor class to classify crop he
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 Collection Organizer
This question involves organizing an art collection by the year each piece was created. You will imp
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Account
This question requires you to design a BankAccount class that models a simple bank account.
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
Battlefield Strategy Grid
This question involves determining line-of-sight on a battlefield grid to decide if a unit can attac
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.
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
Book Inventory Manager
This question asks you to design a Book class to manage book details in an inventory system.
Bookstore Inventory Organizer
This FRQ focuses on organizing bookstore inventory data. You will implement methods to sort book tit
BudgetTracker
Design a BudgetTracker class that helps manage expenses by category.
Bus Route Scheduler
This question simulates managing a bus route schedule. You will implement methods to search for a bu
Campus Map Building Finder
The CampusMap class represents a campus using a 2D char array where each character represents a buil
Campus Navigation Helper
This question involves finding the shortest route on a campus map represented as a 2D grid. You will
Car Class Design
Implement the Car class as described above.
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
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 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 Traffic Grid Analysis
This question uses a 2D character array representing a city traffic grid, where 'C' indicates a car
City Traffic Simulator
This question involves simulating traffic light updates at city intersections on a 2D grid. You will
Coffee Shop Order
This question asks you to design a CoffeeOrder class to manage orders at a coffee shop.
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
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
CurrencyConverter Utility Class
Implement the CurrencyConverter class as described below.
Data Encryption Simulator
This question simulates a simple data encryption system using a Caesar cipher. You will implement me
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
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
Dynamic Temperature Monitor
This question involves developing methods for a TemperatureMonitor class to manage and analyze tempe
E-commerce Order Management
Develop an e-commerce order management system using inheritance. Create an abstract Order class with
E-commerce Order System
This question simulates processing customer orders in an e-commerce environment. The OrderProcessor
E-Commerce Product Sorter
Implement the sortProductsByName and searchProductByName methods in the ProductSorter class.
E-Mail Filter
Filter an ArrayList of email messages to remove those containing the keyword 'spam'.
Earthquake Intensity Map Analyzer
This question requires scanning a 2D array representing earthquake intensity readings to identify hi
Election Results Processor
This question involves implementing an ElectionResults class to tally votes and determine the winnin
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
Emergency Response Routing
This problem simulates the planning of an emergency response route on a city grid.
Employee Record Finder
Sort employee records by salary and implement a binary search method to locate an employee by salary
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 Salary System
Design an employee salary system using inheritance. Create an abstract Employee class with an abstra
Employee Schedules Organizer
Implement the sortShifts and searchShift methods in the EmployeeSchedule class.
Employee Timesheet Processor
This question involves implementing a TimesheetProcessor class to compute total work hours and ident
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
Event Seating Analyzer
Implement a method to count horizontal contiguous sequences of empty seats in an event seating chart
Event Timer and Alarm
This question involves managing alarm times in a sorted ArrayList. You will implement a method to in
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 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
FileProcessor Utility Class
Implement the FileProcessor class as described below.
Fitness Activity Calories Calculation Hierarchy
Design a class hierarchy to calculate calories burned during fitness activities.
Fitness Tracker
This question asks you to design a FitnessTracker class to represent the data collected by a wearabl
Fitness Tracker Data Analyzer
This question requires you to develop a FitnessTracker class that processes daily step counts record
Flight Reservation System
This question involves designing a FlightReservation class to manage seat bookings, cancellations, a
Flight Seating Planner
This question involves planning seating on a flight, using a 2D array to represent seat availability
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
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
GameBoardMirror: Invert Puzzle Board
This question involves designing the GameBoard class for a sliding puzzle game. Implement the mirror
Garden Plant Height Analysis
The GardenAnalyzer class manages a 2D array representing the heights of plants in a garden. Implemen
Geographic Location Lookup
Develop search methods to filter cities based on population thresholds using linear and binary searc
Geometric Shapes Hierarchy
Design a class hierarchy for calculating the area of geometric shapes.
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
Healthcare Appointment System
This question involves managing healthcare appointments. You will implement methods to schedule appo
Heat Map Cluster Detector
Implement methods to analyze a heat map grid. Determine if a cell is hot and compute the largest con
Hospital Patient Wait Times
Develop a Hospital Patient Wait Times analyzer to filter critical waits and compute the average wait
Ice Cream Flavor Finder
This question involves analyzing an ice cream parlor’s flavor distribution grid. Implement methods t
Image Edge Enhancer
Implement a method in the ImageEditor class that enhances the edges in an image by applying an edge
Image Flipper
Develop methods in the ImageEditor class to flip an image horizontally and vertically.
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
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 Locator
This question involves searching for items in an inventory system. You will implement the searchItem
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
Inventory Management System
This question involves managing an inventory system. You need to implement methods that update inven
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
InventoryManager
Design an InventoryManager class that tracks products and their quantities in a store.
Library Book Finder
This question simulates a library system that retrieves books by their ISBN. You will complete the f
Library Book Inventory
Process a library's book inventory by counting overdue books and computing total overdue fines.
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 Advisor
Implement methods to sort a library catalog by publication year using selection sort and merge sort.
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 Locator
Implement a method to locate the nearest library in a 2D city map 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.
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
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
MazeRobot Navigation
This question involves managing a MazeRobot that navigates a 2D grid maze with obstacles. You will i
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 Storm Cell Detector
This question requires scanning a 2D array of radar data to identify storm cells based on intensity
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 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.
Museum Security Patrol
This problem simulates a museum guard’s patrol through a grid representing a museum layout.
MusicPlaylist
Design a MusicPlaylist class that manages a playlist of songs with basic playback controls.
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.
Online Course Enrollment
This FRQ deals with managing course enrollment numbers for online classes. You will implement method
Online Course Feedback Analyzer
Implement the sortFeedbackScores and searchFeedbackScore methods in the FeedbackAnalyzer class.
Online Store Feedback Analyzer
Develop an Online Store Feedback Analyzer to filter valid feedback and compute the median rating.
Online Survey Analyzer
This question involves analyzing online survey responses. You will implement methods to compute the
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.
Parcel Delivery Optimization
This FRQ involves the management of parcel weights in a delivery system. You will implement methods
Park Ranger's Patrol
This problem simulates a park ranger patrolling a park grid to monitor potential hazards.
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.
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
Payment Processing System
Design a payment processing system using inheritance and polymorphism. Create an abstract Payment cl
Pixel Art Transformer
Implement a method that performs a transformation on pixel art by rotating it and applying a scaling
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
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.
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
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.
Race Times Analysis
This FRQ involves analyzing race times stored in an ArrayList. You will implement methods to sort ra
Rainfall Data Processing
This question deals with processing a 2D array of rainfall data. The RainfallAnalyzer class stores r
Recipe Ingredient Calculator
This question simulates scaling recipe ingredients for different serving sizes. The RecipeCalculator
Recycling Center Material Sorter
Implement the sortMaterialsByType and searchMaterialByType methods in the MaterialSorter class.
Restaurant Order Processor
This question involves processing restaurant orders by computing the total cost of items in an order
Restaurant Table Reservation Grid
The ReservationSystem class uses a 2D boolean array to represent table reservations in a restaurant,
Retail Inventory Empty Shelf Detector
Implement a method to check which rows in a retail inventory grid are completely empty.
Retail Mall Floor Plan Analyzer
Implement a method to detect a cluster of food court cells in a retail mall floor plan grid.
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 Maze Navigation
This problem simulates navigating a robot through a maze with obstacles.
Robot Vacuum Floor Scanner
This question requires scanning a 2D array representing a home floor plan to simulate a robot vacuum
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
Sea Temperature Analyzer
This question requires scanning a 2D float array representing sea surface temperatures to locate a h
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 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 simulates a smart home energy monitoring system. The EnergyMonitor class analyzes hour
Smart Home Energy Monitor
This question involves designing an EnergyMonitor class that processes smart home energy usage data
Smart Home Sensor Data Manager
This question involves managing sensor data in a smart home system. You will implement methods to so
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 Feed Filter
This question involves processing social media posts using an ArrayList. You will implement methods
Social Media Friend Search
Design search methods to find user profiles by username using linear and binary search.
Social Media Post
This question asks you to design a SocialMediaPost class to represent posts on a social media platfo
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post Scheduler
This question involves scheduling social media posts. You will implement methods for scheduling indi
Social Media Post Summaries
Design a social media content system using inheritance. Create an abstract Post class with an abstra
SocialNetwork
Design a SocialNetwork class that manages user registrations and friend relationships.
Space Explorer Grid
This problem simulates a space explorer navigating a sector grid of space filled with obstacles and
Sports 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
Sports Team Stats
Update player statistics by adjusting scores and identifying the highest scorer.
Stock Market Trend Analyzer
This question involves analyzing stock price data using advanced array manipulation techniques. You
StockTracker Simulation
This question involves designing a StockTracker class to monitor the stock prices of various compani
StringAnalyzer Class
This question involves designing a StringAnalyzer utility class that performs various string manipul
StringManipulator Utility Class
Implement the StringManipulator class as described below.
StringParser Utility Class
Implement the StringParser class as described below.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
Student 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 Scores Analyzer
Implement the methods in the StudentScoreAnalyzer class.
Student Search Database
Implement linear and binary search methods to locate a student record by ID in a database.
Student Test Score Analyzer
This question involves analyzing student test scores by sorting and searching them. You will complet
Survey Data Processor
Analyze survey responses by computing frequency distribution and determining the most common respons
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
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
TimeConverter Utility Class
Implement the TimeConverter class as described below.
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
Develop methods to sort traffic data by vehicle speed and search for a vehicle with a specific speed
TrafficMap: Route Highlighter
This question involves designing the TrafficMap class to highlight a route on a city grid represente
TrafficMonitor
Design a TrafficMonitor class that tracks vehicle counts on various roads and identifies peak traffi
Transportation Ticketing System
Design a ticketing system using inheritance. Create an abstract Ticket class with an abstract method
Travel Time Estimator
Develop a Travel Time Estimator to filter outlier travel times and compute the median travel time.
Underwater Volcano Detector
This question requires scanning a 2D array representing ocean floor elevation to identify volcano pe
University Course
This question asks you to design a UniversityCourse class to represent a course offered at a univers
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
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 Path Planning
This problem involves planning and verifying a route for a warehouse robot navigating through a grid
Weather Data Analyzer
Implement the sortTemperatures and getTemperatureRange methods in the WeatherDataAnalyzer class.
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 data represented as a 2D array of temperature readings. You
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
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
WeatherData Analyzer
This question involves designing a WeatherDataAnalyzer class to manage daily weather measurements an
Wildlife Herd Counter
Implement a method to count the number of distinct animal herds in a wildlife tracking grid.
Word Search Detector
This question simulates a word search puzzle pattern detection. Implement methods to locate a target
Word Search Puzzle Analyzer
This question requires scanning a word search puzzle represented by a 2D character array to locate a
Everyone is relying on Knowt, and we never let them down.
We have over 5 million resources across various exams, and subjects to refer to at any point.
We’ve found the best flashcards & notes on Knowt.