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 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 a class hierarchy for representing animals and their sounds.
ArrayStatistics Utility Class
Implement the ArrayStatistics class as described below.
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Explorer
This question involves searching for transactions by transactionID in a bank system. You will implem
Bank Transaction Summarizer
Design a Bank Transaction Summarizer to sum deposits and filter withdrawals.
Battlefield Strategy Grid
This question involves determining line-of-sight on a battlefield grid to decide if a unit can attac
Battleship Board Scanner
This question requires scanning a 2D array representing a Battleship game board to identify ship clu
Battleship Navigation
This problem involves simulating the navigation of a battleship through an ocean grid with obstacles
Beverage Preparation Hierarchy
Design a class hierarchy for beverage preparation.
Book Class Design
Implement the Book class as described above.
Book Collection Organizer
This question involves managing a book collection using an ArrayList. You will implement methods to
BudgetTracker
Design a BudgetTracker class that helps manage expenses by category.
Building Evacuation Plan
This question involves developing an evacuation plan for a building modeled as a 2D grid. You will i
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 Map Path Finder
This question involves analyzing a campus map represented as a 2D array. Implement methods in the Ca
Car Rental Service
This question asks you to design a CarRental class to model a car available for rent.
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
CipherUtility Utility Class
Implement the CipherUtility class as described below.
City Weather Report
This question asks you to design a CityWeather class to represent weather reports for a city.
Classroom Seating Analyzer
This question requires scanning a 2D array representing classroom seating to determine the size of t
ComplexNumberOperations Utility Class
Implement the ComplexNumberOperations class as described below.
Concert Ticket
This question asks you to design a ConcertTicket class to represent tickets for a concert event.
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.
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
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 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
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
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 Product Sorter
Implement the sortProductsByName and searchProductByName methods in the ProductSorter class.
E-commerce Review Sorter
Implement methods to sort product reviews by rating and search for a review with a specific rating.
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
Educational Institution Application
Design an educational institution application system using inheritance. Create an abstract Instituti
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.
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 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.
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 Impact Calculator
This question involves implementing an ImpactCalculator class to compute the carbon footprint of var
Environmental Sensor Readings
Develop a sensor reading system using inheritance. Create an abstract Sensor class with an abstract
Environmental Sensor Readings
Design an Environmental Sensor Readings analyzer to filter valid readings and compute standard devia
Event Registration System
This FRQ focuses on managing event registration data. You will implement methods to sort participant
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.
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
Exam Grader Automation
This question involves designing an ExamGrader class to automatically grade multiple choice exams ba
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
FileStatistics Class
This question involves designing a FileStatistics utility class for computing statistical informatio
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 Seating Planner
This question involves planning seating on a flight, using a 2D array to represent seat availability
Flight Status Tracker
This question involves designing a FlightStatusTracker class to monitor and report the status of var
Floor Plan Transformer
Develop methods in the FloorPlanEditor class to rotate a floor plan 90 degrees and mirror it horizon
ForestFire: Spread Simulation
This question involves designing the ForestFire class to simulate the spread of fire in a forest rep
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
Garden Plot Watering Scheduler
This question involves managing a garden plot represented as a 2D array. Implement methods in the Ga
Geometric Shapes Hierarchy
Design a class hierarchy for calculating the area of geometric shapes.
GeometryHelper Utility Class
Implement the GeometryHelper class as described below.
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 Floor Navigator
This question involves navigating the complex layout of a hospital floor represented as a 2D grid. Y
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
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 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.
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
ImageTransformer: Combined Horizontal Flip and 90-Degree Rotation
This multi-part question involves designing an ImageTransformer class that performs multiple transfo
Inventory Management System
Manage an inventory by removing expired items and computing the total value of the remaining stock.
Inventory Manager
This question simulates inventory management in a warehouse. The Inventory class tracks items and th
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
Lawn Mower Simulator
This problem simulates a lawn mower navigating a garden grid that includes obstacles such as flower
Leaderboard Manager
Design a Leaderboard class that dynamically manages player scores and rankings.
Library Book Search
This question focuses on designing a Library class that stores Book objects. You will implement a me
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
LibraryCard Class Design
Implement the LibraryCard class as described above.
LibrarySystem
Design a LibrarySystem class that manages book inventory and tracks book lending.
LogFormatter Class
This question involves designing a LogFormatter utility class for formatting and extracting informat
Logistics Delivery Routing
This question involves optimizing logistics delivery routes. You will implement methods to sort deli
MathUtil Class
This question involves designing a MathUtil utility class that provides several mathematical computa
MathUtilities Utility Class
Implement the MathUtilities class as described below.
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
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
Maze Navigator
Implement a method to determine if a path exists through a maze represented as a 2D grid of open ('0
MedicalImage: Contrast Enhancement
This question involves designing the MedicalImage class to perform contrast enhancement on a graysca
Messaging System Interface
Design a messaging system using inheritance. Create an abstract Message class with an abstract metho
Meteorological Storm Cell Detector
This question requires scanning a 2D array of radar data to identify storm cells based on intensity
Movie Database Search
This question involves searching for movies by rating in a movie database. You will implement the se
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 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.
Music Playlist Duration Analyzer
Develop a Music Playlist Duration Analyzer to filter short tracks and compute total duration.
Music Playlist Hierarchy
Design a class hierarchy for music playlists.
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 the sortPlaylistAlphabetically and searchSongByTitle methods in the PlaylistOrganizer clas
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.
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 Quiz System
This question involves implementing a QuizManager class to manage quiz questions, add new questions,
Online Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
Online Shopping Cart
This question involves managing an online shopping cart. You will implement methods to compute the t
Order Processor
This question involves designing an OrderProcessor class to manage online orders and calculate total
Parking Lot Grid Management
The ParkingLot class models a parking lot using a 2D boolean array where true indicates an occupied
Parking Lot Occupancy Detector
This question requires scanning a 2D array representing a parking lot to count empty parking spaces.
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 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
Pixel Image Filter
This question involves processing an image stored as a 2D array of grayscale pixel values (ranging f
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
Product Price Sorter
Design and implement two sorting methods to order a list of products by price.
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.
Public Transit Scheduler
This question involves creating a TransitScheduler class to determine bus arrival times and update b
Public Transportation Scheduler
This question requires you to write methods to compute bus wait times for public transportation. You
Race Times Analysis
This FRQ involves analyzing race times stored in an ArrayList. You will implement methods to sort ra
Race Timing Analyzer
Determine the fastest race time from an array of finish times.
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.
Real Estate Listings
This FRQ simulates a real estate listings management system. You will implement methods to sort list
Recipe Scaler
This question involves implementing the RecipeScaler class with a method that scales ingredient meas
Reservation System
This question involves designing a ReservationSystem class to manage seat reservations for a venue.
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 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 Product Pricing
Design a retail product pricing system using inheritance. Create an abstract Product class with an a
Retail Sales Analyzer
Develop a Retail Sales Analyzer to filter low sales and compute sales statistics.
Robot Controller
This question involves designing a RobotController class to simulate a robot navigating a grid-based
Robot Navigation Simulator
This question involves designing a RobotNavigator class that simulates movement in a grid and determ
Robot Task Performance Hierarchy
Design a class hierarchy for robots performing various tasks.
Robot Vacuum Cleaner
This problem simulates a robot vacuum cleaner navigating and cleaning a room represented as a grid.
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
Satellite Crop Field Analyzer
This question requires scanning a 2D array representing a satellite image of crop fields to determin
Satellite Image Analyzer
Enhance the analysis of satellite imagery by implementing methods to flip an image horizontally and
SatelliteImage: Grid Resizing
This question involves designing the SatelliteImage class to resize a 2D image grid by doubling its
Score Analyzer
This question involves implementing the ScoreAnalyzer class to compute average scores and count the
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.
Smart City Parking Assistant
This question involves managing parking spot assignments in a smart city environment. You are to imp
Soccer League Ranking
This question involves managing a soccer league. You will implement methods for the SoccerLeague cla
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
Social Media Friend Finder
Implement the sortFriendsAlphabetically and searchFriend methods in the FriendFinder class.
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 Analyzer
Determine the index of the most liked social media post from an array of like counts.
Social Media Post Analyzer
This question examines the analysis of social media posts for specific hashtags. The PostAnalyzer cl
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post Sorter
This question involves managing social media posts by sorting them based on the number of likes. You
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 Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Tournament Scheduler
Design a Sports Tournament Scheduler to update team points and determine the top team.
SportsTeam Class Design
Implement the SportsTeam class as described above.
Spreadsheet Data Analyzer
This question analyzes a 2D array representing spreadsheet data. The SpreadsheetAnalyzer class store
Stock Market Trend Analyzer
This question involves analyzing stock price data using advanced array manipulation techniques. You
StockTracker 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
StringParser Utility Class
Implement the StringParser class as described below.
Student Class Design
Implement the Student class as described above.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
Student Record
This question asks you to design a Student class to record student information.
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.
Submarine Sonar Anomaly Detector
Implement a method to detect a linear anomaly pattern in submarine sonar data represented as a 2D gr
Survey Data Processor
Analyze survey responses by computing frequency distribution and determining the most common respons
TaskManager
Design a TaskManager class that tracks tasks and their completion status for project management.
TeamStats
Implement methods to sort sports teams by their win-loss records and search for a team by name.
Temperature Data Analyzer
Develop a Temperature Data Analyzer that manipulates an array of temperature readings.
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
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
Traffic Congestion Hotspot
Detect traffic congestion hotspots in a city grid by analyzing submatrix averages.
Traffic Grid Simulator
This problem involves developing a simulation for vehicle movement within a city traffic grid.
Traffic Light Timing
This question involves implementing a TrafficLightController class to manage traffic light state cha
Traffic Monitoring System
Develop methods to sort traffic data by vehicle speed and search for a vehicle with a specific speed
Traffic Pattern Analyzer
Implement methods to process a traffic video frame by flipping it horizontally and detecting traffic
Traffic Violation Record Search
Implement the sortRecordsByLicensePlate and searchRecordByLicensePlate methods in the ViolationRecor
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
This question asks you to design a TravelItinerary class to represent a planned travel schedule.
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
Urban Building Cluster Analyzer
This question requires scanning a 2D array representing a city map to count clusters of a specified
UrbanPlanner: Map Rotation and Reflection
This multi-part question involves designing the UrbanPlanner class to manipulate a city map represen
Vehicle Hierarchy System
Design a vehicle hierarchy using inheritance and polymorphism. Create an abstract Vehicle class and
VehicleTracker
Design a VehicleTracker class that maintains and updates vehicle locations for logistics.
Virtual Garden Layout Analyzer
Implement a method to count the number of contiguous plant regions in a garden layout grid.
Virtual Garden Planner
This question involves developing a method for a Virtual Garden Planner to select plants based on th
Virus Spread Simulation
This question simulates the spread of a virus over a series of days. You will implement methods to p
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 involves analyzing weather temperature data. You are to implement methods to compute t
Weather Data Analyzer
Implement methods to process weather station data by sorting stations by temperature and searching f
Weather Data Processing
This question involves implementing a WeatherAnalyzer class to process daily temperature readings an
Weather Pattern Recognition
Analyze a grid representing meteorological data to detect storm patterns. Implement methods that ide
Weather Station Data Processor
This question requires you to process temperature data from a weather station using arrays. You will
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.