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 Ticket Price Calculator
This question involves calculating airline ticket prices. You will implement methods to compute the
Ant Colony Simulation
This problem simulates the movement and pheromone updating of an ant colony on a terrain grid.
Appliance Efficiency Analyzer
Design an appliance efficiency analyzer using inheritance. Create an abstract Appliance class with a
ArrayUtilities Class
This question involves designing an ArrayUtilities utility class for performing operations on intege
Art Exhibit
This question asks you to design an ArtExhibit class to represent an art exhibition show.
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Account
This question requires you to design a BankAccount class that models a simple bank account.
Bank Account Fee Calculator
Develop a bank account fee calculator using inheritance. Create an abstract BankAccount class with a
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 Strategy Grid
This question involves determining line-of-sight on a battlefield grid to decide if a unit can attac
Battleship Navigation
This problem involves simulating the navigation of a battleship through an ocean grid with obstacles
Bike Sharing System
This question simulates a bike-sharing system. The BikeShare class maintains a HashMap to track the
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 Organizer
This question involves managing a book collection using an ArrayList. You will implement methods to
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 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 Class Design
Implement the Car class as described above.
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
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
City Public Library Reservation System
Implement the sortReservationsByUserId and searchReservationByUserId methods in the LibraryReservati
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.
Container Shipping Scheduler
This question simulates scheduling container shipments in a logistics system. The ShippingScheduler
Contest Ranking System
Implement the sortScoresDescending and findTopTwoScores methods in the ContestRanker class.
Course Enrollment Sorter
Develop methods to sort courses by enrollment numbers using selection sort and merge sort.
CreditCardFormatter Utility Class
Implement the CreditCardFormatter class as described below.
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
Cuisine Dish Preparation Hierarchy
Design a class hierarchy for cuisine dish preparation.
Data Encryption Simulator
This question simulates a simple data encryption system using a Caesar cipher. You will implement me
DataEncryption Utility Class
Implement the DataEncryption class as described below.
DataFormatter Utility Class
Implement the DataFormatter class as described below.
Digital Art Transformer
This question involves transforming a digital art image represented as a 2D array of grayscale pixel
Digital 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
DigitalArt: Invert Colors
This question involves designing the DigitalArt class to invert the colors of a grayscale image. Imp
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-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
ECommerceOrderTracker
Design an ECommerceOrderTracker class that manages orders and tracks their statuses.
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
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
Employee Class Design
Implement the Employee class as described above.
Employee Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
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
EnergyConsumption
Design an EnergyConsumption class that records daily energy usage and computes consumption statistic
Environmental Sensor Data Analyzer
Implement the sortReadings and findFirstOutlier methods in the SensorDataAnalyzer class.
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 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
EventTicketing
Design an EventTicketing class that manages events and tracks ticket sales.
Farm Field Irrigation
This question involves managing a farm field's moisture levels represented as a 2D array. Implement
FileProcessor Utility Class
Implement the FileProcessor class as described below.
FileStatistics Class
This question involves designing a FileStatistics utility class for computing statistical informatio
Financial Transaction Processor
Implement the sortTransactionsById and searchTransactionById methods in the TransactionProcessor cla
Fitness Tracker
This question involves designing a FitnessTracker class to record and analyze workout sessions.
Fitness Tracker
This question asks you to design a FitnessTracker class to represent the data collected by a wearabl
Fitness Tracker Data
Create a Fitness Tracker Data analyzer to compute minimum steps and summary statistics.
Fitness Tracker Data Analysis
This question simulates analyzing daily step count data from a fitness tracker. The FitnessTracker c
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 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
Floor Plan Transformer
Develop methods in the FloorPlanEditor class to rotate a floor plan 90 degrees and mirror it horizon
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
GameBoardMirror: Invert Puzzle Board
This question involves designing the GameBoard class for a sliding puzzle game. Implement the mirror
Gaming Leaderboard Management
This FRQ involves managing a gaming leaderboard. You will implement methods to sort player scores in
Garden Layout Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
Garden Plant Height Analysis
The GardenAnalyzer class manages a 2D array representing the heights of plants in a garden. Implemen
Garden Plot Watering Scheduler
This question involves managing a garden plot represented as a 2D array. Implement methods in the Ga
Gardening Tool Hierarchy
Design a class hierarchy for gardening tools.
GeometryHelper Utility Class
Implement the GeometryHelper class as described below.
GeometryUtil Class
This question involves designing a GeometryUtil utility class that calculates areas of common geomet
GPS Navigation Assistant
This question simulates a GPS navigation assistant. The NavigationSystem class computes distances be
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
Grid Explorer Simulation
This problem simulates an explorer navigating an island grid with treasures, obstacles, and varied t
Heat Map Cluster Detector
Implement methods to analyze a heat map grid. Determine if a cell is hot and compute the largest con
Hospital Floor Navigator
This question involves navigating the complex layout of a hospital floor represented as a 2D grid. Y
Hospital Patient Record Management
This FRQ involves processing patient waiting times in a hospital. You will implement methods to sort
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
House Listing
This question asks you to design a House class to model real estate listings.
Image Flipper
Develop methods in the ImageEditor class to flip an image horizontally and vertically.
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
Manage an inventory by removing expired items and computing the total value of the remaining stock.
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
Labyrinth Diagonal Pathfinder
This question focuses on diagonal traversal of a 2D array representing a labyrinth. Implement method
Leaderboard Manager
Design a Leaderboard class that dynamically manages player scores and rankings.
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 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 Floor Navigation
In this question, you will analyze a library floor plan represented as a 2D array. Implement methods
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 Navigation Assistant
This question involves assisting with navigating a library, whose layout is represented as a 2D grid
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
Logistics Delivery Routing
This question involves optimizing logistics delivery routes. You will implement methods to sort deli
MathUtilities Utility Class
Implement the MathUtilities class as described below.
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
Maze Solver
This question involves designing a MazeSolver class that finds a path through a maze represented by
Medical Image Processor
Design methods for processing medical images by enhancing contrast and detecting anomalies.
MedicalImage: Contrast Enhancement
This question involves designing the MedicalImage class to perform contrast enhancement on a graysca
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 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 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 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 Simulator
This question involves developing a method to simulate a music playlist using an ArrayList. You will
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.
Ocean Floor Depth Mapping
The DepthMapper class records ocean floor depths in a 2D double array. Implement methods to determin
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.
Office Temperature Monitor
Implement a method to detect potential hot zones in an office by scanning for 2x2 submatrices where
Online Course Enrollment
This FRQ deals with managing course enrollment numbers for online classes. You will implement method
Online Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
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.
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 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.
PasswordGenerator Utility Class
Implement the PasswordGenerator class as described below.
PasswordValidator Utility Class
Implement the PasswordValidator class as described below.
Personal Finance Calculator
This question involves implementing a FinanceCalculator class to compute monthly interest and cumula
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
PolynomialEvaluator Utility Class
Implement the PolynomialEvaluator class as described below.
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
Product Review Analyzer
This question involves analyzing product reviews by sorting them based on ratings. You will complete
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.
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 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 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 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.
Retail Store Sales Matrix Analysis
The SalesAnalyzer class manages sales data in a retail store using a 2D integer array, where each ro
Robot Controller
This question involves designing a RobotController class to simulate a robot navigating a grid-based
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
Sea Temperature Analyzer
This question requires scanning a 2D float array representing sea surface temperatures to locate a h
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.
Shape Area Calculator
Develop a shape hierarchy using inheritance. Create an abstract Shape class with an abstract method
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 Sensor Data Manager
This question involves managing sensor data in a smart home system. You will implement methods to so
Soccer Field Tactics Simulator
This question involves determining if a clear path exists between two points on a soccer field repre
Social Media Analytics
This FRQ centers on social media post analytics. You will implement methods to sort post 'like' coun
Social Media Feed Analyzer
This question involves developing a SocialMediaFeedAnalyzer class that processes an array of like co
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
This question examines the analysis of social media posts for specific hashtags. The PostAnalyzer cl
Social Media Post Analyzer
Determine the index of the most liked social media post from an array of like counts.
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post 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
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
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 Analyzer
This question involves designing a MarketAnalyzer class that processes daily stock prices and uses s
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.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
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.
Sudoku Validator
This question requires you to validate rows and columns in a Sudoku board represented as a 2D array.
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.
Temperature Grid Analysis
This question involves analyzing a 2D array of temperature readings from various sensors. Complete t
Terrain Elevation Map
This question involves analyzing a terrain elevation map stored as a 2D array. Implement methods in
Terrain Map Editor
Implement methods to process a terrain map represented as a 2D array by flipping it vertically and s
Ticket Booking System
This question simulates a seat booking system for events. The TicketBooking class manages a two-dime
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 Accident Analyzer
This question involves implementing an AccidentAnalyzer class to process accident reports and comput
Traffic Congestion Hotspot
Detect traffic congestion hotspots in a city grid by analyzing submatrix averages.
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 Flow Analyzer
This question involves developing a TrafficFlowAnalyzer class to evaluate traffic data collected by
Traffic Flow Analyzer
This FRQ involves analyzing traffic data by managing vehicle count numbers. You will implement metho
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 Pattern Analyzer
Implement methods to process a traffic video frame by flipping it horizontally and detecting traffic
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.
Underwater Volcano Detector
This question requires scanning a 2D array representing ocean floor elevation to identify volcano pe
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
Vehicle Hierarchy
Design a class hierarchy for vehicles.
Vehicle Hierarchy System
Design a vehicle hierarchy using inheritance and polymorphism. Create an abstract Vehicle class and
VideoGame Class Design
Implement the VideoGame class as described above.
Virtual Garden Planner
This question involves developing a method for a Virtual Garden Planner to select plants based on th
Warehouse Inventory Manager
Develop a Warehouse Inventory Manager to remove out-of-stock items and compute the average stock lev
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 Analysis
This question involves analyzing weather temperature data using sliding window techniques. You will
Weather Data Analyzer
Implement methods to process weather station data by sorting stations by temperature and searching f
Weather Data Analyzer
This question involves analyzing weather temperature data. You are to implement methods to compute t
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
Weather Forecast Hierarchy
Design a class hierarchy for weather forecasts.
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.
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.