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
Agricultural Land Analysis
Implement a method to identify the 2x2 submatrix with the highest total crop yield in an agricultura
Airline Reservations System
This question involves designing an AirlineReservations class to manage seat reservations on an airp
Airline Ticket Price Calculator
This question involves calculating airline ticket prices. You will implement methods to compute the
Animal Sounds Hierarchy
Design an animal sounds system using inheritance and polymorphism. Create an abstract Animal class w
Apartment Class Design
Implement the Apartment class as described above.
Appliance Efficiency Analyzer
Design an appliance efficiency analyzer using inheritance. Create an abstract Appliance class with a
Art Exhibit
This question asks you to design an ArtExhibit class to represent an art exhibition show.
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
Bank Transaction Summarizer
Design a Bank Transaction Summarizer to sum deposits and filter withdrawals.
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
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.
Bike Sharing System
This question simulates a bike-sharing system. The BikeShare class maintains a HashMap to track the
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
Bookstore Item Discount Hierarchy
Design a class hierarchy for bookstore items with discount calculations.
Bus Route Scheduler
This question simulates managing a bus route schedule. You will implement methods to search for a bu
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
Car Rental Service
This question asks you to design a CarRental class to model a car available for rent.
Chat Message Thread Organizer
This question involves processing chat messages recorded in a forum thread. You will implement metho
City Public Library Reservation System
Implement the sortReservationsByUserId and searchReservationByUserId methods in the LibraryReservati
Classroom Seating Analyzer
This question requires scanning a 2D array representing classroom seating to determine the size of t
CoffeeOrder Class Design
Implement the CoffeeOrder class as described above.
Converter Class
This question involves designing a Converter utility class for converting between various units usin
Course Enrollment Hierarchy
Design a class hierarchy for course enrollments.
Course Enrollment Sorter
Develop methods to sort courses by enrollment numbers using selection sort and merge sort.
Cuisine Dish Preparation Hierarchy
Design a class hierarchy for cuisine dish preparation.
Data Compression Implementation
This question involves implementing simple data compression and decompression methods using run-leng
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 Elevation Map Analyzer
This question involves analyzing a digital elevation map represented by a 2D array of integers. You
Digital Library Borrowing Data
This FRQ involves analyzing borrowing data from a digital library. You will implement methods to sor
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.
Drone Flight Grid
This question simulates a drone flying over a 2D airspace grid. You will implement methods to naviga
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 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 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 Review Sorter
Implement methods to sort product reviews by rating and search for a review with a specific rating.
E-commerce Transaction Validator
This question revolves around the validation of e-commerce transactions using credit card verificati
ECommerceOrderTracker
Design an ECommerceOrderTracker class that manages orders and tracks their statuses.
Election Vote Tally
This question involves tallying votes from multiple precincts stored in a 2D array. Implement method
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 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 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 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 Data Analyzer
Implement the sortReadings and findFirstOutlier methods in the SensorDataAnalyzer class.
Event Scheduling Simulator
Manage event schedules by detecting conflicts and removing conflicting events.
Event Scheduling System
This question involves creating an EventScheduler class that manages event times stored in a sorted
Event Seating Analyzer
Implement a method to count horizontal contiguous sequences of empty seats in an event seating chart
Factory Production Line Monitor
The ProductionMonitor class records machine outputs on a factory floor using a 2D integer array. Imp
Farm Field Irrigation
This question involves managing a farm field's moisture levels represented as a 2D array. Implement
FileStatistics Class
This question involves designing a FileStatistics utility class for computing statistical informatio
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.
FitnessTracker
Design a FitnessTracker class that logs workout sessions and provides summary statistics.
Flood Fill Algorithm
This problem involves implementing a flood fill algorithm on a 2D grid representing an image.
Forest Fire Simulator
Implement methods to analyze forest fire spread using a grid. Identify contiguous fire clusters and
Game Level Map Editor
Implement the rotateLevel method in the LevelEditor class to rotate a game level map 90 degrees.
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
Gaming Leaderboard Management
This FRQ involves managing a gaming leaderboard. You will implement methods to sort player scores in
Garden Layout Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
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.
Grayscale Image Edge Finder
This question requires scanning a 2D array representing a grayscale image to detect edge pixels base
Healthcare Appointment System
This question involves managing healthcare appointments. You will implement methods to schedule appo
HeatMap: Smoothing and Normalization
This question involves designing the HeatMap class to process a 2D array of temperature readings. Im
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
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
HTTPStatusHelper Class
This question involves designing an HTTPStatusHelper utility class that maps HTTP status codes to th
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 Filter Application
In this question, you will work with a grayscale image represented as a 2D array of pixel values. Im
Image Rotator
Develop methods in the ImageEditor class to rotate an image by 90 degrees and 180 degrees.
Image Smoothing Filter
Enhance the ImageEditor class by developing a smoothing filter that reduces noise in an image throug
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 Management System
This question involves managing an inventory system. You need to implement methods that update inven
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 Manager
This question simulates inventory management in a warehouse. The Inventory class tracks items and th
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 Management
This FRQ focuses on managing a collection of library books. You will implement methods to sort books
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 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 Management System
This question simulates a library catalog management system. The LibraryCatalog class uses parallel
LibraryCard Class Design
Implement the LibraryCard class as described above.
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
MatrixOperations Utility Class
Implement the MatrixOperations class as described below.
Maze Navigator
The MazeNavigator class manages a maze represented as a 2D char array, where '#' represents a wall a
Medical Imaging Tumor Scanner
This question requires scanning a 2D array representing an image to detect tumor regions based on pi
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 Class Design
Implement the Movie class as described above.
Movie Rating Aggregator
This question involves writing a MovieRatingAggregator class that collects and processes movie ratin
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 Exhibit Organizer
This question involves organizing museum exhibits by their estimated age. You will implement the mer
Music Playlist Manager
This question involves managing a music playlist that is maintained in a sorted order based on song
Music Playlist Organizer
This question focuses on managing a music playlist stored in an ArrayList. You will implement a meth
Music Playlist Organizer
Implement sorting methods to organize songs in a playlist by duration using bubble sort and merge so
MusicTrack Class Design
Implement the MusicTrack class as described above.
Network Packet Analyzer
This question involves analyzing network packet latencies using array processing techniques. You wil
Ocean Floor Depth Mapping
The DepthMapper class records ocean floor depths in a 2D double array. Implement methods to determin
OceanSimulator: Wave Distortion
This question involves designing the OceanSimulator class to simulate wave distortions on a water su
Office Temperature Monitor
Implement a method to detect potential hot zones in an office by scanning for 2x2 submatrices where
Online Course Enrollment
This question involves managing course enrollments in an online learning system. You will implement
Online Course Feedback Analyzer
Implement the sortFeedbackScores and searchFeedbackScore methods in the FeedbackAnalyzer class.
Online Quiz System
This question involves implementing a QuizManager class to manage quiz questions, add new questions,
Online Shopping Cart
This question involves managing an online shopping cart. You will implement methods to compute the t
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
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
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
ParkingLotManager
Design a ParkingLotManager class that tracks parked cars and available parking spots.
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
Personal Finance Calculator
This question involves implementing a FinanceCalculator class to compute monthly interest and cumula
Pixel Art Transformer
Implement a method that performs a transformation on pixel art by rotating it and applying a scaling
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.
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 Pricing Sorter
This question involves sorting product objects by price using two distinct sorting algorithms: selec
Production Quality Control
Assess production quality by counting defective items and identifying their indices.
QR Code Processor
Implement methods for processing QR code images by reducing noise and flipping the code vertically.
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
Real Estate Listing Analyzer
Implement the sortListingsByPrice and searchListingByPrice methods in the ListingAnalyzer class.
Recipe Ingredient Calculator
This question simulates scaling recipe ingredients for different serving sizes. The RecipeCalculator
Restaurant Order Processing
This question involves managing a restaurant's order queue using an ArrayList. You will implement 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 Maze Navigation
This problem simulates navigating a robot through a maze with obstacles.
Robot Navigation Simulator
This question involves designing a RobotNavigator class that simulates movement in a grid and determ
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
Sales Performance Analysis
This FRQ involves analyzing sales figures. You will implement methods to sort sales figures in desce
Seating Arrangement Checker
This question involves checking seating arrangements represented as a 2D array. Implement methods in
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
Shape Area Calculator
Develop a shape hierarchy using inheritance. Create an abstract Shape class with an abstract method
Smart City Parking Assistant
This question involves managing parking spot assignments in a smart city environment. You are to imp
Smart Device Hierarchy
Design a class hierarchy for smart devices.
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
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
Social Media Post
This question asks you to design a SocialMediaPost class to represent posts on a social media platfo
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
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 Tournament Scoreboard
The Scoreboard class tracks game scores in a sports tournament using a 2D array, where each row repr
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
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 Records Processor
This question simulates processing student records using two different search methods: linear search
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
TaskManager
Design a TaskManager class that tracks tasks and their completion status for project management.
TemperatureConverter Utility Class
Implement the TemperatureConverter class as described below.
Terrain Map Editor
Implement methods to process a terrain map represented as a 2D array by flipping it vertically and s
Thermal Image Converter
Implement a method in the ThermalImageConverter class to normalize thermal data to a 0-255 scale usi
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.
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 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 Signal Controller
This question simulates a traffic signal controller. The TrafficSignal class cycles through signal s
TrafficMonitor
Design a TrafficMonitor class that tracks vehicle counts on various roads and identifies peak traffi
TrainTicket Class Design
Implement the TrainTicket class as described above.
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.
Underwater Drone Explorer
This question involves simulating an underwater drone exploring a 2D grid representing the ocean flo
UnitConverter Utility Class
Implement the UnitConverter class as described below.
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
Vehicle Hierarchy
Design a class hierarchy for vehicles.
Virtual Garden Layout Analyzer
Implement a method to count the number of contiguous plant regions in a garden layout grid.
Virtual Garden Planner
This question involves developing a method for a Virtual Garden Planner to select plants based on th
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 Path Planning
This problem involves planning and verifying a route for a warehouse robot navigating through a grid
Weather Data Analyzer
This question involves analyzing weather temperature data. You are to implement methods to compute t
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 Pattern Recognition
Analyze a grid representing meteorological data to detect storm patterns. Implement methods that ide
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.
Wildlife Tracking System
Create a Wildlife Tracking System to manage animal species and their sighting counts.
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.